Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rate card sample returns exception #58

Open
mistryhardik opened this issue Sep 30, 2020 · 1 comment
Open

Rate card sample returns exception #58

mistryhardik opened this issue Sep 30, 2020 · 1 comment

Comments

@mistryhardik
Copy link

mistryhardik commented Sep 30, 2020

Steps to reproduce

Expected behavior

  • Get Azure Rate Card details for the CSP

Actual behavior

  • Return an exception after successfully authenticating as shown in the screenshot below
    Screenshot_2

Diagnostic logs

Partner Exception:
Error Category: Forbidden
Service Error Payload: null
Context: Request Id: 50bf925d-c80e-4bcc-bb3f-214dab9cb7a0, Correlation Id: 1c9dca8f-64a7-4928-ad22-716481212030, Locale: en-US
Base Description: Microsoft.Store.PartnerCenter.Exceptions.PartnerException: {"message":"The supplied role does not have the rights to perform the requested operation."}

Additional Info

  • I have developer role for the partner center I am trying this on.
  • Please advise if something else needs to be verified or checked.
  • Please advise if there is an another alternative to fetch the CSP rate card.
  • The goal is to do this via a REST API call, tried the SDK sample to validate how it works, please recommend if anything else should be done for the REST API rate card calls for the CSP.
@mistryhardik mistryhardik changed the title Rate card sample throws exception Rate card sample returns exception Sep 30, 2020
@RommelWZ
Copy link

Steps to reproduce

Expected behavior

  • Get Azure Rate Card details for the CSP

Actual behavior

  • Return an exception after successfully authenticating as shown in the screenshot below
    Screenshot_2

Diagnostic logs

Partner Exception:
Error Category: Forbidden
Service Error Payload: null
Context: Request Id: 50bf925d-c80e-4bcc-bb3f-214dab9cb7a0, Correlation Id: 1c9dca8f-64a7-4928-ad22-716481212030, Locale: en-US
Base Description: Microsoft.Store.PartnerCenter.Exceptions.PartnerException: {"message":"The supplied role does not have the rights to perform the requested operation."}

Additional Info

  • I have developer role for the partner center I am trying this on.
  • Please advise if something else needs to be verified or checked.
  • Please advise if there is an another alternative to fetch the CSP rate card.
  • The goal is to do this via a REST API call, tried the SDK sample to validate how it works, please recommend if anything else should be done for the REST API rate card calls for the CSP.

Hello, have you fixed the forbidden error?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants