首页 > 解决方案 > Microsoft Graph 查询中的不同值

问题描述

我想列出 Microsoft Graph (graph.microsoft.com) 中的所有部门名称。我想这样做的唯一方法是通过用户列表,如果我错了,请纠正我。

所以我的问题是,有没有办法查询用户的部门和部门的不同值?

This code does not work, but just to you an idea of where I want: 

https://graph.microsoft.com/v1.0/users?$Select=Department&$Distinct(Department)

标签: microsoft-graph-api

解决方案


推荐阅读