Correct Graph API to manage Azure AD B2C

◇◆丶佛笑我妖孽 提交于 2019-12-08 02:22:08

问题


Am I misinterpreting this -- see image?

I go to documentation for managing Azure AD B2C, it tells me to use Azure AD Graph API, not Microsoft Graph API.

Then I click the link to go to Azure AD Graph API, it tells me to use the Microsoft Graph API, not the Azure AD Graph API.

Two questions:

  1. What do I use to manage users in Azure AD B2C? Microsoft Graph API or Azure AD Graph API?
  2. What's the easiest and most painless way to interact with the Graph API I should be using -- based on your answer to question #1? Can I use a tool like Postman? If I'm not mistaken, these are RESTful APIs.

回答1:


What do I use to manage users in Azure AD B2C? Microsoft Graph API or Azure AD Graph API?

As the document noted, you must use Azure AD Graph API. Azure AD Graph API can manage users in a B2C tenant (set local accounts, sign in names), but Microsoft Graph API cannot do this for now. Although Microsoft Graph closing the gap with Azure AD Graph, but it still cannot have some capabilities as Azure AD Graph API.

What's the easiest and most painless way to interact with the Graph API I should be using -- based on your answer to question #1? Can I use a tool like Postman? If I'm not mistaken, these are RESTful APIs.

Absolutely, you can just use Azure AD Graph API for Azure AD B2C for now.

By the way, if you want to know which API is more fit for Azure AD. It's hard to say. Sometimes it depends on what scenario you're in. There is a sheet of Gaps between Microsoft Graph and Azure AD Graph:

Both two type APIs can be used in Postman.

Fore more details about Microsoft Graph or the Azure AD Graph , you can refer to this Blog.



来源:https://stackoverflow.com/questions/47806415/correct-graph-api-to-manage-azure-ad-b2c

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!