Request authorization tenant mismatch

Baig, Farhan Ahmed 45 Reputation points
2025-12-11T10:43:06.0666667+00:00

Code -

  const callPayload = {

    callbackUri: `${process.env.PUBLIC_URL}/media/callback`,

    requestedModalities: ["audio"],

    mediaConfig: {

      "@odata.type": "#microsoft.graph.serviceHostedMediaConfig",

      "preFetchMedia": [],

      "audio": {

        "unmixedAudio": true

      }

    },

    meetingInfo: {

      "@odata.type": "#microsoft.graph.joinMeetingIdMeetingInfo",

      meetingId: meetingId,

      tenantId: tenantId

    }

  };

await graphClient.api("/communications/calls").post(callPayload);

Access token URL- "https://login.microsoftonline.com/${tenantId}/oauth2/v2.0/token"

The tenant of meeting and the tenant of bot are same. Still, I am getting the error -

Request authorization tenant mismatch

Azure AI Bot Service
Azure AI Bot Service
An Azure service that provides an integrated environment for bot development.
{count} votes

1 answer

Sort by: Most helpful
  1. Anshika Varshney 4,425 Reputation points Microsoft External Staff Moderator
    2025-12-11T12:16:02.21+00:00

    Hi Baig, Farhan Ahmed,

    Thank you for sharing the resolution! Glad to hear the issue is now resolved. Updating the payload based on the “Example 5: Join scheduled meetings with service‑hosted media” section from the Graph API documentation was a great approach. This will definitely help others facing the same authorization/tenant mismatch error.
    (https://dori-uw-1.kuma-moon.com/en-us/graph/api/application-post-calls?view=graph-rest-1.0&tabs=javascript#request-4)
    Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful.

    Thankyou!

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.