Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Facing issue with MS teams while using Power automate feature #3306

Open
ratnakumarchukkapalli opened this issue Nov 11, 2024 · 1 comment
Open

Comments

@ratnakumarchukkapalli
Copy link

Facing issue with MS teams while using Power automate feature.

I have created Workflow and copied the webhook. I have used Microsoft Power automate feature for sending alerts [https://elastalert2.readthedocs.io/en/latest/alerts.html#microsoft-teams
feature
](https://elastalert2.readthedocs.io/en/latest/alerts.html#microsoft-power-automate)

Below is the configuration I have used for sending alerts using power automate but getting below error. Can anyone please help me to configure

alert:

elastalert.util.EAException: Error initiating alert ['ms_power_automate']: Could not import module ms_power_automate: not enough values to unpack (expected 2, got 1)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/bin/elastalert", line 8, in
sys.exit(main())
^^^^^^
File "/usr/local/lib/python3.12/site-packages/elastalert/elastalert.py", line 1916, in main
client = ElastAlerter(args)
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/elastalert/elastalert.py", line 128, in init
self.rules = self.rules_loader.load(self.conf, self.args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/elastalert/loaders.py", line 184, in load
raise EAException('Error loading file %s: %s' % (rule_file, e))
elastalert.util.EAException: Error loading file rules/exceptions.yaml: Error initiating alert ['ms_power_automate']: Could not import module ms_power_automate: not enough values to unpack (expected 2, got 1)

@ratnakumarchukkapalli
Copy link
Author

Team any help on this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant