How do I get GUID of apps installed from Microsoft Store?

  • Navigate to the Windows Store.
  • Enter the name of the app in the search bar.
  • Copy the app id from URL. The app id for Ubuntu is 9nblggh4msv6.
  • Now open https://bspmts.mp.microsoft.com/v1/public/catalog/Retail/Products/<app id>/applockerdata after replacing the <app id> with the app id of the application.
  • The page's content will look like this:

    {
      "packageFamilyName": "CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc",
      "packageIdentityName": "CanonicalGroupLimited.UbuntuonWindows",
      "windowsPhoneLegacyId": "ba50f801-2d96-4517-a737-575f32f0fb61",
      "publisherCertificateName": "CN=23596F84-C3EA-4CD8-A7DF-550DCE37BCD0"
    }
    

    The windowsPhoneLegacyId is the required GUID.

Credits: Examples of obtaining Windows app IDs manually - IBM Knowledge Center