Efficient Reporting for 60,000 Intune Devices: Graph API Solutions ?

Sara Caballero 40 Reputation points
2024-07-09T08:59:11.04+00:00

Hello,

We're working on generating reports about devices enrolled in Intune using the Graph API. Our challenge is that to get detailed data (like compliance policies or installed applications), it seems we need to make separate requests for each device.

We're managing a fleet of 60,000 devices. How can we efficiently generate reports without having to query each device individually? Making 60,000 GET requests daily isn't feasible.

Are there any Graph API queries or other solutions available that allow querying multiple devices with a single request?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,343 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
5,233 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Crystal-MSFT 49,601 Reputation points Microsoft Vendor
    2024-07-10T01:23:12.2966667+00:00

    @Sara Caballero Thanks for posting in Q&A. To query information for a lot of devices, you can consider script to do this. In the script, you can get all the managed devices and then to query the related information of each or selected device. Here is a website list some scripts for your reference.

    https://github.com/microsoftgraph/powershell-intune-samples

    Note: non-Microsoft link, just for the reference.

    Hope the above information can help.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.