简体   繁体   English

Azure AD Graph API或Microsoft Graph API来访问Azure AD B2C租户中的用户属性

[英]Azure AD Graph API or Microsoft Graph API to access User attributes in Azure AD B2C tenant

I found lot of threads regarding this but not sure if they are still valid at this point of time ie Jun 2019 我发现了很多与此相关的线程,但不确定它们在当前时间是否仍然有效,即2019年6月

This link which was updated on Jul 2017 says You must use Azure AD Graph API'to manage users in Azure AD B2C directory 此链接已于2017年7月更新,显示您必须使用Azure AD Graph API'管理Azure AD B2C目录中的用户

在此处输入图片说明

But at the same time this link says As of February 2019, we started the process to deprecate some earlier versions of Azure Active Directory Graph API in favor of the Microsoft Graph API. 但与此同时, 此链接显示 从2019年2月开始,我们开始弃用某些早期版本的Azure Active Directory Graph API的过程,而推荐使用Microsoft Graph API。

在此处输入图片说明

I found this link which has road map for AAD Graph and Micorsoft Graph. 我发现此链接包含AAD Graph和Micorsoft Graph的路线图。 But still not clear weather we should use Microsoft Graph or Azure AD Graph for B2C tenant. 但仍不清楚天气,我们应将Microsoft GraphAzure AD Graph用于B2C租户。 I couldn't find any example how to fetch User attributes using Microsoft Graph 我找不到任何示例如何使用Microsoft Graph获取User attributes

Question

Should I still keep on using 'Azure AD Graph'if I am dealing with B2C tenant? 如果我与B2C租户打交道,是否应该继续使用“ Azure AD Graph”?

您必须使用Azure AD Graph API来管理Azure AD B2C租户中的用户,因为Microsoft Graph不支持Azure AD B2C使用的一些用户属性(包括creationType属性)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM