title: Code : 7505 ,Error - Request Authorization Tenant Mismatch
body: <p>It seems it is the common issue with all but there is no actual solution for anyone. Sometimes it work and some it gives. I am using the Eample 3 in the call create documentation of MS.
  I am using BOT registration APP create for the call and below are the <strong><a href="https://graph.microsoft.com/beta/communications/calls" rel="nofollow noreferrer">https://graph.microsoft.com/beta/communications/calls</a></strong></p>
  <p><strong>NOTE</strong> v1.0 is also tested instead of beta.</p>
  <pre class="lang-js prettyprint-override"><code>    const client = await getApplicationClient(accessToken); // Application Token and not access token for API
  const call = 
      {
          &quot;@odata.type&quot;: &quot;#microsoft.graph.call&quot;,
          &quot;direction&quot;: &quot;outgoing&quot;,
          &quot;subject&quot;: &quot;Call for Expert from Helpaas User&quot;,
          callbackUri: 'https://api.helpaas.com/v1/api/users/handleCallCallback',
           &quot;source&quot;: {
            &quot;@odata.type&quot;: &quot;#microsoft.graph.participantInfo&quot;,
            &quot;identity&quot;: {
              &quot;@odata.type&quot;: &quot;#microsoft.graph.identitySet&quot;,
              &quot;application&quot;: {
                &quot;@odata.type&quot;: &quot;#microsoft.graph.identity&quot;,
                &quot;displayName&quot;: &quot;TestBot&quot;,
                &quot;id&quot;: &quot;71cf3107-2dc5-4385-8ac9-1aa686c25fb1&quot;
              }
            }
          },
          &quot;targets&quot;: [
            {
              &quot;@odata.type&quot;: &quot;#microsoft.graph.invitationParticipantInfo&quot;,
              &quot;identity&quot;: {
                &quot;@odata.type&quot;: &quot;#microsoft.graph.identitySet&quot;,
                &quot;user&quot;: {
                  &quot;@odata.type&quot;: &quot;#microsoft.graph.identity&quot;,
                      id: id.AAD_UserGuid,
                      displayName : id.DisplayName,
                      //&quot;tenantId&quot;: &quot;xxxxxxxxxxxxxxxxxx-f07acdb7cb58&quot; Also tried to pass tenant id in usesr identity but not working
                }
              }
            }
          ],
          &quot;requestedModalities&quot;: [
            &quot;audio&quot;
          ],
          &quot;mediaConfig&quot;: {
            &quot;@odata.type&quot;: &quot;#microsoft.graph.serviceHostedMediaConfig&quot;,
            &quot;removeFromDefaultAudioGroup&quot;: false
          },
          &quot;tenantId&quot;: &quot;xxxxxxxxxxxxxxxxxx-f07acdb7cb58&quot;
        }
  
   const response = client.api(`/communications/calls`)
        .post(call);
        response.then(call=&gt;{
            console.log(&quot;Call data---&gt;&gt; CAll &quot;,call)
            // call.on
        }).catch(err=&gt;{
            console.log(&quot;Eroor getting call data&quot;,err)
        })
  return response;
  
  </code></pre>
  <p><strong>PAYLOAD</strong></p>
  <pre class="lang-js prettyprint-override"><code>{
  &quot;@odata.type&quot;:&quot;#microsoft.graph.call&quot;,
  &quot;callbackUri&quot;:&quot;https://api.helpaas.com/v1/api/users/handleCallCallback&quot;,
  &quot;targets&quot;:[{&quot;@odata.type&quot;:&quot;#microsoft.graph.invitationParticipantInfo&quot;,&quot;identity&quot;:{&quot;@odata.type&quot;:&quot;#microsoft.graph.identitySet&quot;,&quot;user&quot;:{&quot;@odata.type&quot;:&quot;#microsoft.graph.identity&quot;,
  &quot;id&quot;:&quot;35128F4A-57C7-4279-A080-50D3D7F11547&quot;,
  &quot;displayName&quot;:&quot;Uwe Gieb (Privat)&quot;,
  &quot;tenantId&quot;:&quot;1b5002d5-a18c-4575-858e-f07acdb7cb58&quot;
  }
  }
  }],
  &quot;requestedModalities&quot;:[&quot;audio&quot;],
  &quot;allowConversationWithoutHost&quot;:true,
  &quot;mediaConfig&quot;:{&quot;@odata.type&quot;:&quot;#microsoft.graph.serviceHostedMediaConfig&quot;},
  &quot;tenantId&quot;:&quot;1b5002d5-a18c-4575-858e-f07acdb7cb58&quot;
  }
  </code></pre>
  <p><strong>Error I am getting</strong></p>
  <pre><code>code: &quot;7505&quot;
  innerError: {date: &quot;2022-04-01T03:34:29&quot;, request-id: &quot;27ea87b6-e819-4810-9d4d-e34e890b2b90&quot;,…}
  client-request-id: &quot;e3e060b3-69bc-1556-fe95-02ba91363b72&quot;
  date: &quot;2022-04-01T03:34:29&quot;
  request-id: &quot;27ea87b6-e819-4810-9d4d-e34e890b2b90&quot;
  message: &quot;Request authorization tenant mismatch.&quot;
  </code></pre>
  <p>Extra Information reagrding configuration are below:
  <strong>BOT CONFIGURATION</strong>
  1.MS APP ID is same as of the app registration.
  2. Tenant ID is also same.</p>
  <p><a href="https://i.stack.imgur.com/LsbPM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LsbPM.png" alt="enter image description here" /></a></p>
  <p><strong>CHANNELS</strong>
  Just want to use teams for calling through graph api i.e &quot;communication/calls&quot; to a teams user.</p>
  <p><a href="https://i.stack.imgur.com/TfPaQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TfPaQ.png" alt="enter image description here" /></a></p>
  <p><strong>PERMISSIONS</strong>
  <a href="https://i.stack.imgur.com/8qiul.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8qiul.png" alt="enter image description here" /></a></p>
  <p>I passed the tenant ID at root level and also tried support team but nothing is working. If anyone can help me out it would really appreciating thing.</p>
  <p>**NOTE : **Earlier it was working fine with the tenant used in the testing environment. With the production tenant it's not working at all.
  Thanks in advance.</p>