Confused with ResourceId used in SAAS V2 SAAS V2 Resolve API

Sanim Pokhrel 0 Reputation points
2023-12-04T04:01:35.4733333+00:00

Hi,

I am kinda new in making applications transactable via partner center. Till date i have managed to create a marketplace offer Azure Application -> Managed Application (Not Yet Published), Register my app in azure, obtain a client secret but when i try to make the API call for resolving metered billing at: https://marketplaceapi.microsoft.com/api/usageEvent?api-version=2018-08-31

I get a 403 Bad request error stating "The authorization token is invalid, expired, missing or this request is attempting to access a SaaS subscription for an offer that was published with a different Azure AD App ID from the one used to create the authorization token. Please make sure the authorization token is created using the same Azure AD App ID as the Azure AD App ID Id set for the offer in Technical Details tab in Partner Center".

I am also confused what would be my resourceID. Any help on this would be much appreciated. Thanks in advance.

Azure Managed Applications
Azure Managed Applications
An Azure service that enables managed service providers, independent software vendors, and enterprise IT teams to deliver turnkey solutions through the Azure Marketplace or service catalog.
121 questions
Microsoft Partner Center API
Microsoft Partner Center API
Microsoft Partner Center: A Microsoft website for partners that provides access to product support, a partner community, and other partner services.API: A software intermediary that allows two applications to interact with each other.
327 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,328 questions
{count} votes