microsoft / microsoft/winget-cli
Incorrect URL for Microsoft Store Terms of Transaction
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
When first used, Winget prompts the user to accept the Terms of Transaction for the Microsoft Store:
PS C:\Users\yodo> winget list
The `msstore` source requires that you view the following agreements before using.
Terms of Transaction: https://aka.ms/microsoft-store-terms-of-transaction
The source requires the current machine's 2-letter geographic region to be sent to the backend service to function properly (ex. "US").
Do you agree to all the source agreements terms?
[Y] Yes [N] No:
However, the given link redirects to https://www.microsoft.com/en-nl/storedocs/terms-of-sale which says "We are sorry, the page you requested cannot be found."
After some trial and error, I found that https://www.microsoft.com/nl-nl/store/b/terms-of-sale does work, so the issue is probably with the website, and not the URL that winget provides.
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 the msstore agreement prompt shown by winget list and locate where its Terms of Transaction URL is configured. Verify the replacement URL for the reported region, then test the prompt or source-agreement flow and confirm the displayed link reaches a valid terms page.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 64/100