Failed to publish. error: InvalidPricingAvailabilitySettings
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Begin with the msstore publish command and the MSStore.CLI.ProjectConfigurators.WinUIProjectConfigurator path named in the log; compare the submission's pricing and availability data with the hidden-app restriction shown in Dev Center. Reproduce using the provided command and confirm done when the behavior is corrected or the CLI reports a clear, actionable configuration error.
Written by the indexing model from the issue text.
Description
I am trying to publish an update for my app using the msstore CLI, and I am running into a CommitFailed error with the code InvalidParameterValue. It seems to be related to the app's pricing and availability settings.
🐛 Bug Report
I'm using the msstore CLI tool to publish a WinUI 3 app update. Here is the command I'm running and the resulting error:
Command:
msstore publish -i "X:\Projects\winui3_app\" -v -id <AppID>
Error Output:
Submission Status - CommitFailed
❗ Submission Errors
┌───────────────────────┬──────────────────────────────────────────────────────┐
│ Code │ Details │
├───────────────────────┼──────────────────────────────────────────────────────┤
│ InvalidParameterValue │ Validation error: InvalidPricingAvailabilitySettings │
│ │ - │
└───────────────────────┴──────────────────────────────────────────────────────┘
11:34:51 info: MSStore.CLI.ProjectConfigurators.WinUIProjectConfigurator[0]
SalesUnsupportedWarning - The sales resource is no longer supported. To view or edit the sales data for this submission, use the Dev Center dashboard.
Submission has failed. Please check the Errors collection of the submissionResource response.
When checking the Dev Center dashboard for the app, I noticed an error on the Pricing and availability page:
You can’t customize the schedule for a product that is hidden in the Microsoft Store.
This error message suggests that the publishing tool might be trying to set a schedule or pricing details that are not allowed for an app that is currently hidden in the store. This is a likely cause for the InvalidPricingAvailabilitySettings validation error.
❓ Question
Is the msstore publish tool attempting to modify the pricing or availability schedule by default, even when no related parameters are specified? If so, this seems like a bug, as it should respect the current state of a hidden app and not attempt to perform an invalid action.
I would appreciate any guidance on whether this is an issue with the tool itself or if I am missing a specific configuration or parameter that would prevent this behavior.
Thanks for your help!
- Dominant language
- C#
- Stars
- 163
- Forks
- 22
- Avg merge
- 5d 22h
- Merged PRs (30d)
- 7
Getting set up
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.
More from microsoft/msstore-cli
-
Linux: settings.json (SellerId/TenantId/ClientId) not visible to any subsequent msstore invocation after reconfigure, despite file being correctly writtenPossibly taken @isourabh claimed this 16 days ago. Open
microsoft/msstore-cli#181 · 2 comments · 1 reaction · 2 assignees ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
microsoft/msstore-cli#179 ·
Maintainers usually reply within 1 day
-
Concurrent msstore invocations crash with an unhandled IOException on telemetrySettings.jsonPossibly taken @isourabh claimed this 23 days ago. Openbug
microsoft/msstore-cli#176 · 1 reaction · 2 assignees ·
Maintainers usually reply within 1 day
-
Delete app commandOpeninvalid
Difficulty 3/5 1-2 days Newbie friendliness 64/100
microsoft/msstore-cli#171 · 6 comments ·
Maintainers usually reply within 1 day
-
Limit on 100 appsOpen
Difficulty 3/5 1-2 days Newbie friendliness 55/100
microsoft/msstore-cli#170 ·
Maintainers usually reply within 1 day
All issues in microsoft/msstore-cli
Similar issues
-
area-System.Numerics.Tensors untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
dotnet/runtime#134691 · 2 comments ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
unoplatform/uno.templates#2277 ·
Maintainers usually reply within 5 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
microsoft/fluentui-blazor#5344 · 1 comment ·
Maintainers usually reply within 1 day
-
difficulty/starter 🚀 good first issue kind/bug platform/all project/core-tools 🛠️ triage/untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
unoplatform/uno#24757 ·
Maintainers usually reply within 1 day
-
ci-failure-cause test-failure
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day