正确的Graph API来管理Azure AD B2C [英] Correct Graph API to manage Azure AD B2C

查看:116
本文介绍了正确的Graph API来管理Azure AD B2C的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我误解了吗-看到图片了吗?

Am I misinterpreting this -- see image?

我去管理Azure AD B2C的文档,它告诉我使用Azure AD Graph API,不是 Microsoft Graph API.

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

然后,我单击链接转到Azure AD Graph API,它告诉我使用Microsoft Graph API,不是 Azure AD 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.

两个问题:

  1. 如何使用Azure AD B2C管理用户?是Microsoft Graph API还是Azure AD Graph API?
  2. 根据您对问题1的回答,最简单,最轻松的与Graph API交互的方法是什么?我可以使用Postman之类的工具吗?如果我没记错的话,这些都是RESTful API.

推荐答案

我如何使用Azure AD B2C管理用户? Microsoft Graph API或 Azure AD Graph API?

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

如文档所述,您必须使用Azure AD Graph API . Azure AD Graph API可以管理B2C租户中的用户(设置本地帐户,登录名称),但是Microsoft Graph API目前无法执行此操作.尽管Microsoft Graph与Azure AD Graph缩小了差距,但它仍然不能像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.

与Graph交互的最简单,最轻松的方法是什么 我应该使用的API是-根据您对问题1的回答?我可以吗 使用像邮递员这样的工具?如果我没记错的话,它们就是RESTful 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.

当然,您现在只能将Azure AD Graph API用于Azure AD B2C.

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

顺便说一句,如果您想知道哪种API更适合Azure AD.很难说.有时,这取决于您所处的场景.MicrosoftGraph和Azure AD Graph之间存在空白:

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:

Postman中可以使用两种类型的API.

Both two type APIs can be used in Postman.

有关Microsoft Graph或Azure AD Graph的更多详细信息,可以参考

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

这篇关于正确的Graph API来管理Azure AD B2C的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆