Forum Discussion
Are Intune Update Rings exposed by Microsoft Graph?
I'm working on some management reports, I'm trying to correlate the Intune update ring that a device is associated with. Are the update rings from Intune UI exposed via MS Graph API and queryable from the PowerShell SDK module - Microsoft.Graph?
Many thanks
Paul
Hey Paul yes this is possible you can use this command to get a list of all update rings an the Id:
Get-MgDeviceManagementDeviceConfiguration -Filter "isof(%27microsoft.graph.windowsUpdateForBusinessConfiguration%27)" -ExpandProperty "assignments"
Then you can use the id to get the statistics or more information from the update rings:Single update ring:
Get-MgDeviceManagementDeviceConfiguration -DeviceConfigurationId $deviceConfigurationId -ExpandProperty "assignments"Status Overview:
Get-MgDeviceManagementDeviceConfigurationDeviceStatusOverview -DeviceConfigurationId $deviceConfigurationIdStatus per device:
Get-MgDeviceManagementDeviceConfigurationDeviceStatuses -DeviceConfigurationId $deviceConfigurationIdDevice Status Overview:
Get-MgDeviceManagementDeviceConfiguration -Filter "isof(%27microsoft.graph.windowsUpdateForBusinessConfiguration%27)" -ExpandProperty "deviceStatusOverview"
2 Replies
- Jannik_ReinhardIron Contributor
Hey Paul yes this is possible you can use this command to get a list of all update rings an the Id:
Get-MgDeviceManagementDeviceConfiguration -Filter "isof(%27microsoft.graph.windowsUpdateForBusinessConfiguration%27)" -ExpandProperty "assignments"
Then you can use the id to get the statistics or more information from the update rings:Single update ring:
Get-MgDeviceManagementDeviceConfiguration -DeviceConfigurationId $deviceConfigurationId -ExpandProperty "assignments"Status Overview:
Get-MgDeviceManagementDeviceConfigurationDeviceStatusOverview -DeviceConfigurationId $deviceConfigurationIdStatus per device:
Get-MgDeviceManagementDeviceConfigurationDeviceStatuses -DeviceConfigurationId $deviceConfigurationIdDevice Status Overview:
Get-MgDeviceManagementDeviceConfiguration -Filter "isof(%27microsoft.graph.windowsUpdateForBusinessConfiguration%27)" -ExpandProperty "deviceStatusOverview"- Paul BendallIron Contributor
Thank you Jannik_Reinhard
You provided me with the most critical piece of information which was the cmdlet to use for querying for the "Update Ring" in your code snippet the "%27" is a single quote (or apostrophe). But just using Get-MgDeviceManagementDeviceConfiguration | fl * provided me with the information I needed to move on and therefore marked your answer as the "Best Response"
Many thanks
Paul