Graph API 可以替代 Azure 门户吗?

Can the Graph API be a substitute for the Azure Portal?

这更像是一个 'Is this possible' 问题。团队中的一位开发人员建议使用 Azure AD 进行用户管理,但其中一项要求是应用管理员能够 add/manage 通过应用程序访问用户,而无需转到 Azure 门户。

所以问题是,Graph API(或其他机制)是否功能齐全,足以取代门户(至少对于基本用户设置和管理而言)并允许从中完成所有操作应用程序 UI?

谢谢。

您的问题的简单答案是肯定的。 Graph API 可用于管理用户及其对应用程序的访问,而不是使用 Azure 门户。事实上,Azure 门户本身利用 Graph API 来执行这些操作。

如果您想通过应用程序管理对 Azure 资源的访问(基于 Azure 角色的访问控制),您可能还需要使用 Azure REST API if you're planning on managing Azure resources as well through this custom application especially Authorization APIs。