本文介绍了https://graph.windows.net/elders.com.au/users?api-version=1.6只返回100行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hi Team,

Hi Team,

图形API  https://graph.windows.net/elders.com.au/users?api-version = 1.6只返回100行,如果你给出https://graph.windows .net / elders.com.au / users?$ top = 999& api-version = 1.6它给了999行,但是如何从AD获得所有用户(超过
4000)。

Graph API https://graph.windows.net/elders.com.au/users?api-version=1.6 returns only 100 rows and if u give https://graph.windows.net/elders.com.au/users?$top=999&api-version=1.6 it give 999 rows but how to get all users (more than 4000) from AD.

推荐答案

尝试使用新的图API。您可以在以下网址找到更多文档:。要获得
获取用户列表,您需要获取身份验证令牌。请参阅   关于如何在应用程序中检索和使用
auth令牌。成功获取令牌后, 

Try using the new graph API. You'll find more documentation at https://docs.microsoft.com/en-us/graph/overview?toc=./toc.json&view=graph-rest-1.0. To get the list of users, you'll need to get an auth token. See https://docs.microsoft.com/en-us/graph/auth-overview?view=graph-rest-1.0 on how to retrieve and use the auth token in your application. After you successfully get the token, 

GET https://graph.microsoft.com/v1.0/users


将返回AD的用户列表。有关用户enpoint的更多信息,您可以在  https://docs.microsoft.com/en-us/graph/api/user-list?view=graph-rest-1.0
希望这有帮助。

will return the list of users for your AD. For more info on the users enpoint, you'll find that at https://docs.microsoft.com/en-us/graph/api/user-list?view=graph-rest-1.0. Hope this helps.


这篇关于https://graph.windows.net/elders.com.au/users?api-version=1.6只返回100行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-31 01:47