【发布时间】:2020-04-10 18:44:25
【问题描述】:
我要达到的目标的一般概述
我正在尝试构建一个 Azure AD 多租户 Web 应用程序,该应用程序允许我使用 Azure 资源管理器 (ARM) API 管理客户订阅/租户中的资源。我对 Azure AD 多租户很陌生。
理想的控制流程
1. A customer browses the Applications (ideal an admin of the customer tenant)
2. Will be granted with Azure AD authorize flow
3. Accepts everything and grants admin consent for the AD App in their tenant
4. Unclear: The AD App will be granted contributer access on a subscription or resource
5. My Web App will be able to use the AD App credentials to manage the customer resources using the ARM APIs
问题
第 1-3、5 步:很清楚,我知道如何构建。
第 4 步:我不确定如何构建步骤自动发生。
我考虑过的解决方案
最坏的情况是客户 AD 管理员必须使用 Azure 门户手动授予 AD 应用访问订阅或资源的权限。
【问题讨论】:
标签: azure azure-active-directory multi-tenant