- View every user in your Azure DevOps organization and the access they hold
- Grant and revoke membership in organization and project groups
- Grant and revoke Git repository, pipeline, and service connection permissions
- Optionally grant and revoke Azure DevOps licenses
- Review the service principals that can act in your organization
This integration supports Azure DevOps Services (
dev.azure.com). Azure DevOps Server (on-premises) is not supported. To manage Microsoft Entra ID users and groups, use the Azure integration.Supported resources
Repositories, pipelines, and service connections are children of their project. Service principals are shown for visibility only. They have no roles and can’t be requested or granted. A service principal’s page is available in Opal, but it isn’t listed with your app’s assets.
Supported roles
Each resource type has its own roles. Opal reads them from Azure DevOps, so any custom group you create there is available too.
The roles of a repository, pipeline, or service connection build on each other, so each one includes the permissions of the roles before it.
How access syncs
- Users. Opal imports the people in your Azure DevOps organization and matches them to Opal users by email. Opal skips users without an email address, users whose license is disabled or deleted, and service principals.
- Groups. A user who belongs to a group through a nested group, or through a Microsoft Entra group, is shown with that group’s role.
- Repositories and pipelines. Opal shows the permissions assigned directly to each user, not permissions inherited through a group.
- Service connections. Opal shows roles assigned directly to a user. Opal never reads or changes the secret inside a service connection.
- Licenses. Opal reads every user’s license on each sync. Licenses you manage outside Azure DevOps, such as a Visual Studio subscription, are shown but can’t be granted from Opal.
Requirements
Before you begin, you must:- Be an Opal Admin
- Be able to register an app in your Microsoft Entra tenant
- Be able to add users in your Azure DevOps organization, which requires Project Collection Administrator access
- Be on version
1.1266.0or later, if you self-host Opal
1. Register an app in Microsoft Entra
Opal signs in to Azure DevOps as a Microsoft Entra app registration.- In the Microsoft Entra admin center, go to Entra ID > App registrations and select New registration.
- Name the app, for example Opal, and register it.
- On the app’s Overview page, copy the Directory (tenant) ID and the Application (client) ID.
- Go to Certificates & secrets and select New client secret. Copy the secret Value. You can’t view it again after you leave the page.
2. Add the app to your Azure DevOps organization
An app registration can’t call Azure DevOps until it’s a member of your organization.- In Azure DevOps, go to Organization settings > Users and select Add users.
- Search for the app by name and add it with a Basic or Stakeholder license.
- Give the app the permissions that match how you plan to use Opal:
3. Create the Azure DevOps app in Opal
In Opal, go to Inventory > +App and select Azure DevOps. Name the app, select an App admin, provide a description, and enter the following:- Organization: the name of your organization, which is the
{organization}indev.azure.com/{organization} - Directory (tenant) ID, Application (client) ID, and Client secret: the values from step 1
Grant and revoke access
Once you’ve imported resources, you can configure them, add them to your catalog, add users directly, and include them in access reviews like any other Opal resource.Groups and licenses
- Granting a group role adds the user to that group in Azure DevOps. Revoking it removes the user.
- With Manage licenses on, granting a license sets the user’s Azure DevOps license to that tier. Revoking a license moves the user to Stakeholder, the free tier. Opal doesn’t remove users from your organization.
- With Manage licenses off, license grants and revokes fail with a message that names the setting.
Repositories, pipelines, and service connections
- Granting a repository or pipeline role sets the user’s permissions to exactly that role. Permissions outside the role ladder and any explicit deny are left as they are. If a permission the role needs is explicitly denied for the user, the grant fails and says which one.
- Granting a service connection role gives the user that role, replacing any role they held on that connection.
- A user with a Stakeholder license can’t use Repos in a private project. Opal doesn’t check this before it grants repository access, so the permission takes effect after the user has a Basic license.
Limitations
- Entra groups. Opal shows the members of Microsoft Entra groups in your organization, but can’t change them, because Entra owns their membership. A grant or revoke for one of these groups fails with a message to change the group in Entra.
- Nested groups. Azure DevOps removes only direct group members. If a user holds a role through a nested group, revoking it from Opal fails and names the nested group to change, rather than reporting success while the access stays.
- Enterprise-level groups. Groups such as Enterprise Invited Users are listed as organization roles, but Azure DevOps may not let Opal change them.
- Group-held permissions. Repository, pipeline, and service connection permissions held by a group aren’t attributed to the group’s members.
- Account provisioning. Opal can’t invite a person to your Azure DevOps organization. People must already be members.
- Personal access tokens. Opal doesn’t inventory personal access tokens.
- Not supported. Variable groups, secure files, environments, agent pools, Artifacts feeds, classic release pipelines, and audit log events.