Search code examples
microsoft-teamsteams-toolkit

Microsoft Teams Toolkit - Support for Multitenant Teams App


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: enter image description here

and when I am querying for Graph Token, I get CORS Issue: enter image description here

Let me know what should be my next step.


Solution

  • 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.