Info of User Targeted application missing under SCCM client WMI

DS 51 Reputation points
2020-09-01T10:35:37.683+00:00

Hi,

We are running some test around user-targeted application self-service via Software Center.

During my test, I noticed something strange. Targeted an application to my user name via Available deployment. On launching SC on my machine, I was able to see the Install button against the application as expected. Proceeded with installing the app which was also successful.

My expectation as this point was that when I query the info of this application under CCM_Application WMI class on my machine where the app is installed, I should see some info on the app saying this was user targeted.

However when I execute the below query, there is not info of the application at all. Ran the machine and user policy along with application deployment policy, but no joy.

GWMI -ComputerName $env:COMPUTERNAME -Namespace 'root\ccm\clientSDK' -Class CCM_Application | Select -Property Name, InstallState, IsMachineTarget

I see only the info of all the device targeted application for my machine that is there under SC.

Am I looking at the wrong class. Kindly advice.

Microsoft Configuration Manager Application
Microsoft Configuration Manager Application
Microsoft Configuration Manager: An integrated solution for for managing large groups of personal computers and servers.Application: A computer program designed to carry out a specific task other than one relating to the operation of the computer itself, typically to be used by end users.
332 questions
No comments
{count} votes

Accepted answer
  1. Fiona Yan-MSFT 2,296 Reputation points
    2020-09-03T02:11:06.52+00:00

    Hi DS,

    1. Could we try to add the following index to query ”available“ application?
      As the image shown in my environment below:
      22256-available.png
    2. May we try to add the following index to query “required”application?
      As the image shown in my environment below:
      22312-required.png

    Hope this could help you.


    If the response is helpful, please click "Accept Answer" and upvote it.


6 additional answers

Sort by: Most helpful
  1. Fiona Yan-MSFT 2,296 Reputation points
    2020-09-02T06:55:23.977+00:00

    Hi DS,

    Could we try this way to query our deployment types of our APP?
    The following is the query result in my own environment。
    22045-sql-query.png
    Foe more details,please refer to this helpful article:
    https://www.anoopcnair.com/sccm-application-deployment-custom-report-sql-query-configmgr/
    Note:This article is non-official from Microsoft.

    Hope this could help you.


    If the response is helpful, please click "Accept Answer" and upvote it.

    No comments

  2. Jason Sandys 30,881 Reputation points Microsoft Employee
    2020-09-01T15:24:49.553+00:00

    Are you performing the above query using an elevated account or standard user account?

    No comments

  3. DS 51 Reputation points
    2020-09-01T17:58:25.64+00:00

    Ok, so on one of the machines, executing above command via normal or elevated context yields same output. Info of the user targeted installed app missing.

    On the second machine, executing command only as normal user displayed the details of the installed app.

    Does this info from client CCM_Application WMI class also gets stored under some sccm sql view?

    Thank You for your reply.

    No comments

  4. Jason Sandys 30,881 Reputation points Microsoft Employee
    2020-09-01T18:10:27.953+00:00

    What about using the System context?

    Everything is ultimately in the DB.

    What challenge exactly ae you trying to address? Have you reviewed the built-in reports?

    No comments