Azure DevOps
Ploy reads who is in each Azure DevOps project, team and security group, and each person's access level. It can also add and remove people, and change access levels, if you allow it.
Azure DevOps is added to your existing Microsoft connection. There is no new secret to create: Ploy signs in to Azure DevOps as the same application your Microsoft connection already uses.
Before you start
You have a Microsoft connection in Ploy.
Your Azure DevOps organization is connected to the same Microsoft Entra tenant as that connection. Check in Azure DevOps: Organization settings, Microsoft Entra.
You can manage users in the Azure DevOps organization (Project Collection Administrator).
Connect each Azure DevOps organization separately.
Step 1: Add Azure DevOps in Ploy
In Ploy, open Integrations.
On your Microsoft connection's row, open the "..." menu and choose "Add Azure DevOps".
Enter the organization name. This is the part after dev.azure.com/ in your organization's address. For an address ending in dev.azure.com/contoso the name is contoso.
The next page shows the Application ID of the application your Microsoft connection signs in as. You can look it up in Microsoft Entra under Enterprise applications to see its name. Keep this page open.
Step 2: Add the application to your Azure DevOps organization
In Azure DevOps, open Organization settings, Users, Add users.
In "Users or Service Principals", type the application's name and pick it from the list that appears. Typing the name without picking the entry fails with "Given email address is invalid".
Set the access level to Stakeholder. The dialog defaults to Basic, which is a paid seat. Stakeholder is free and is all Ploy needs.
Choose what Ploy may do by adding the application to one of the groups below.
To read access in some projects: the Readers group of each of those projects.
To read access in every project: Project Collection Administrators.
To add and remove people in a project's teams and groups: that project's Project Administrators group.
To change access levels, and add or remove people from the organization: Project Collection Administrators.
A project the application is not a member of does not appear in Ploy as a project. Its groups still appear, but Ploy cannot tell its teams apart from its security groups.
Step 3: Test and finish
Back in Ploy, select Test. When it passes, finish the setup. The first scan starts straight away.
If the test fails, the message says which step was refused. The usual causes:
The organization name is wrong, or the organization is connected to a different Microsoft Entra tenant.
The application has not been added to the organization yet, or is in no project group.
Your Microsoft connection uses Ploy's shared application and its domain is not verified. Check the Microsoft connection.
What you will see in Ploy
The organization, with each person's access level (Stakeholder, Basic, Basic + Test Plans, or a Visual Studio subscription).
Each project.
Each team and security group, named as Azure DevOps names them, for example [Project]\Readers, with its direct members and team administrators.
People and Microsoft Entra groups are the ones from your Microsoft connection, so Azure DevOps access appears on the same person. A Microsoft Entra group that is a member of a team is shown as that group, not as its individual members.
Ploy does not show Azure DevOps' built-in "everyone" groups (Project Valid Users, Project Collection Valid Users).
What Ploy can change
With the access in step 2:
Add a person to, or remove them from, a team or security group.
Add a person to the organization, or remove them from it. Removing someone from the organization also removes them from every team and group. Ploy shows those removals after the next scan.
Give, change or take away an access level. Taking away a paid level moves the person to Stakeholder. Stakeholder cannot be taken away: remove the person from the organization instead. Ploy does not change a Visual Studio subscription level.
Ploy cannot make someone a team administrator, and cannot change the access of an application or of a Microsoft Entra group. Change those in Azure DevOps or Microsoft Entra ID.
If a change is refused, the message names the group to add Ploy's application to.