I have a node.js application which I deploy to an Azure WebApp. I have no custom domain, so I use myapp.azurewebsites.net.
I also created a AAD, called mycompany.onmicrosoft.com.
Here I registered my app with the App ID Uri https://myapp.azurewebsites.net.
Now I have a customer, which has it's own AAD. I want to grant my customer access to this app with his AAD.
So I tried to follow some tutorials, but I already failed trying to set "Multi-tenant" to "on", because I get this error: The App ID URI is not available. The App ID URI must be from a verified domain within your organization's directory.
So how can I turn on multi-tenancy for my app? Is it possible at all?
Asked
Active
Viewed 425 times
1
2 Answers
2
As @BrunoMedina said, a verified domain is a requirement for a multi-tenant webapp.
You can refer to the doc How to: Make my Azure web application multi tenant as explained to do it.
The first one is self-explanatory, but whether you can enable the multi-tenant setting depends on the second one. To be able to make the application multi-tenant your App ID URI must be in a verified custom domain.
On Azure old portal, you can find the two key settings Application is multi-tenant
& App ID URI
below at the tab CONFIGURE
of your application registed in your AAD domain.

Peter Pan
- 23,476
- 4
- 25
- 43
-
Thank you, that explaines how to turn on Multi-tenancy. But the App ID Uri will be `something.onmicrosoft.com` while my app is hosted under `something.azurewebsites.net`. Will this work? – Munchkin Mar 03 '16 at 15:14
-
@Munchkin It's OK. Usually, we used `localhost` as `APP ID URI` in development. – Peter Pan Mar 04 '16 at 02:15
1
You must have a verified domain.
Please follow up to this question:

Community
- 1
- 1

Bruno Medina
- 681
- 6
- 22