哪个图形 API 应与 Azure AD B2C 一起使用 [英] Which Graph API should be used with Azure AD B2C

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

问题描述

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

这个问题讨论了 MSAL 和 ADAL 库之间的区别:MSAL 或 ADAL 库用于 Azure AD B2C 和 Xamarin.

除此之外,还有 现在是一个警告 在 Azure AD Graph API 参考上改为使用 Microsoft Graph API.B2C 的示例似乎都没有使用 Microsoft Graph API,并且似乎没有描述 B2C 对 Microsoft Graph 的支持级别.

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

用于与 Azure AD B2C 交互的正确包是什么?是否有示例说明如何做到这一点?

解决方案

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

Azure ADB2C:使用图形 API

如果您阅读了这篇文章,您可以详细了解 AAD 和 Microsoft Graph API 之间的差距:https://dev.office.com/blogs/microsoft-graph-or-azure-ad-graph

表格最后一行写着:

<块引用>

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

即将推出(预览版)

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

如果这有帮助,请告诉我!

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.

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

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.

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

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

解决方案

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: Use the Graph API

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

The bottom line in the table states:

  1. Manage users in B2C tenant (set local accounts, sign in names)

Coming soon (preview)

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!

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

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