@Saif Thanks for your patience on this, I have checked with Azure Communication Engineering and sharing the below.
Currently ACS does not have any way to check whether the teams meeting has started or not and also how many participants in the call who has joined before you.
Alternatively, you achieve this using change notification in Microsoft Graph API as explained below.
1.Can we check if the "Teams" meeting has been started already?
A: You can use Change notifications in Microsoft Graph enable you to subscribe to call started/ended and call roster updates for Microsoft Teams online meetings.
- CallStarted - Occurs when the meeting call has started.
- CallEnded - Occurs when the meeting call has ended.
- CallRosterUpdate - Occurs when a participant joins or exits the meeting call.
Refer to this documentation for more information about Event Notification types.
2.Check if anyone is in the "Teams" meeting room before we join the meeting? or if the meeting has started and number of people in the call before I even join?
A: We don't have any direct solution for this, You can register webhook and do the counting based on CallRosterUpdated events, but there is not API that will give you the list of participants in the call/number of participants in the ongoing event.
Feel free to reach back to me if you have any further questions on this.