Microsoft Graph 获取具有扩展属性的 AD 组成员
Microsoft Graph get AD group members with extensionattributes
Check this image 我正在尝试使用 Microsoft Graph 获取 AD 组成员扩展属性,但我无法完成这项工作。
我需要获取 AD 属性:givenName、surname、employeeID、mail、department、jobTitle、ExtensionAttribute4
在 HTTP 响应中我只得到:givenName, surname, mail, jobTitle, department
并且我已将所有必要的内容添加到 AD -> AAD 同步。
有帮助吗?
employeeID
应该改为employeeId
。而 ExtensionAttribute4
在 onPremisesExtensionAttributes
.
因此,请在您的逻辑应用中尝试以下 URL:
https://graph.microsoft.com/v1.0/groups/{group-id}/members?$select=givenName, surname, employeeId, mail, department, jobTitle, onPremisesExtensionAttributes
有关用户属性的更多详细信息,请参阅 here。
Check this image 我正在尝试使用 Microsoft Graph 获取 AD 组成员扩展属性,但我无法完成这项工作。
我需要获取 AD 属性:givenName、surname、employeeID、mail、department、jobTitle、ExtensionAttribute4
在 HTTP 响应中我只得到:givenName, surname, mail, jobTitle, department
并且我已将所有必要的内容添加到 AD -> AAD 同步。
有帮助吗?
employeeID
应该改为employeeId
。而 ExtensionAttribute4
在 onPremisesExtensionAttributes
.
因此,请在您的逻辑应用中尝试以下 URL:
https://graph.microsoft.com/v1.0/groups/{group-id}/members?$select=givenName, surname, employeeId, mail, department, jobTitle, onPremisesExtensionAttributes
有关用户属性的更多详细信息,请参阅 here。