0

我有一个node.js应用程序,我将其部署到Azure WebApp。我没有自定义域名,所以我使用myapp.azurewebsites.net。 我也创建了AAD,名为mycompany.onmicrosoft.com。 在这里,我注册了我的应用程序的App ID Uri https://myapp.azurewebsites.net。 现在我有一个客户,它有自己的AAD。我想授予我的客户与他的AAD访问此应用程序。 所以我试图按照一些教程,但我已经失败,试图将“多租户”设置为“开”,因为我得到这个错误:The App ID URI is not available. The App ID URI must be from a verified domain within your organization's directory. 那么我怎样才能打开我的应用程序的多租户?它有可能吗?多租户Web应用程序:未验证的域

回答

2

正如@BrunoMedina说,经过验证的域名多租户web应用的要求。

您可以参考文档How to: Make my Azure web application multi tenant按照解释这样做。

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.

在Azure上老门户网站,你可以在标签应用程序的临时用户CONFIGURE在AAD域找到这两个键设置Application is multi-tenant & App ID URI以下。

图1.设置Application is multi-tenant enter image description here

图2.设置App ID URI enter image description here

+0

谢谢你,explaines如何打开多租户。但是,应用程序ID Uri将是'something.onmicrosoft.com',而我的应用程序托管在'something.azurewebsites.net'下。这会工作吗? – Munchkin

+0

@Munchkin没关系。通常,我们在开发中使用'localhost'作为APP ID URI。 –