Capabilities
| Resource | Sync | Provision |
|---|---|---|
| Accounts | ||
| Service accounts | ||
| Service principals | ||
| Projects | ||
| Groups |
Gather Azure DevOps credentials
Configuring the connector requires you to pass in credentials generated in Azure DevOps. Gather these credentials before you move on. You can authenticate the Azure DevOps connector by registering a web app and signing in with OAuth, or by using a personal access token. Follow the relevant set of instructions below to create your preferred set of credentials.Option 1: Register a web application
1
In Azure DevOps, navigate to App registrations and create a new app.
2
Give the new app a name and select the Accounts in any organizational directory option.
3
Enter
https://accounts.conductor.one/oauth/callback as a Web redirect URI.4
Click Register.
5
Carefully copy and save the application (client) ID.
6
Click Certificates & secrets and create a new secret.
7
Carefully copy and save the secret Value (not the secret ID).
8
Finally, click API permissions and select Azure DevOps.
9
Give the app the following permissions:
- user_impersonation (Azure DevOps only allows delegated permissions)
- vso.graph_manage
- vso.memberentitlementmanagement_write
- vso.profile
10
Click Add permissions.
11
Carefully copy and save your Azure tenant ID and organization URL.
Option 2: Create a personal access token
1
In Azure DevOps, navigate to your users settings (the person icon in the top menu bar) and select personal access tokens.
2
Click + New Token.
3
Give the new token a name, such as “ConductorOne”, then select the relevant organization and set an expiration date.
4
Under Scopes, select Custom defined and set the relevant set of scopes:
To give the connector READ (sync only) permissions:
- Graph: Read - Enables all Graph API read operations (users, groups, service principals, memberships, storage keys, descriptors, subject queries)
- Project and Team: Read - Enables all Core API read operations (projects, teams, team members) To give the connector READ/WRITE (sync and provision) permissions:
- Graph: Read & manage - Enables all Graph API read and write operations (users, groups, service principals, memberships, storage keys, descriptors, subject queries)
- Member Entitlement Management: Read & write - Enables all Entitlements API read and write operations (list, create, and update user entitlements and licenses)
- Project and Team: Read - Enables all Core API read operations (projects, teams, team members) To enable incremental sync (optional):
- Audit Log: Read - Required if you want to enable the incremental sync feature, which syncs only changes since the last sync
5
Click Create.
6
The new token is created. Carefully copy and save the token.
Configure the Azure DevOps connector
- Cloud-hosted
- Self-hosted
Follow these instructions to use a built-in, no-code connector hosted by ConductorOne.That’s it! Your Azure DevOps connector is now pulling access data into ConductorOne.
1
In ConductorOne, navigate to Admin > Connectors and click Add connector.
2
Search for Azure DevOps and click Add.
3
Choose how to set up the new Azure DevOps connector:
- Add the connector to a currently unmanaged app (select from the list of apps that were discovered in your identity, SSO, or federation provider that aren’t yet managed with ConductorOne)
- Add the connector to a managed app (select from the list of existing managed apps)
- Create a new managed app
4
Set the owner for this connector. You can manage the connector yourself, or choose someone else from the list of ConductorOne users. Setting multiple owners is allowed.
If you choose someone else, ConductorOne will notify the new connector owner by email that their help is needed to complete the setup process.
5
Click Next.
6
Find the Settings area of the page and click Edit.
7
Select your method of authenticating to Azure DevOps and click either OAuth or Username and password.
If you chose OAuth:
- Enter your organization URL, Azure tenant ID, OAuth client ID, and OAuth client secret in the relevant fields.
- Optional. Check the boxes if you want to Sync teams or Sync organizations.
- Optional. Check Enable incremental sync to allow the connector to read audit logs and capture updates between full syncs. Requires the Audit Log: Read permission.
- Click Save.
- Click Login with OAuth.
- Log in and authorize ConductorOne with your Salesforce instance.
- You will then be redirected back to the Salesforce setup page in ConductorOne, where you’ll see an authorization message. If you chose Personal access token:
- Paste your Azure DevOps organization URL in the format
https://dev.azure.com/{Your_Organization}into the Organization URL field. - Paste the token into the Personal Access Token field.
- Optional. Check the boxes if you want to Sync teams or Sync organizations.
- Optional. Check Enable incremental sync to allow the connector to read audit logs and capture updates between full syncs. Requires the Audit Log: Read permission.
- Click Save.
8
The connector’s label changes to Syncing, followed by Connected. You can view the logs to ensure that information is syncing.