diff --git a/MSStore.CLI/Helpers/IStorePackagedAPIExtensions.cs b/MSStore.CLI/Helpers/IStorePackagedAPIExtensions.cs index ac29031..2d973de 100644 --- a/MSStore.CLI/Helpers/IStorePackagedAPIExtensions.cs +++ b/MSStore.CLI/Helpers/IStorePackagedAPIExtensions.cs @@ -490,6 +490,12 @@ public static async Task PublishAsync( DevCenterSubmission? devCenterSubmission = submission as DevCenterSubmission; DevCenterFlightSubmission? devCenterFlightSubmission = submission as DevCenterFlightSubmission; + + if (devCenterSubmission?.Pricing != null && devCenterSubmission.Pricing.IsAdvancedPricingModel) + { + devCenterSubmission.Pricing.PriceId = null; + } + if ((devCenterSubmission != null && devCenterSubmission.ApplicationPackages == null) || (devCenterFlightSubmission != null && devCenterFlightSubmission.FlightPackages == null)) {