Swasti Gupta
Swasti Gupta

Reputation: 187

Multi tenant azure app not visible for other tenants

Summary: How do I make a multi tenant app available to other Azure AD tenants?

Details: I am writing a C# ASP.NET library using which I want to create subscriptions and register for change notifications. I am using Microsoft Graph API v1.0 for this operation.

I followed this documentation to obtain the access token for a service account. The first step listed in the documentation requires us to register the app on Azure AD Portal

Since I am building this app for multiple customers, I want this to be a multi tenant app. I followed this reference to register a multi tenant application, but I have a query as to how to make this app discover-able by other tenants ?

Do I need to publish it to be able to achieve this? If yes, can anyone please direct me towards any article which tells how to do that ?

Upvotes: 5

Views: 3316

Answers (1)

Tony Ju
Tony Ju

Reputation: 15609

Do I need to publish it to be able to achieve this?

No, you don't. For a multi-tenant application, the initial registration for the application lives in the Azure AD tenant used by the developer. When a user from a different tenant signs in to the application for the first time, Azure AD asks them to consent to the permissions requested by the application. If they consent, then a representation of the application called a service principal is created in the user’s tenant.

Do you mean under Enterprise applications blade of any tenant or the one where it was created ?

It will exist in any tenant once a user from that tenant signs in to the application.

Upvotes: 4

Related Questions