microsoft / microsoft/winget-cli
Unable to Download Offline Licensed LOB Apps
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 26.4k
- Forks
- 1.8k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 15
Description
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.
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
Windows Package Manager v1.8.1911
Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.Desktop v10.0.26100.1591
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.23.1911.0
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with winget download --id [ID] and the msstore source request shown in the log, including HttpClientHelper.cpp(187) and CompositeSource.cpp(1738). Compare handling of offline-licensed LOB app IDs with the documented expected behavior; done when the command downloads the app instead of returning 404/0x8a150044.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100