Azure Project Level Permissions
The user who performs the actions below to connect to Azure DevOps must have project administrator permissions in Azure.
Integrating with a VCS provider unlocks the ability to use GitOps workflows, import modules, enable Open Policy Agent, and much more.
To enable the integration, there are a few key requirements before going through the authentication flow:
- Ensure the "Third-party application access via OAuth" setting is enabled in the organization policies by going to:
- Organization settings
- Click on policies.
- The account that is used to create the integration, must have project administrator permissions for the project you are integrating with.
Setting up the Integration:
- Go to the “VCS provider” at the account scope, click “New VCS Provider”, and select Azure DevOps.
- Enter the provider name, copy the callback URL, and click the “register a new OAuth application” link.
Only two scopes are required for Scalr, Code (read) and Code (status):
Click Create and then copy the Application ID and Client Secret:
Go back to Scalr, enter the Id and secret. Upon clicking “create” a redirection back to Azure DevOps occurs to complete the authorization.
Updated about 2 months ago