Getting only 1000 records from the Intune API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2024 07:44 AM
Getting only 1000 records from the Intune API
when i try to pull the intune data from the below url , i am getting only 1000 records, Please let me know how can we get more data
https://graph.microsoft.com/v1.0/deviceManagement/managedDevices
- Labels:
-
Asset Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2024 09:04 AM
Hi @hemantnh ,
Intune API has limit to send 999 data at time, so you have to make loop to get all data. check below thread it has solution for you. Or simple you can run for loop and call api to get the data. Lets say you have 5k data then run it 5 time.
https://www.servicenow.com/community/developer-forum/ms-graph-api-to-pull-records/m-p/1793498
-------------------------------------------------------------------------
If you found my response helpful, please consider selecting "Accept as Solution" and marking it as "Helpful." This not only supports me but also benefits the community.
Regards
Runjay Patel - ServiceNow Solution Architect
YouTube: https://www.youtube.com/@RunjayP
LinkedIn: https://www.linkedin.com/in/runjay
-------------------------------------------------------------------------