microsoft / microsoft/msstore-cli

Failed to publish. error: InvalidPricingAvailabilitySettings

Open
#86 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
163
Forks
22
Avg merge
5d 6h
Merged PRs (30d)
10

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.
Image

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.

Image

❓ 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!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up β€” it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

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.

Assessment

Tech stack
csharp, powershell
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.