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

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.