Azure AD B2C应使用哪种图形API [英] Which Graph API should be used with Azure AD B2C

查看:104
本文介绍了Azure AD B2C应使用哪种图形API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在考虑在应用程序中使用Azure AD B2C,而对于使用Azure AD B2C时要使用哪个程序包,我感到困惑.

We are looking at using Azure AD B2C in an application and I am confused about which package to use when working with Azure AD B2C.

此问题讨论了MSAL和ADAL库之间的区别:

This question discusses the difference between the MSAL and ADAL library: MSAL or ADAL library for use with Azure AD B2C and Xamarin.

除此之外,现在是警告代替使用Microsoft Graph API. B2C的所有示例似乎都没有使用Microsoft Graph API,并且似乎没有对Microsoft Graph与B2C的支持程度的描述.

In addition to that, there is now a warning on the Azure AD Graph API reference to instead use the Microsoft Graph API. None of the examples for B2C seem to use Microsoft Graph API and there appears to be no description of the level of support for Microsoft Graph with B2C.

我需要能够在B2C中创建具有自定义属性的用户,然后使用Graph API查询他们.

I need to be able to create users with custom attributes in B2C and then query them using a Graph API.

用于与Azure AD B2C进行交互的正确程序包是什么,是否有示例说明如何完成此程序?

What is the correct package to use to interact with Azure AD B2C and are there examples that show how this is done?

推荐答案

从今天开始,我们建议您使用Azure Active Directory Graph API https://graph.windows.net访问和管理B2C租户.

As of today, we recommend that you use the Azure Active Directory Graph API https://graph.windows.net to access and manage your B2C tenants.

Azure AD B2C:使用Graph API

如果您阅读本文,则可以了解有关AAD与Microsoft Graph API之间的差距的更多信息: https://dev.office.com/blogs/microsoft-graph -or-azure-ad-graph

If you read this article, you can learn more about the gaps between AAD and Microsoft Graph API: https://dev.office.com/blogs/microsoft-graph-or-azure-ad-graph

该表的底行指出:

  1. 管理B2C租户中的用户(设置本地帐户,登录名称)

即将推出(预览)

本文的其余部分有望帮助人们决定今天使用哪种API.最终,一切都将使它成为Microsoft Graph的方式……这只需要一点时间.

The rest of this article should hopefully help people decide which API to use today. Ultimately, everything will make it's way to Microsoft Graph... it will just take a little time.

让我知道这是否有帮助!

Let me know if this helps!

这篇关于Azure AD B2C应使用哪种图形API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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