2017-04-10 49 views

回答

2

目前似乎并未支持此方案。

您必须进行多次呼叫才能获取经理资产。

1)获取用户列表: https://graph.microsoft.com/v1.0/users

2)Get the manager每每个用户https://graph.microsoft.com/v1.0/users/f6672f23-134d-47a1-8da8-a0671f3cf3f3/manager

+0

奇怪的是,使用扩大directReports作品。它不是很均匀! – nlips

+0

是的,这很奇怪,尤其是因为官方文档明确提到使用$ expand = manager和用户资源。 尽管我已经设法使用“beta”api工作,但您现在可能想尝试一下。 –

+0

“beta”版本可以通过https://graph.microsoft.com/beta/users/[email protected]?$ expand = manager'完成此操作。有没有计划将其整合到v1.0中? –