Close Menu
    Facebook X (Twitter) Instagram
    Sunday, October 12
    X (Twitter) LinkedIn Reddit RSS
    All about Endpoint Management
    • Home
    All about Endpoint Management
    Home»CM2012»SCCM Report Applications packages assigned to specific collection with user experience settings

    SCCM Report Applications packages assigned to specific collection with user experience settings

    Eswar KonetiBy Eswar KonetiMarch 18, 7:18 am3 Mins Read CM2012 9,405 Views
    Share
    Facebook Twitter LinkedIn Reddit

    Recently there was a question asked in the forum about 'How to get list of applications ,packages assigned to specific collection with its deployment settings like user experience ,Deployment action like install or uninstall etc' .

    If you are in need of identifying the list of applications or packages deployed to specific collection with its deployment properties, this post is for you.

    To find list of applications with deployment type properties ,i looked at the default reports ,there isn't it any with this requirement,so started looking at my SCCM Configmgr SQL views documentation to find out the relevant SQL views that store information about deployment /advertisement properties.

    After some search ,found that there are  3 SQL views that store the information about application deployment and they are:

    1.v_ApplicationAssignment 2. vAppDeploymentStatus 3.v_advertisement.

    so will use these 3 sql views to create custom report.

    By using these views ,i will create 2 SQL queries  and later use them in single report 1) Application assigned to specific collection and 2) packages assigned specified collection .Both queries exclude software updates and endpoint protection updates.

    How does the report look like:

    image

    SQL Code Applications Assigned to specific collection:

    select AA.ApplicationName,
    case when NotifyUser=1 then 'Yes' Else 'No' End as 'Notify User',
    case when UserUIExperience=1 then 'Yes' Else 'No' End as 'UserUIExperience',
    case when AssignmentAction=2 then 'Install' Else 'Uninstall' End as 'Action',
    case when ads.DeploymentIntent=2 then 'Avilable' Else 'Required' End as 'Purpose',
    AA.CreationTime,AA.LastModificationTime,AA.LastModifiedBy from v_ApplicationAssignment AA,v_Collection coll ,vAppDeploymentStatus ADS
    where (AA.CollectionID=coll.CollectionID) and (AA.AssignmentID=ADS.AssignmentID) and
    coll.CollectionID=@collection and (AA.AssignmentName not like '%Software Update%' and AA.AssignmentName not like '%Endpoint Protection%')

     

    SQL Code Packages Assigned specific collection:

     

    select adv.AdvertisementName [Advertisement Name],adv.packageid [Package ID],
    adv.ProgramName,adv.ExpirationTime,case when AssignedScheduleEnabled=0 then 'Available' Else 'Required' End as 'Purpose'
    from v_Advertisement adv,v_Collection coll
    where adv.CollectionID=coll.CollectionID
    and coll.CollectionID =@collection

     

    Prompt:

    select CollectionID,name from v_Collection
    order by name

    Download the RDL file from Technet Gallary:

    Some information about Notify User and UserUIExpeirnce from Phil .

    Application Deployments which are marked as Available will have two options:

    Display in Software Center and show all notifications
    Display in Software Center, and only show notifications for computer restarts

    Deployments marked as Required also have a third option to “Hide in Software Center and all notifications”

    The NotifyUser value determines whether the user sees notifications for new applications in the system tray, and the UserUIExperience determines whether the user sees anything at all related to the application.  Thus an available deployment set to show all notifications would have a value of 1 for both, an Available or Required deployment set to only show notifications for reboots would have NotifyUser set to 0 and UserUIExperience set to 1, and a Required deployment set to hide everything would have both set to 0

    application assigned applications Apps assigned AssignmentAction install uninstall Collection collection list of apps configmgr NotifyUser Packages packages assigned report SCCM 2012 SSRS Report UserUIExperience
    Share. Twitter LinkedIn Email Facebook Reddit

    Related Posts

    SCCM SQL Report – Compare Installed Apps on TWO Different Computers

    July 13, 10:35 am

    Migrate Microsoft 365 Updates from SCCM/MECM to Intune for Co-Managed Devices

    February 11, 9:50 pm

    Identifying devices managed by Intune but not reporting to WUfB using KQL

    November 09, 10:28 am

    2 Comments

    1. Russ Rimmerman on June 13, 2017 1:36 AM

      This report works for deployments to device type collections, but does not show anything for user collections. Know any way to include user collections?

      Reply
      • Eswar Koneti on July 7, 2017 1:16 AM

        Hi Russ,
        Havent looked at deployment that has been set to user collection but good to see what it contains.
        I can check and get back to you.

        Regards,
        Eswar

        Reply

    Leave a ReplyCancel reply

    This site uses Akismet to reduce spam. Learn how your comment data is processed.

    Sign Up

    Get email notifications for new posts.

    Author

    I’m Eswar Koneti ,a tech enthusiast, security advocate, and your guide to Microsoft Intune and Modern Device Management. My goal? To turn complex tech into actionable insights for a streamlined management experience. Let’s navigate this journey together!

    Support

    Awards

    Archives

    © Copyright 2009-2025 Eswar Koneti, All rights reserved.

    Type above and press Enter to search. Press Esc to cancel.