Forum Discussion
Are Intune Update Rings exposed by Microsoft Graph?
- Jul 25, 2022
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"
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 $deviceConfigurationId
Status per device:
Get-MgDeviceManagementDeviceConfigurationDeviceStatuses -DeviceConfigurationId $deviceConfigurationId
Device Status Overview:
Get-MgDeviceManagementDeviceConfiguration -Filter "isof(%27microsoft.graph.windowsUpdateForBusinessConfiguration%27)" -ExpandProperty "deviceStatusOverview"
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