活动目录|属性编辑器-使用Microsoft Graph API获取用户属性

问题描述

我的客户在他的广告中创建了几个属性字段。

我正在尝试通过Microsoft graph API获取那些文件。 有可能吗?

这些文件在我选择后不会返回

https://graph.microsoft.com/v1.0/users?$select=XXX

如果不可能的话,还有什么选择?

谢谢

解决方法

@湿婆是对的。

您可以customize which attributes to synchronize with Azure AD

在安装Azure AD Connect期间,已注册一个应用程序 这些属性可用的位置。您可以在 Azure门户。其名称始终为 Tenant Schema Extension应用程序

这些属性的前缀为 extension_ {ApplicationId} _

然后您可以通过Microsoft Graph这样选择属性:GET https://graph.microsoft.com/beta/users/{object id}?$select=extension_{ApplicationId}_employeeID