In case you’ve been living under a rock, Desktop Analytics has been deprecated for a while, and finally being retired on November 30th (in one week!).

Desktop Analytics is easy enough to remove by following the instructions, but after completing these steps, I noticed one item left behind:

Desktop Analytics app still present

If you try to right-click this item, there will be no menu and no delete option anywhere in the console. In order to remove this, it must be deleted via WMI:

1
2
3
4
5
# Listing all AAD app names
Get-CimInstance -Namespace root/SMS/site_CAS -ClassName SMS_AAD_Application_Ex | select Name

# Removing the Desktop Analytics app
Get-CimInstance -Namespace root/SMS/site_CAS -ClassName SMS_AAD_Application_Ex -Filter "Name = 'Desktop Analytics Server App'" | Remove-CimInstance

The above commands reference information about my lab site; be sure to change the namespace name to match your site code, and select the correct AAD application name.

After running the above commands and refreshing the console, the Desktop Analytics app should no longer be listed:

Desktop Analytics app no longer present

Hooray! Happy Thanksgiving! 🦃