Reputation: 135
I am developing a Teams App which have Tab and Search Message extension as a capability. The app should support multitenant scenarios, where the app will be deployed on different tenant and should be able to do some operation using Graph api. Hence I am calling a On-Behalf-user token. My request fails for these scenarios. When I tried to make Tab App registration to support Multitenant, I receive below error:
and when I am querying for Graph Token, I get CORS Issue:
Let me know what should be my next step.
Upvotes: 1
Views: 504
Reputation: 177
Please take a look at this Github Issue.
Main reason of this failure is that Azure AD requires verified domain as Application ID Uri for Multi-tenant apps.
Upvotes: 0
Reputation: 926
Please have a look at this doc, to understand Why changing to multi-tenant can fail?
Key point from doc are
Application ID URI (App ID URI)
name collisions.Application ID URI
must be globally unique so Azure AD can find the app across all tenantsUpvotes: 0