user25879
user25879

Reputation: 135

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.

Upvotes: 1

Views: 504

Answers (2)

Bowen Song
Bowen Song

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

Hunaid Hanfee-MSFT
Hunaid Hanfee-MSFT

Reputation: 926

Please have a look at this doc, to understand Why changing to multi-tenant can fail?

Key point from doc are

  1. Can sometimes fail due to Application ID URI (App ID URI) name collisions.
  2. For a multi-tenant application, Application ID URI must be globally unique so Azure AD can find the app across all tenants

Upvotes: 0

Related Questions