Export group member with extra columns information

Peter Haslow 0 Reputation points
2023-06-26T21:26:01.4033333+00:00

Hi folks, I need some help exporting some device list from Intune.

I have a group of devices with Windows installed, this is a dynamic group and is working very fine, with more than 300 members.

I need a way to export all member from this group, but the export list must contain computers hostname, primary users and Windows version.

Pls, what is the easiest way to do that?

Microsoft Security | Intune | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Crystal-MSFT 54,181 Reputation points Microsoft External Staff
    2023-06-27T02:10:55.4466667+00:00

    @Peter Haslow, Thanks for posting in Q&A. For your request, I think this needs to be done via PowerShell script and Graph. My thought is

    1. Query the members of the group and get their device id.

    https://learn.microsoft.com/en-us/graph/api/group-list-members?view=graph-rest-beta&tabs=http

    1. Then use the above device id to get the device name, Primary user and OS version

    https://learn.microsoft.com/en-us/graph/api/intune-devices-manageddevice-get?view=graph-rest-beta

    After researching, I didn't find the existing script to do this. You can contact our Premier support to see if they can help on this.

    https://learn.microsoft.com/en-us/mem/get-support

    Thanks for your understanding and 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' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.