Hero Banner

Control Panel Vendors (CPVs)

Onboarded as a CPV, ask questions and learn how to keep your platform secure

Reply
kelseyhewett
Visitor 1

Partner Consent via API

Is there a way to perform the `partner consent` process for the Secure Application Model solely through API, and not redirected through Azure AD (as described here: https://github.com/Microsoft/Partner-Center-Java-Samples/tree/master/secure-app-model/keyvault/partnerconsent)?

1 REPLY 1
idwilliams
Moderator

@kelseyhewett unfortunately there is not a way to automate the consent process. This limitation has to deal with the need for an interactive component of authentication. So, this means you will have to leverage the Azure AD login page. Finally, I wanted to mention the consent process can be done through PowerShell, but it still involves the Azure AD login page. You can find more information about this at https://docs.microsoft.com/powershell/partnercenter/secure-app-model