I am attempting to create a call using Example 3 from the documentation. I consistently get the same HTTP 403 response.
In the body of the HTTP 403 response, I get:
{
"error": {
"code": "7505",
"message": "Request authorization tenant mismatch.",
"innerError": {
"request-id": "foo",
"date": "2020-02-13T17:30:24"
}
}
}
The examples in the documentation seem to be missing a required tenantId property. Note that this property is mentioned in the documentation.
The values of authorization token, callback URL, application ID, application name, user ID, user name, and tenant ID must be replaced with actual values to make the example work.
The Example 3 from the Beta documentation, however, does seem to include this property in the request:
{
"@odata.type": "#microsoft.graph.call",
"direction": "",
"subject": "",
"callbackUri": ",
"source": {...},
"targets": [...],
"requestedModalities": [...],
"mediaConfig": {...},
"tenantId": ""
}
Adding that tenantId property seems to eliminate the error.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With