automate Intune Windows 10 update ring results

Taas Daamde 0 Reputation points
2023-11-10T14:53:40.63+00:00

We have configured a Windows 10 and later update policy in Intune. I aim to create a PowerShell script that, on a nightly basis, checks which Windows clients are successfully updated and identifies the stations that failed to update. It is commonly stated that anything visible on the Intune webpage can be accessed through scripts using Microsoft Graph. Unfortunately, I discovered that finding information on how to accomplish this is exceptionally challenging. Could someone please provide guidance on where to find a list of Microsoft Graph commands related to Intune, especially those pertaining to Intune update ring commands?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,238 questions
Microsoft Intune Reporting
Microsoft Intune Reporting
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Reporting: The process of giving an account of something that has been observed, heard, done, or investigated.
66 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Crystal-MSFT 45,571 Reputation points Microsoft Vendor
    2023-11-13T01:53:03.2466667+00:00

    @Taas Daamde, Thanks for posting in Q&A. In fact, for windows update ring policy, in fact, Intune only define an update strategy (e.g. block driver installation, set deferral period, set maintenance time, etc.), they don’t actually provide the update infrastructure itself. you still need to use your existing update solution such as Windows Update or WSUS to obtain the actual updates. So we can't get the windows update status from Intune directly. We can only get policy applied status from Intune.

    https://techcommunity.microsoft.com/t5/intune-customer-success/support-tip-troubleshooting-windows-10-update-ring-policies/ba-p/714046#:~:text=Support%20Tip%3A%20Troubleshooting%20Windows%2010%20Update%20Ring%20Policies,getting%20applied%20on%20the%20client%3F%20...%20See%20More.

    To get the update details, you can look into Update Compliance to monitor the update. Here are some blogs for your reference:

    https://techcommunity.microsoft.com/t5/windows-it-pro-blog/using-microsoft-intune-and-update-compliance-for-monitoring-and/ba-p/2177106

    https://techcommunity.microsoft.com/t5/windows-it-pro-blog/public-preview-of-azure-workbooks-for-update-compliance/ba-p/3601310

    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.