Thank you for you response, I will do that.
Is there a way to start a Teams or PTSN call from Azure Monitor alerts? If so, what is the preferred method?
I've been looking for ways to implement a solution that would automatically initiate a MS Teams or PTSN call (1:1 or group call) when an Azure Monitor alert is triggered.
First I checked if it would be possible to use the built-in Az Monitor PTSN functionality or Azure communications service SDK for this, but quickly realized that this is only supported in select countries and therefore would not work for my use-case.
Next I started exploring for ways of starting a Teams call using the Az Monitor alert webhook as the trigger which would request an Az Function app/app service API that would then handle the webhook requests and start the Teams call via the Graph API.
I then learned that the only way to initiate the call without including a teams user identity (as a service for example) in the process would be to use Teams Bot/Teams custom applications functionalities, but this is starting to seem like a lot of complexity for the functionality. Attached below is a screencap of the diagram I made to map out the process I explained and how I currently understand it.
My questions are:
- Is what I'm trying to achieve even possible using Azure/O365 solutions? And If so, is there a better/easier way to start and manage Teams and/or PTSN calls using an Azure Monitor alert and/or HTTP request as the trigger?
- If my solution described is usable for this purpose, is there any documentation available describing this kind of usage scenario?