0

I have developed an ASP.NET MVC5 app for Office365 using latest update of the Office 365 API Tools for Visual Studio. The app works fine with my own development Office365 site.

I understand that Visual Studio has registered the app in my Active Directory for me. What I don't understand is how I am supposed to allow my customers to use this app with theirs Office 365 installations.

Somehow they are supposed to register the app in their Active Directory - that is the step I don't know how to explain to them.

Is there an automated way to provision the app registration to a customer's Active Directory?

The same way Visual Studio did it when I started the development? How did it do that? Through what kind of API?

4

1 回答 1

0

您需要将 Azure AD 中的应用设置为多租户。您可以通过 Azure 管理门户执行此操作。(应用程序 > [您的目录] > 应用程序 > [您的应用程序] > 配置)。

一旦应用程序是多租户的,您的客户就可以导航到应用程序并登录以触发通用同意流程。假设您的客户具有同意并允许应用访问其数据所需的权限,则客户将能够通过其 Office 365 订阅使用该应用。

于 2014-10-21T02:21:35.937 回答