Intune - Microsoft Graph API - Group history

Vij 306 Reputation points
2023-05-31T22:30:16.6666667+00:00

Hi team,

I need a script to get intune the group's history. Earlier how many deployments were happening with the particular group?

Ex: the group name "Goup-1" was deployed to an Application and Configuration profile. then later removed from both. How we can get the details from Microsoft Graph?

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

Accepted answer
  1. Crystal-MSFT 48,746 Reputation points Microsoft Vendor
    2023-06-01T02:50:22.01+00:00

    @Vij, Thanks for posting in Q&A. Based on my researching, I didn't find the script to do this. But I find we can check it via audit log. When a group is added into the device configuration profile assignment or app assignment. it will be recorded.

    User's image

    https://learn.microsoft.com/en-us/mem/intune/fundamentals/monitor-audit-logs

    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

0 additional answers

Sort by: Most helpful

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.