如何访问Azure AD用户配置文件上的源属性? [英] How to access Source Property on Azure AD user profile?

查看:78
本文介绍了如何访问Azure AD用户配置文件上的源属性?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Azure AD has Source property. The Graph API return user profile which does not has Source.

如何在代码中访问此属性?

推荐答案

Graph API仅返回用户模式中列出的属性( https://developer.microsoft.com/zh-CN /graph/docs/api-reference/v1.0/resources/user ). 该架构确定Graph API为用户看到的属性.如果它不是列出的属性之一,那么我们不会通过Graph API为用户返回此属性.您可以添加自定义数据,但是必须自己填充这些数据.
您可以留下您的反馈 在这里并赞成.您在这些论坛中分享的所有反馈将由负责构建Azure的Microsoft工程团队进行监视和审查.

The Graph API will only return the properties listed in the user's schema (https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/resources/user). The schema determines what Properties the Graph API sees for a user. If it is not one of the properties listed, then we don't return this for a user via the Graph API. You can add custom data, but, you have to populate that data on your own. 
You may leave your feedback here and upvote for the same. All the feedback you share in these forums will be monitored and reviewed by the Microsoft engineering teams responsible for building Azure.

-------------------------------------------------- -------------------------------------------

---------------------------------------------------------------------------------------------

If this answer was helpful, click "Mark as Answer" or Up-Vote. To provide additional feedback on your forum experience, click here.


这篇关于如何访问Azure AD用户配置文件上的源属性?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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