Comments (1)
Steps to reproduce
- Clone the
master
branch- Replace the appropriate configuration in the App.config
- Execute the sample program
- Type
16
to select Rate card samples and pressEnter
- Type
1
to run the get rate card scenario and pressEnter
- Sign in with the partner center user account
It is assumed you have setup the api access to partner center as per steps listed here:
https://docs.microsoft.com/en-us/partner-center/develop/set-up-api-access-in-partner-centerExpected behavior
- Get Azure Rate Card details for the CSP
Actual behavior
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?
from partner-center-dotnet-samples.
Related Issues (20)
- Requested value 'Disabled' was not found HOT 5
- This repo is missing important files HOT 2
- Forbidden
- 403-Forbidden response after successful login
- Please add "Tags" property to "Customer" entity
- The nce-bulk-migration-tool is not in the release?
- Acquire customer byId throws exception if Azure AD Graph (deprecated) permissions are removed
- NOT able to get Access Token HOT 1
- Getting subscribedSku's throws an error "Tenant address information is not available" HOT 1
- Assigning licenses to a user throws an error "License assignment cannot be done for user with invalid usage location."
- Microsoft Partner center APP + USER authentication using owin
- Support of .Net 5 HOT 5
- Non interactive user auth HOT 3
- Create Customer scenario HOT 4
- No throtting example with the partner center SDK
- Response status code does not indicate success: 401 (Unauthorized).
- refundableQuantity Property Missing in SDK for NCE HOT 7
- Partner Center API new NCE Subscription Issues
- Make Microsoft.Store.PartnerCenter nuget source code available on a public repo HOT 1
- Bulk migration tool - System.ArgumentOutOfRangeException when exporting failed customers HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from partner-center-dotnet-samples.