简体   繁体   English

使用图谱API访问Azure AD B2C应用程序

[英]Accessing Azure AD B2C Applications using Graph API

In an Azure Active Directory B2C Tenant, you have the possibility to create applications that are linked to your tenant. 在Azure Active Directory B2C租户中,您可以创建链接到租户的应用程序。

应用领域

It is possible to access you're tenant's objects using Microsoft Graph API. 使用Microsoft Graph API可以访问您的租户对象。

My question is how can i access (read, create update delete) AD B2C applications using Microsoft Graph API (or Microsoft.Graph nuget package)? 我的问题是如何使用Microsoft Graph API(或Microsoft.Graph nuget包)访问(读取,创建更新删除)AD B2C应用程序?

Many thanks in advance for your help. 在此先感谢您的帮助。

You could refer to this document for how to use Azure AD Graph API in Azure AD B2C . 您可以参考本文档 ,了解如何在Azure AD B2C中使用Azure AD Graph API。 But refer to feedback , currently it seems doesn't support accessing AD B2C application object programmatically . 但请参考反馈 ,目前看来不支持以编程方式访问AD B2C应用程序对象。

The applications that are created through Azure AD B2C admin UI are the same as those used by Azure AD v2.0 endpoint . 通过Azure AD B2C管理员UI创建的应用程序与Azure AD v2.0终结点使用的应用程序相同。 These applications cannot yet be created or modified through the Graph API, but you can read and/or search them (using $filter queries) like any other applications with Graph API (eg by using the .../applications endpoint in AD Graph API). 这些应用程序尚无法通过Graph API创建或修改,但是您可以像使用Graph API的任何其他应用程序一样(例如,通过使用AD Graph API中的... / applications端点)来读取和/或搜索(使用$ filter查询)它们。 )。

Graph API is expected to provide complete CRUD operations in the future, but currently, there is no ETA. Graph API有望在将来提供完整的CRUD操作,但是目前尚无ETA。

For those of us that must do this with Java, I've been working (well, trying to work) on an api for doing this: 对于那些必须使用Java做到这一点的人,我一直在(可以尝试)使用api来做到这一点:

https://github.com/Xitikit/xitikit-blue https://github.com/Xitikit/xitikit-blue

Although I'm not sure if you are using Java, this might still help you understand some of the things you may need as well. 尽管我不确定您是否使用Java,但这仍然可以帮助您了解一些您可能需要的东西。

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

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