【问题标题】:Microsoft Graph get AD group members with extensionattributesMicrosoft Graph 获取具有扩展属性的 AD 组成员
【发布时间】:2021-08-15 10:06:56
【问题描述】:

Check this image我正在尝试使用 Microsoft Graph 获取 AD 组成员扩展属性,但我无法完成这项工作。

我需要获取 AD 属性:givenName、surname、employeeID、mail、department、jobTitle、ExtensionAttribute4

在 HTTP 响应中,我只得到:givenName、surname、mail、jobTitle、department

我已经添加了 AD 所需的一切 -> AAD 同步。

有什么帮助吗?

【问题讨论】:

  • 请分享您遇到的错误。

标签: azure active-directory azure-active-directory microsoft-graph-api azure-logic-apps


【解决方案1】:

employeeID 应更改为 employeeId。而ExtensionAttribute4onPremisesExtensionAttributes 中。

因此,请在您的逻辑应用中尝试以下 URL:

https://graph.microsoft.com/v1.0/groups/{group-id}/members?$select=givenName, surname, employeeId, mail, department, jobTitle, onPremisesExtensionAttributes

有关用户属性的更多详细信息,请参阅here

【讨论】:

    猜你喜欢
    • 2020-06-11
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-11-19
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多