Skip to content

A set of rest calls to exercise the Microsoft commercial marketplace SaaS Fulfillment APIs

License

Notifications You must be signed in to change notification settings

mormond/marketplace-rest-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Microsoft Commercial Marketplace REST API Client

Use with VS Code and the excellent REST Client extension to access Microsoft commercial marketplace SaaS Fulfillment APIs.

  1. 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)
  2. Create an app registration in AAD (Azure Active Directory)
  3. 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
  4. 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
  5. Install the REST Client extension in VS Code
  6. 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

  1. Use
    1. subscription-apis.http for subscription APIs
    2. operations-apis.http for operations APIs

About

A set of rest calls to exercise the Microsoft commercial marketplace SaaS Fulfillment APIs

Topics

Resources

License

Stars

Watchers

Forks