【发布时间】:2021-01-19 10:09:43
【问题描述】:
我在使用 Azure AD B2C 时遇到了问题,我想在创建过程中让用户使用他们的自定义属性集。一切都通过 Graph API (string url = "https://graph.microsoft.com/" + "v1.0" + apiFunction;) 完成。我使用具有自定义属性"extension_08eedadaf5f*********53e8389608e_arvatoId": "1001" 的 API 注册了用户,但是当我调用 /users 时,我没有得到这个自定义属性。我只有:
{ "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#users/$entity", "id": "40861b91-*********-b25889b0e685", "businessPhones": [], "displayName": "Nowe Testowe", "givenName": null, "jobTitle": null, "mail": null, "mobilePhone": null, "officeLocation": null, "preferredLanguage": null, "surname": null, "userPrincipalName": "NoweTestowe@*********.onmicrosoft.com" }
如何调用/users API 获取用户自定义属性值?
【问题讨论】:
-
嗯,我认为
betainsted ofv1.0解决了这个问题,现在我正在获取包括我的自定义属性在内的所有数据。
标签: azure azure-active-directory microsoft-graph-api azure-ad-b2c azure-ad-graph-api