Microsoft Graph Batch API fails when sending request within the allowed API Limit
I am currently working on a project where I need to send messages to over 20+ users individually on Microsoft Teams using the Microsoft Graph Batch API [https://graph.microsoft.com/v1.0/$batch]. The Microsoft Graph API to send chat messages to individual users is limited to 20 request per second as per the Microsoft Documentation. Therefore, I created a batch payload of 20 users and used the Microsoft Graph Batch API for sending message to those individual users.
After creating a team, why TeamsAsyncOperation stays with status “notStarted” forever?
I create a new Team using POST to https://graph.microsoft.com/v1.0/teams.
I expect TeamsAsyncOperation to complete with status “succeeded” but instead it stays with status “notStarted” but the Team is really created.