我无法通过GET/users/{oid}图形api读取Azure AD B2C自定义用户属性。无法从/ users/{oid}图形api读取用户自定义属性
卷曲https://graph.windows.net/VishOrganizationB2CTenant.onmicrosoft.com/users/4a70b88f-2aa9-456c-b8e3-680bbd1bbf9f?api-version=1.6 -H“授权:承载eyJ0eXAiOiJKV1QiLCJhbGci ......”
以上卷曲调用不会在响应中返回的自定义用户属性(一个或多个),但我得到的内置用户在响应属性。
我甚至尝试这样的:
卷曲https://graph.windows.net/VishOrganizationB2CTenant.onmicrosoft.com/users/4a70b88f-2aa9-456c-b8e3-680bbd1bbf9f/extension_box_appuser_id?api-version=1.6 -H “授权:承载eyJ0eXAiOiJKV1QiLCJhbGci ......”
这将返回错误信息:
{ “odata.error”:{“代码“:”Request_ResourceNotFound“,”message“:{”lang“:”en“,”value“:”资源'extension_box_appuser_id'不存在或其查询的参考属性对象之一不存在。“}}}
'box_appuser_id'是自定义用户属性I已加入Azure AD B2C租户。
有人能指导我什么,我在这里失踪?
感谢, Vish