Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The Azure DevOps Work Items connector indexes work items - such as user stories, tasks, bugs, and features - from your Azure DevOps Services organization into Microsoft 365. Use this guide to configure authentication, create the connection in the Microsoft 365 admin center, and customize connector settings.
For Azure DevOps configuration information, see Set up the Azure DevOps environment for connector ingestion.
Prerequisites
Before you deploy the Azure DevOps Work Items connector, have the Azure DevOps admin complete admin setup to prepare the crawl account and project access. Make sure that you meet the following prerequisites:
- You must be a Microsoft 365 admin.
- You identified the Azure DevOps organization to index.
- You configured a crawl service account in Azure DevOps that has at least the required read permissions for all projects and area paths to be indexed.
Deploy the connector
To add the Azure DevOps Work Items connector for your organization:
- In the Microsoft 365 admin center, in the left pane, choose Copilot > Connectors.
- Choose the Gallery tab.
- From the list of available connectors, choose Azure DevOps Work Items.
Set display name
The display name is used to identify references in Copilot responses to help users recognize the associated content source. You can accept the default Azure DevOps Work Items display name or customize it as appropriate for your organization.
Set instance URL
Enter your Azure DevOps organization name. For example:
- URL:
https://dev.azure.com/contosoorhttps://contoso.visualstudio.com - Organization:
contoso
Only the organization name is required—don't provide the full URL.
Choose authentication type
To sync work items from Azure DevOps, choose one of the supported authentication methods and complete its configuration steps. Use the same method and crawl account identified during admin setup:
- Federated Credential (recommended) - Uses a service principal to crawl content.
- Microsoft Entra ID OAuth - Uses the signed‑in Microsoft 365 admin account.
Federated Credential (recommended)
Federated Credential uses Graph Connector Federated Credential App to read work items. You don't need to create your own app registration or client secret. Complete this section, then continue to Roll out.
Confirm that the service principal app is provisioned
Graph Connector Federated Credential App must be available in your tenant. If you didn't prepare the application during admin setup, follow Identify the crawl account before continuing.
Grant the Microsoft Entra app access to Azure DevOps projects
The application must have Basic access and permissions for the projects to index. If you didn't assign this access during admin setup, follow Grant Azure DevOps access to the crawl account before continuing.
Configure Federated Credential authentication
Select Federated Credential as the authentication type and authenticate when prompted.
Microsoft Entra ID OAuth
Microsoft Entra ID OAuth uses the signed-in Microsoft 365 admin account to crawl work items. The account must have Read access to the Azure DevOps projects being indexed. Configuring the OAuth application might also require assistance from a Microsoft Entra administrator to register the application and grant admin consent.
Confirm that your Azure DevOps organization is connected to Microsoft Entra
The Azure DevOps organization must be connected to the same Microsoft Entra tenant as your Microsoft 365 organization. If you didn't check this condition during admin setup, follow Enable API access before continuing.
Create an app in Microsoft Entra ID
- Sign in to the Azure portal with admin credentials.
- Go to Microsoft Entra ID > Identity > Applications > App registrations, then select New registration.
- Enter a name for the app and select Register.
- Note the Application (client) ID—enter it in the Microsoft 365 admin center to identify the OAuth app.
Configure API permissions
- In the app registration, select API permissions.
- Choose Add a permission > Azure DevOps > Delegated permissions.
- Add the following permissions (all under vso):
- vso.analytics – Analytics (read)
- vso.graph – Graph (read)
- vso.identity – Identity (read)
- vso.project – Project and team (read)
- vso.variablegroups_read – Variable Groups (read)
- vso.work – Work items (read)
- Select Grant admin consent for <TenantName> and confirm.
- Verify that all permissions show the status Granted.
Configure authentication settings
- In the app registration, select Authentication.
- Select Add a platform and choose Web.
- Under Redirect URIs, add the URI for your cloud environment:
- Microsoft 365 Enterprise:
https://gcs.office.com/v1.0/admin/oauth/callback - Microsoft 365 Government:
https://gcsgcc.office.com/v1.0/admin/oauth/callback
- Microsoft 365 Enterprise:
- Under Implicit grant and hybrid flows, select ID tokens.
- Select Configure to save the settings.
Create a client secret
- In the app registration, select Certificates and secrets.
- Under Client secrets, select New client secret.
- Choose an expiration period and create the secret.
- Copy the Value of the secret and store it securely. You can't view it again after you leave the page.
Provide the application (client) ID and client secret value securely to the Microsoft 365 admin who authenticates the connector.
Authenticate the Microsoft Entra app with a crawl account
- In the Microsoft 365 admin center, select Microsoft Entra ID OAuth.
- Enter the application (client) ID and client secret value.
- Complete sign-in with the Microsoft 365 admin account that you granted access to in Azure DevOps. If the browser selects a different account automatically, switch to the prepared account.
If you're already signed in with that Microsoft 365 admin account, the app can be authenticated through single sign-on. Microsoft Entra ID issues an access token to the app, which includes the user's identity and the delegated permissions granted to the app. The app can access only the data and actions that the signed-in Microsoft 365 admin user is authorized to access in Azure DevOps.
After authentication, continue to Roll out.
Roll out
To roll out the connector to a limited audience, choose the toggle next to Rollout to limited audience and specify the users or groups to roll the connector out to. This allows you to validate the connector before a full deployment. For more information, see Staged rollout for Copilot connectors.
Choose Create to deploy the connection. The Azure DevOps Work Items connector begins indexing content immediately.
The following table lists the default values that are set.
| Category | Default value |
|---|---|
| Users | Only people with access to the content in the data source. Data source identities mapped using Microsoft Entra IDs. |
| Content | All projects are indexed. |
| Sync | Full crawl every day. Incremental crawl every 15 minutes. |
To customize these values, choose Custom setup. For more information, see Customize settings.
After you create your connection, you can review the status in the Connectors section of the Microsoft 365 admin center.
Customize settings (optional)
You can customize the default settings for the Azure DevOps Work Items connector by choosing Custom setup in the connector page.
Customize user settings
Access permissions
The Azure DevOps Work Items connector supports the following search permissions:
- Visible to everyone
- Only people with access to this data source
If you choose Visible to everyone, indexed data appears in the search results for all users. If you choose Only people with access to this data source, indexed data appears in the search results for users who have access to it.
Note
Updates to groups governing access permissions are synced in full crawls only. Incremental crawls don't support the processing of updates to permissions.
Map identities
Identity mapping ensures that Azure DevOps identities map correctly to Microsoft Entra ID users. This mapping applies to both authentication methods.
Customize content settings
Manage properties
You can add or remove properties from your Azure DevOps data source, assign a schema to the property (define whether a property is searchable, queryable, retrievable, or refinable), change the semantic label, and add an alias to the property. The following table lists the properties that are indexed by default.
| Property | Semantic label | Description | Schema attributes |
|---|---|---|---|
| AreaPath | The area path to the work item | Query, Retrieve, Search | |
| AssignedTo | Name of person the work item is assigned to | Query, Retrieve, Search | |
| Authors | Authors | Retrieve | |
| ChangedBy | Last modified by | Person name who last modified the work item | Query, Retrieve |
| ChangedDate | Last modified date time | Query, Retrieve | |
| CreatedBy | Created by | Person name who created the work item | Query, Retrieve, Search |
| CreatedDate | Created date time | Timestamp when work item was created | Query, Retrieve |
| Description | Content | Description of work item | Search |
| IconUrl | IconUrl | Retrieve | |
| Id | Work item ID | Query, Retrieve, Search | |
| Priority | Priority of work item | Query, Retrieve | |
| ReproSteps | Steps to reproduce a condition described in work item | ||
| State | Current state of the work item | Query, Retrieve, Search | |
| Tags | Query, Retrieve, Search | ||
| TeamProject | Retrieve | ||
| Title | Title | Title of the work item | Retrieve, Search |
| URL | url | URL of the work item | Retrieve |
| WorkItemType | Query, Retrieve, Search |
Customize sync intervals
You can adjust how frequently the connector crawls your Azure DevOps organization. The following sync intervals are available:
- Full crawl: Recrawls the entire Azure DevOps dataset.
- Incremental crawl: Recrawls only updated items.
The default sync settings are optimized for most organizations.
For more information, see Guidelines for crawl settings.