Getting only 1000 records from the Intune API

hemantnh
Tera Expert

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

1 REPLY 1

Runjay Patel
Giga Sage

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

-------------------------------------------------------------------------