首页 文章

Microsoft Graph是否已经处理Azure AD B2C用户CRUD?

提问于
浏览
3

Microsoft Graph是否已具有Azure AD B2C用户CRUD的功能?

我发现了这些相关的SO问题:

但两者都有2017年的答案,所以我想知道微软是否已经有我不知道的更新 . 我仍然没有找到我的搜索 .

以下是我到目前为止发现的链接,这些链接似乎相互冲突(其他问题中也提到了一些链接) .

(D) 中,它似乎为用户CRUD提供了选项,但我不确定它是仅适用于Azure AD而不适用于Azure AD B2C .

任何帮助表示赞赏 . 谢谢!


A. Azure AD B2C: Use the Azure AD Graph API (Date: 08/07/2017) https://docs.microsoft.com/en-us/azure/active-directory-b2c/active-directory-b2c-devquickstarts-graph-dotnet
它说:您必须使用Azure AD Graph API来管理Azure AD B2C目录中的用户 . 这与Microsoft Graph API不同 . 了解更多here .

B. Operations on users | Graph API reference (Last Updated: 2/12/2018) https://msdn.microsoft.com/en-us/library/azure/ad/graph/api/users-operations
它说:我们强烈建议您使用Microsoft Graph而不是Azure AD Graph API来访问Azure Active Directory资源 . 我们的开发工作现在集中在Microsoft Graph上,并且Azure AD Graph API没有进一步的增强功能 . Azure AD Graph API可能仍然适用的场景非常有限;有关详细信息,请参阅Office开发人员中心的Microsoft Graph or the Azure AD Graph博客文章 .

C. Microsoft Graph or Azure AD Graph (Date: July 8, 2016) https://blogs.msdn.microsoft.com/aadgraphteam/2016/07/08/microsoft-graph-or-azure-ad-graph/

它说:一般情况下,我们建议使用Microsoft Graph over Azure AD Graph,因为Microsoft Graph是我们为Microsoft Cloud 服务投资的地方 .

但是,它在底部说:AAD Graph Capability | Microsoft Graph中的状态(2018年3月23日)12 . 管理B2C租户中的用户(设置本地帐户,登录名称)即将推出(预览)

D. Microsoft Graph: User resource type https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/resources/user

它列出了创建,更新和删除用户的选项 .

1 回答

  • 4

    这有点模棱两可,但我相信从the Azure AD B2C documentation可以清楚地知道"you must use the Azure AD Graph API to manage users in an Azure AD B2C directory" .

    例如,根据the Microsoft Graph API documentation,您无法在具有登录名的Azure AD B2C目录中创建本地帐户 .

    我还遇到过使用Microsoft Graph API为Azure AD B2C目录中的用户获取和设置一些属性(包括任何扩展属性)的问题 .

相关问题