Forum Discussion
Issues with Bot-to-Bot Calls and Call Status Retrieval in Microsoft Teams - Issue 2
I am currently developing a bot-to-bot VOIP call feature using Microsoft Teams and have encountered critical issues that I need assistance with: Please suggest
We have registered 2 bots in the same tenant with separate APP Registrations, As per the documentation sending a body to initiate VOIP calls between the bots however it is not working and getting the below error.
When trying to make bot-to-bot calls, I consistently receive a "Request authorization tenant mismatch" error, despite both bots being registered under the same tenant.
Steps to Reproduce:
- Register two bots in the same Azure tenant.
- Use the Microsoft Graph API to initiate a call from one bot to the other.
- Observe the error response.
https://graph.microsoft.com/v1.0/communications/calls?Content-Type=application/json
Error Message:
- Nivedipa-MSFTMicrosoftallabashashaik - Thanks for reporting your issue. We will check and share the updates with you.
- allabashashaikCopper ContributorSure. Kindly check and help us with your suggestions as we are unable to move forward with the development.
- Nivedipa-MSFTMicrosoft
allabashashaik - Could you please verify that the
tenantId
parameter is correctly set for both the source and target bots. This parameter should match the tenant ID of the registered bots?
The error message "Request authorization tenant mismatch" typically indicates that the tenant ID provided in the API call does not match the tenant ID of the registered bots. Double-check the API request body to ensure all IDs are correctly specified.