Microsoft Azure DevOps Integration Setup Instructions
Purpose of Integration
This integration allows you to:
-
Set up an automated evidence collection process for gathering code review data from your Microsoft Azure DevOps instance
-
Prove you are following proper change controls with every code release
Document Outline
The Microsoft Azure DevOps Integration Setup Instructions document walks you through this integration. This document contains four parts:
Part 1: Authentication Instructions
-
Open the Integrations Setup page.
-
Select Microsoft Azure DevOps.
-
Click the plus.
-
Enter your Account Name.
-
Enter a Description (optional).
-
Click Save and Continue. (Note: This will take you to the Microsoft Azure DevOps website.)
-
Sign in to Microsoft Azure DevOps (if applicable).
-
Click Accept. (Note: This will take you back to the platform.)
Part 2: Configuration Instructions
-
Click the plus to set up a service.
-
Select an Organization name.
-
Select a Project Name.
-
Select a Repository Name.
-
Enter the Branch Name. (Note: The branch name requires the full branch reference (e.g. refs/heads/main).)
-
Click Save Repositories & Continue.
-
Choose the Evidence Collection Location.
-
Click Save & Sync.
-
Choose one of the following options:
-
Proceed to Part 3: Collect Pull Requests to check for new pull requests immediately.
-
Proceed to Part 3: Collect Pull Requests to retrieve historical data.
-
Exit the integration.
-
Part 3: Collect Pull Requests
-
Choose one of the following options:
- Collect Pull Requests
-
to check for new pull requests immediately
- Collect From Previous Date
-
to import pull requests from up to one year ago
-
Select a collection date (if applicable).
-
Click collect.
-
Refresh the page (if necessary).
-
Select the Evidence Task link to view the pull request and/or download the report.
Part 4: Uninstallation Instructions
-
Click Uninstall Microsoft Azure DevOps Integration to stop the automatic collection of evidence.
-
Click Manage Authorizations.
-
Find the Automated Evidence Collection app.
-
Click revoke to uninstall the OAuth application.
Troubleshooting Common Problems
Permissions Errors
- Organization SettingsSecurity Policies
-
Third-party application access via OAuth must be turned on for the organization in Azure DevOps. Access this by opening the and selecting .
- View instance-level informationOrganization SettingsSecurity Permissions
-
The user authorizing the Certification Automation application will need the permission. User permissions can be found opening the and selecting .
Branch Selection Error
-
The branch name requires the full branch reference (e.g. refs/heads/main). You can see the full branch reference names using command line git show-ref or az repos ref list.