Azure Repos
Out-of-the-box Source Code Repository Integration
Introduction
General Availability
This integration is generally available. To find more information about the release stages of our integrations, see Release Stages.
The LeanIX VSM Azure Repository integration offers an easy way to auto-discover all your services from Azure Repos workspace. Based on this VSM's mapping inbox allows you to easily sift through all the stale information from Azure Repos to decide, which services are really useful to your organization and hence should be part of your service catalog. This will help you to maintain a high standard of data quality when you subsequently map your services to their individual teams to create clear team ownership.

Integrate with Azure Repos to:
- Automatically discover your services to build your company-wide service catalog
- Map team ownership to have clear software governance in place
Setup
The Azure repository connector scans your "Azure Repos" organization(s) to fetch your repositories and adjacent information,
such as the programming languages used. The integration can be set up in full self-service via the Admin UI.
Configuration from Azure Repos
To integrate Azure Repos with LeanIX VSM you need two inputs:
Creating Personal Access Token
- Please refer to the official documentation
- Ensure you enable the following scopes:
Code: Read
Analytics:Read

Azure Repos PAT scopes to be set
Expiration
Choose a token expiration date that is far in the future to avoid breaking the integration
Fetching Azure Repos organization(s)
To see the names of your managed organizations, follow these instructions or directly fetch your organizations from your settings.

Configuration in VSM
In your LeanIX VSM workspace, go to Administration > Integrations and follow the instructions to set up the Azure Repos integration.

Azure Repository Integration setup in the Integrations page
How to map your discovered repositories to VSM service catalog items?
After the integration successfully loaded all your repositories into the VSM mapping inbox you can now start to sift through and decide which of these repos are actually worthy to maintain in the service catalog. The repositories will arrive in the mapping inbox as {project}/{repo}. To continue the mapping:
- Head over to Mapping Inbox and import the unmapped service entry to an existing service or create a new VSM service for the service catalog.

- Congrats! you have now created your first VSM service - neat & tidy. Go ahead and explore what it has to offer and map it to
your teams.
(Preview) DORA Metrics
Stay tuned - we're on it
Imported data
The integration retrieves the following pieces of information from your Azure repo system:
- Metadata, such as repository name, description, url etc.
- Repository status e.g.
archived
,active
- Repository code composition e.g.
python
- Repository tags e.g.
frontend
. Note we also inherit the tags from the parent project and add them to the repository tags. - Repository visibility e.g.
private
Updated about 1 month ago