I recently learned that WinGet 1.8 could be used to download store applications, but when trying out the command suggested here (winget download Calculator -s msstore) from the official link: Use WinGet 1.8 to download Microsoft Store apps | Windows IT Pro Blog it would fail to download the license. After a bit of troubleshooting, and some help from the community (thank you Jason and Gunnar), it turned out that the user running the command must be an Entra ID/Intune user, and be part of any of these Intune roles:
- Global Administrator
- User Administrator
- License Administrator
The Information
If I had paid a little bit more attention to the text when running the command, I would have spotted this text:
Microsoft Store package download requires Microsoft Entra Id authentication. Authentication prompt may appear when necessary. Authenticated information will be shared with Microsoft services for access authorization. For Microsoft Store package licensing, the Microsoft Entra Id account needs to have administrator access to the Microsoft Entra Id tenant.

The solution
After granting the user, the Intune License Administrator role, the following command worked just fine. Remember to run it in a non-elevated command prompt:
winget download Calculator -s msstore

Optional prompts
You can also force prompting for a username by running the following command:
winget download Calculator -s msstore --authentication-mode interactive
Success

I've having issues with some app installs using winget where I get an error that the APPID cannot be found when running silently in the background via a powershell script. However, when I run the cmd in the prompt it works just fine. Does anyone have a resolution for this… for instance muse.hub threw an error it couldn't be found.
Nothing that I have seen, but maybe someone else has?
Hi Johan.
Are you aware of the process flow of the updating of the inbuilt none store apps and their requirements to the CDN
Sorry, I do not.
Is there a command like WINGET UPGRADE –ALL for upgrading and updating all the MSSTORE apps?
Not that I know of, but you can probably script your way around it