Skip to content

Problems uploading msix to partner center using StoreBroker #277

@ednt

Description

@ednt

We are trying to automate our build and upload process using a powershell script.

I am now at the upload step, trying to upload our newly built msix file to the partner center using StoreBroker.

Since i do not yet have all the necessary config files for the single command upload, i wanted to try the manual upload.

So far i can successfully authenticate, create a new submission and upload a file to the new submission.
Sadly that uploaded file does not appear in the new submission at the partner center.
I run the following commands in order:

Set-StoreBrokerAuthentication -TenantId $TenantID -Credential $Credential

$submission = New-ApplicationSubmission -AppId $StoreId

Set-SubmissionPackage -PackagePath "pathToMy.msix" -UploadUrl ($submission.fileUploadUrl)

What am i missing here ?

I saw examples from other people that also used the
Set-ApplicationSubmission -AppId $StoreId -UpdatedSubmission $submission
command to set any changes they did to the submission data, but since i am not changing anything in the submission data i thought i dont need to call this.

Additionally when i do use the Set-ApplicationSubmission command, without changing or uploading anything, i get the following error:

{"​code"​:"​InvalidParameterValue"​,"​data"​:[],"​details"​:[],"​message"​:"​'Base' is not a valid PriceId for base price."​,"​source"​:"​Ingestion Api"​,"​target"​:"​pricing"​}

What also seems a little weird to me, since i just clone the submission from the partner center so how can something be invalid here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions