Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Azure Active Directory | Multi-tenant Application

Is there a way of restrict to certain tenants when using multi-tenant applications on Azure AD?

Maybe I misunderstood the whole thing but I realize that a user of another tenant can log in into my application after giving consent and I couldn't find a way to restrict that login to a group of tenants I trust.

like image 479
Rodrigo Longo Avatar asked Mar 18 '15 20:03

Rodrigo Longo


1 Answers

We don't currently have an application configuration property that maps to a tenant allow list for a multi-tenant app.

What you can do is build this capability into your application - the auth/JWT token contains the tenantID (tid) as a claim. You can authorize access only for known tenants in your app's allow list.

Please let us know if this is a feature that you want to be able to configure through an application configuration page (like in the azure management portal)? Also it would be great to understand your scenario here.

Hope this helps,

like image 138
Dan Kershaw - MSFT Avatar answered Sep 29 '22 12:09

Dan Kershaw - MSFT