-
Notifications
You must be signed in to change notification settings - Fork 4
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
Video/Blog article of how to have this package running? #130
Comments
I you're using user auth, you should be able to get the required refresh token by following these instructions: https://learn.microsoft.com/en-us/partner-center/developer/secure-sample-application
|
Hey Justin,
Thank you for the response! I have the permissions set as below in my App
registration. Below is my setup for more context.
Tenant A - My own Developer tenant which has the App registration with all
the required permissions, secret generated and redirect URIs for
authentication by code.
Tenant B - MSP Tenant that is the CSP Tenant and has access to the the
Partner Center.
Tenant C,D,E - 3 tenants that are the Customers of the CSP Tenant (ie
TenantB) and have GDAP relationships set. All of them can be easily managed via the Partner Center UI.
After consenting through the MSP tenant(Tenant B) a service principal for
this App is generated in Enterprise apps of the MSP tenant(Tenat B).
I add the created service principal to AdminAgents group so that it has
access to all the roles provided via the GDAP relationship with the
customer tenants.
While using your package I initiate the PartnerCenter client with domain of
the MSP tenant (Tenant B) + Application ID + Azure Secret for that
application.
Whatever function I try to run with this client I get 403 error. What am I
doing wrong?
[image: image.png]
![image](https://github.com/user-attachments/assets/e5bf8b0c-c1b6-4e61-bbe0-e456a846256d)
…On Fri, Dec 6, 2024 at 4:08 PM Justin McMahon ***@***.***> wrote:
I you're using user auth, you should be able to get the required refresh
token by following these instructions:
https://learn.microsoft.com/en-us/partner-center/developer/secure-sample-application
<https://camo.githubusercontent.com/a544566e9646db72f4883e758b0580db7a9e9513bc6db9ab2a1e97198e2db1b8/68747470733a2f2f6c6561726e2e6d6963726f736f66742e636f6d2f656e2d75732f6d656469612f6f70656e2d67726170682d696d6167652e706e67>
*Secure partner application for CSP and CPV - Partner app developer
<https://learn.microsoft.com/en-us/partner-center/developer/secure-sample-application>*
Create a secure Partner Center application.
—
Reply to this email directly, view it on GitHub
<#130 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AVCQSPJOGVA5LX2WAPIIGR32EI37FAVCNFSM6AAAAABTFSNZNCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMRUGY3TQMJXHE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Have you tried generating a refresh token and then instantiating the
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am currently stuck at getting 403 error with my Application ID and Secret value. What are the permissions required by the Application before using its appID and secret to get the access Token?
The text was updated successfully, but these errors were encountered: