Skip to content

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

@ratnakumarchukkapalli

Description

@ratnakumarchukkapalli

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions