Use with VS Code and the excellent REST Client extension to access Microsoft commercial marketplace SaaS Fulfillment APIs.
- To use with the SaaS Fulfillment APIs you will need
- An Azure subscription
- A Partner Center account
- Enrolled in commercial marketplace in Partner Center
- Relevant permissions to publish (eg Developer)
- Create an app registration in AAD (Azure Active Directory)
- Create a SaaS offer in Partner Center
- Register the app from the previous step to authorise access to marketplace APIs
- Publish the offer to "preview" stage so you can "purchase" it
- Make sure to set the price to $0
- Make sure to set the right preview audience
- Generate a marketplace token to call resolve
- Make a "purchase" of your offer
- The token is passed as a query string parameter to the landing page
- The landing page is registered as part of creating the SaaS offer
- You will need to URL decode the token before use
- Install the REST Client extension in VS Code
- Set variables to authorize and decode a marketplace token, get subscriptions etc
client_id
tenant_id
client_secret
marketplace_token
Note these are sensitive values and must be treated with care
- Use
subscription-apis.http
for subscription APIsoperations-apis.http
for operations APIs