SCCM/MECM : Report Software Update Deployment Status

Vid3al 186 Reputation points
2025-04-01T14:07:36.66+00:00

All reports in MECM show the deployment status of updates, but they all start from deployment selection.

I would like to create a report, which lists all Server Systems that receive any deployment of updates, but that are reporting the status of "In Progress\Installing update(s)".

I tried to create a report, but I sank into the thousand views of the database without being able to make correlations that work for my target.

Does anyone have any suggestions or have they already created something that can help me?

Thank you all for your support and patience.

Microsoft Configuration Manager Updates
Microsoft Configuration Manager Updates
Microsoft Configuration Manager: An integrated solution for for managing large groups of personal computers and servers.Updates: Broadly released fixes addressing specific issue(s) or related bug(s). Updates may also include new or modified features (i.e. changing default behavior).
1,119 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Rahul Jindal [MVP] 10,806 Reputation points MVP
    2025-04-01T21:32:49.9133333+00:00

    V_gs_updatecompliancestatusall ucsa and v_updateinfo ui with ucsa.scanstatus =2 should give you a list of all missing updates. Not exactly what you are looking for, but you can combine it with deployed updates status and that should give you a reasonably relevant report.

    1 person found this answer helpful.

  2. AllenLiu-MSFT 49,291 Reputation points Microsoft External Staff
    2025-04-02T09:12:50.8433333+00:00

    Hi, @Vid3al

    Thank you for posting in Microsoft Q&A forum.

    You may try the query like below:

    SELECT 
        sy.Name0 AS 'Server Name',
        sy.Operating_System_Name_and0 AS 'OS Version',
        sn.StateName AS 'Update Status',
        us.LastStatusChangeTime AS 'Last Status Update',
    	uds.AssignmentName AS 'Deployment Name',
    	us.LastEnforcementMessageID
    FROM v_R_System sy
    INNER JOIN v_Update_ComplianceStatus us ON sy.ResourceID = us.ResourceID
    INNER JOIN v_StateNames sn ON us.LastEnforcementMessageID = sn.StateID
    INNER JOIN v_UpdateDeploymentSummary uds on uds.CI_ID = us.CI_ID
    WHERE sn.TopicType = 402
    AND sy.Operating_System_Name_and0 LIKE '%Server%'
    ORDER BY us.LastStatusChangeTime DESC
       
    

    For the common views we can use for software update, we may refer to:

    https://learn.microsoft.com/en-us/intune/configmgr/develop/core/understand/sqlviews/software-updates-views-configuration-manager


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Add comment".

    After the way you tag questions on Q&A is updated, for any "Microsoft Configuration Manager" related problem, you can tag it with "Microsoft Intune", and then "Microsoft Configuration Manager" as the child tag.


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.