generate report for the packages not available in Source Distribution point

Boopathi S 3,606 Reputation points
2025-01-23T14:21:11.1533333+00:00

Hello Team,

We have created a Pull Distribution Point and added source distribution points to the pull distribution point.

Under \Monitoring\Overview\Distribution Status\Distribution Point Configuration, the Status of packages saying that content not available in Source distribution point.

In that case how to generate a report saying the contentsnot available in the source distribution point.

Microsoft Configuration Manager
0 comments No comments
{count} votes

Accepted answer
  1. AllenLiu-MSFT 47,706 Reputation points Microsoft Vendor
    2025-01-24T05:35:00.2433333+00:00

    Hi, @Boopathi S

    Thank you for posting in Microsoft Q&A forum.

    You may use a SQL query to check the status of packages and filters those that have a specific condition,

    MessageState = 1 means success

    MessageState = 2 means In Progress

    MessageState = 4 means Failed

    But I'm afraid there isn't a state "not available", remember to replace DPSD.DPName with your pull DP name.

    Here is an example to get the package with status failed to distribute.

    SELECT distinct DPSD.DPName, DPSD.PackageID, SP.Name, DPSD.MessageState, DPSD.LastStatusTime, DPSD.SiteCode
    FROM vSMS_DPStatusDetails DPSD
    JOIN SMSPackages_All SP ON DPSD.PackageID = SP.PkgID
    WHERE DPSD.DPName = 'FQDN of PullDP' and DPSD.MessageState = 4
    

    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".


0 additional answers

Sort by: Most helpful

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.