none
Creating azure ad token for Marketplace authentication RRS feed

  • Question

  • Hi,

    I have created an application on Partner.microsoft.com

    and I am following this Link: https://docs.microsoft.com/en-us/azure/marketplace/partner-center-portal/pc-saas-fulfillment-api-v2#api-reference for communicating with azure.

    Under resolve a token, I need a beare token which I am creating following the link: https://docs.microsoft.com/en-us/azure/marketplace/partner-center-portal/pc-saas-registration#get-a-token-based-on-the-azure-ad-app

    But what should I pass in resource for calling the marketplace API's?

    This is the body if the request I am sending on https://login.microsoftonline.com/b229b2bb-5f33-4d22-bce0-730f6474e906/oauth2/token

    'grant_type=client_credentials&client_id=eded1323-a99f-4074-bf23-9aae637c8dd2&client_secret=xxx&resource=?????'

    If I don't pass anything in resource field and use the received token, I am getting an 403 response when calling the resolve api's.

    What's the correct value to be passed for getting a token which can be used for resolving a token which can be used for resolving a marketplace token?

    Monday, September 2, 2019 9:35 AM

Answers

All replies