I'm working with an alerting system and need to send API requests to Azure in order to trigger an Azure action group. I've looked through the documentation but I'm a bit lost on what I need to do for API permissions. Should I be using Graph or something else? While I can successfully use curl to obtain a token from the App registration, I'm not sure if it has the right permissions. Can anyone guide me through the steps I need to follow to trigger the action group?
**UPDATE**: We've decided to switch approaches and are now using Azure alerts to monitor the Azure logs of the pod, which will then trigger the action group from there.
1 Answer
You might want to consider using an Azure function to accomplish this. You can call the function's endpoint, and from there, the function can trigger the action group for you.
Is it possible to have the App registration communicate directly with the action group? Like, is there no API that allows for remote triggering of action groups?