Closed JanakarM closed 1 year ago
Hopefully you figured this out but if anyone stumbles on this, I think the scope you want is "openid".
Hello, we are archiving this repo and moving its content to the central Partner Center developer content location. For this scenario that's at https://learn.microsoft.com/en-us/partner-center/develop/. This feedback has been logged internally and we will use it to update the content in the future. Thank you for your feedback!
https://docs.microsoft.com/en-us/partner/develop/api-authentication#application-and-user-access
I've created application with permissions as mentioned in above document.
While requesting for access token, tried with following scopes one by one, with no luck. https://api.partner.microsoft-int.com/.default https://reseller.microsoft.com/.default https://api.partner.microsoft.com
When I use the token to call api, I get a AccessDenied.
API Response
StackOverflow links: https://stackoverflow.com/questions/72830645/ms-partner-api-to-get-license-subscription-and-pricing-details https://stackoverflow.com/questions/64783363/microsoft-partner-api-access-denied