Azure active directory 如何通过MS Graph从Azure广告中检索工作信息?

Azure active directory 如何通过MS Graph从Azure广告中检索工作信息?,azure-active-directory,microsoft-graph-api,Azure Active Directory,Microsoft Graph Api,您好,提前谢谢 我是MS Graph的新手,需要从我们的Azure广告中检索工作信息,特别是员工ID。请参见图片。我不确定GET语句是什么。我将在Power Automation中使用查询。 在Ms Graph中,您可以通过jobtitle属性找到用户的职务信息 例如, https://graph.microsoft.com/v1.0/users/{users UPN or object id} https://graph.microsoft.com/v1.0/users?$filter=(j

您好,提前谢谢 我是MS Graph的新手,需要从我们的Azure广告中检索工作信息,特别是员工ID。请参见图片。我不确定GET语句是什么。我将在Power Automation中使用查询。

在Ms Graph中,您可以通过
jobtitle
属性找到用户的职务信息

例如,

https://graph.microsoft.com/v1.0/users/{users UPN or object id}
https://graph.microsoft.com/v1.0/users?$filter=(jobtitle eq 'Sr Prog/Anal')
响应

此外,您还可以使用
filter
query检索具有特定职务的Azure广告用户

例如,

https://graph.microsoft.com/v1.0/users/{users UPN or object id}
https://graph.microsoft.com/v1.0/users?$filter=(jobtitle eq 'Sr Prog/Anal')

默认情况下,Microsoft Graph仅返回有限的属性集

但您可以使用
$select
获取其他数据:

https://graph.microsoft.com/v1.0/me?$select=员工ID、部门、职务