Ashish
Ashish

Reputation: 2564

Authenticate multiple web applications with same Azure AD App

We have multiple slots for each web application which are authenticating users via Azure AD. Currently we are creating one Azure AD app for each slot and so if there are 4 web applications with 3 slots each, we are creating 12 Azure AD app with just change in reply url's. Is there a way we can use the same app to authenticate all web applications & slots? Either via config or code.

Upvotes: 1

Views: 2153

Answers (1)

Chris Gillum
Chris Gillum

Reputation: 15042

Yes, you can create a single Azure AD App and add a reply URL for each of your 12 slots. No other changes would be needed except to ensure each of your web app slots are configured to point to the single Azure AD app.

It's theoretically more secure to use separate Azure AD apps for each web app since there is greater isolation, but what you ask is technically possible.

Upvotes: 5

Related Questions