As we all know, O365 connectors are being deprecated.
Currently, my workflow looks like this: Azure Automation creates some text, which is then output directly into a Teams channel using an O365 connectors webhook URL.
In the interest of avoiding the webhook use, I have tried both Power Automate and Teams Workflows to bridge this gap.
My changed setup is: An Azure Automation script that generates a message and sends it as a simple text payload to a Power Automate or Teams workflow via an HTTP request. The flow then tries to post the received message to the specified Teams channel.
The Power Automate version:
Despite setting up the workflow as described, I have encountered challenges in ensuring the message is posted to the Teams channel. I'm able to get "Hello World" messages being sent to the Teams channel from both Power Automate and Teams webhooks, but the automation triggering doesn't work. All the error messages I get are BadRequest.
Could anyone provide insights or recommendations on how to streamline this process or suggest alternative approaches for achieving the same goal without relying on deprecated O365 connectors?
Thanks in advance!