Open myokeeh opened 1 month ago
Hi I'm an AI powered bot that finds similar issues based off the issue title.
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
[Policy] MSStore
Is the app rated E(everyone) and free? Msstore source only contains a subset of the Store apps that are rated E and free.
Is the app rated E(everyone) and free? Msstore source only contains a subset of the Store apps that are rated E and free.
Yes. I publish the apps via the Partner Portal / Dev Center. Not sure if that's relevant. Can you explain why it might be?
Hi @myokeeh, Based on the response provided, it looks like the packageId you are attempting to Download does not exist or WinGet could not locate it in the Microsoft Store source. If you are able to, please provide a packageId that is triggering this error.
If you are publishing your LoB to the Microsoft Store, please verify the following:
Thanks,
@RDMacLachlan
The errors (404) definitely support that conclusion, but the part that is interesting to me from the post linked below is it implies winget should allow me to download the packages. They took down the ability to download from the Store for Business site, and now passing that functionality to winget.
@RDMacLachlan any updates?
Hi @myokeeh,
Currently WinGet supports only Public Microsoft Store packaged apps.
The following Issue outlines the prerequisite work required for winget download
and other WinGet commands to view Microsoft Store packaged apps with entitlements:
So that leads me to think the post is inaccurate. Is that team and the winget team in communication? I'm at a loss about who to talk to.
Brief description of your issue
This post implies I should be able to download apps that I submitted to the Store.
I've run
winget download --id [ID]
where[ID]
is the app ID. I get the following error:Failed when searching source: msstore An unexpected error occurred while executing the command: 0x8a150044 : The rest API endpoint is not found.
The apps are LOB apps and "Organization-managed (offline) licensing and distribution" is checked in the Partner Center for them.
https://techcommunity.microsoft.com/t5/intune-customer-success/downloading-microsoft-store-apps-using-windows-package-manager/ba-p/4208020
This is what is in the log: 2024-09-04 19:39:16.798 [REPO] Sending http GET request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/packageManifests/[ID]?Market=US 2024-09-04 19:39:16.922 [REPO] Response status: 404 2024-09-04 19:39:16.923 [FAIL] C:__w\1\s\external\pkg\src\AppInstallerCommonCore\HttpClientHelper.cpp(187)\WindowsPackageManager.dll!00007FF8D6A568E2: (caller: 00007FF8D6A55BC9) Exception(1) tid(39ec) 8A150044 2024-09-04 19:39:16.923 [FAIL] C:__w\1\s\external\pkg\src\AppInstallerRepositoryCore\CompositeSource.cpp(1738)\WindowsPackageManager.dll!00007FF8D6B60C18: (caller: 00007FF8D6A9DA3F) LogHr(1) tid(39ec) 8A150044 Msg:[C:__w\1\s\external\pkg\src\AppInstallerCommonCore\HttpClientHelper.cpp(187)\WindowsPackageManager.dll!00007FF8D6A568E2: (caller: 00007FF8D6A55BC9) Exception(1) tid(39ec) 8A150044 ]
2024-09-04 19:39:16.924 [REPO] Failed to search source: msstore 2024-09-04 19:39:16.954 [CLI ] Caught wil::ResultException: C:__w\1\s\external\pkg\src\AppInstallerCommonCore\HttpClientHelper.cpp(187)\WindowsPackageManager.dll!00007FF8D6A568E2: (caller: 00007FF8D6A55BC9) Exception(1) tid(39ec) 8A150044
Steps to reproduce
Run command below winget download --id [ID]
Expected behavior
winget should download the app per the post
Actual behavior
App is not downloaded and error below is shown:
Failed when searching source: msstore An unexpected error occurred while executing the command: 0x8a150044 : The rest API endpoint is not found.
Environment