Upload Package And Validate
A 3-step recipe with Microsoft Edge. We can help you get access.
Recipe · 3 steps
Upload Package And Validate
with Microsoft Edge
Verify a product, upload a draft package, and await upload validation.
- Retrieve the product to confirm it exists and capture its current publishing status and version before uploading a new package.
- Upload the new extension package as a draft for the confirmed product. The upload is asynchronous and returns 202 with an operation identifier.
- Poll the upload operation until it leaves the InProgress state. The loop ends on Succeeded, while a Failed status terminates the workflow.
What you'll need to have ready
- accessToken: Azure AD bearer access token acquired via the client credentials flow for the Microsoft Partner Center scope.
- productId: The product (extension) identifier to upload a package for.
- packageContent: The binary contents of the extension package ZIP file.
For your developer
Arazzo workflow microsoft-edge:upload-package-and-validate, 3 operations: getProduct → uploadPackage → getPackageUploadStatus. Specs on APIs.io.