Is there a way to start a Teams or PTSN call from Azure Monitor alerts? If so, what is the preferred method?

Mikko Koskinen 5 Reputation points
2023-03-22T15:02:53.2966667+00:00

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.

Azure alerts calling functionality diagram

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?
Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,033 questions
Azure Communication Services
Azure Communication Services
An Azure communication platform for deploying applications across devices and platforms.
675 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,521 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
2,826 questions
{count} vote

1 answer

Sort by: Most helpful
  1. Mikko Koskinen 5 Reputation points
    2023-04-06T11:02:20.1766667+00:00

    Thank you for you response, I will do that.

    0 comments No comments