You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/software-engineering-insights/shared/integrations/azure-devops.mdx
+30-23Lines changed: 30 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ Azure DevOps Services is a cloud offering. To integrate with the on-premises off
16
16
17
17
### Requirements
18
18
19
-
The following permissions and settings are required to use the **SEI AzureDevOps Services integration**:
19
+
The following permissions and settings are required to use the **SEI Azure DevOps Services integration**:
20
20
21
21
<Tabs>
22
22
<TabItemvalue="OAuth"label="OAuth"default>
@@ -32,22 +32,26 @@ The following permissions and settings are required to use the **SEI AzureDevOps
32
32
</TabItem>
33
33
<TabItemvalue="PAT"label="Personal Access Token">
34
34
35
-
Before you configure the **SEI AzureDevOps integration**, you must generate a **Personal Access Token**.
35
+
Before you configure the **SEI Azure DevOps integration**, you must generate a **Personal Access Token**.
36
36
37
-
1. Sign in to your **Azure DevOps organization** with **Microsoft account** using the following url: `https://dev.azure.com/{yourorganisation}`.
37
+
The SEI Azure DevOps integration only ingests projects accessible to the provided token. If access changes later, ingestion for those projects will stop until access is restored.
38
+
39
+
1. Sign in to your **Azure DevOps organization** with your **Microsoft account** using the following URL: `https://dev.azure.com/{yourorganisation}`.
38
40
2. Navigate to your **User Settings**:
39
-
1. Click on your profile picture in the top right corner.
40
-
2. Select **Security** from the dropdown menu.
41
-
3. Under **Personal Access Tokens**, click on the **+ New Token** button.
41
+
42
+
- Click on your profile picture in the top right corner.
43
+
- Select **Security** from the dropdown menu.
44
+
- Under **Personal Access Tokens**, click on the **+ New Token** button.
45
+
42
46
3. In the **Organization** dropdown, select **All accessible organizations**.
43
47
44
-
:::info
45
-
Due to a limitation in Azure DevOps, the PAT token must be configured with the All accessible organizations scope to ensure Harness can retrieve the user data
46
-
:::
48
+
:::info
49
+
Due to a limitation in Azure DevOps, the PAT token must be configured with the All accessible organizations scope to ensure Harness can retrieve the user data.
50
+
:::
47
51
48
52
4. Configure the **Scopes** by choosing the required level of access for the token as given below.
49
53
50
-
<imgsrc={adoPatPermissions}alt="Permissions for an Azure DevOps for the PAT token"width="1000" />
54
+
<imgsrc={adoPatPermissions}alt="Permissions for an Azure DevOps for the PAT token"width="1000" />
51
55
52
56
</TabItem>
53
57
</Tabs>
@@ -94,30 +98,32 @@ To ensure your integration can work correctly, refer to the list of [Harness Pla
94
98
* The **Description** and **Tags** are optional.
95
99
* Add the **Personal Access Token** you previously generated in Azure DevOps.
96
100
97
-
<imgsrc={adoPat}alt="Add the Azure DevOps PAT"width="1000" />
101
+
<imgsrc={adoPat}alt="Add the Azure DevOps PAT"width="1000" />
98
102
99
103
* Select the specific Azure DevOps services you want to integrate:
* Click on **Validate Connection** to validate the connection, and once successful, you'll have the integration set up under the **Your Integrations** tab.
107
111
108
-
:::info
109
-
Different integrations will be automatically created for all the Azure DevOps services.
112
+
:::info
113
+
Different integrations will be automatically created for all the Azure DevOps services.
110
114
111
-
For example:
115
+
For example:
112
116
113
-
* Azure integration - Boards for Azure Boards
114
-
* Azure integration - Pipelines for Azure DevOps Pipelines
115
-
* Azure integration - Repos for Azure DevOps Repos
116
-
:::
117
+
* Azure integration - Boards for Azure Boards
118
+
* Azure integration - Pipelines for Azure DevOps Pipelines
119
+
* Azure integration - Repos for Azure DevOps Repos
120
+
:::
117
121
118
122
</TabItem>
119
123
</Tabs>
120
124
125
+
After adding the integration, it may take up to 24 hours for data to fully sync to SEI. During this time, any widgets you set up in Insights may not display data until the sync is complete.
126
+
121
127
### Limitations
122
128
123
129
1. The Azure DevOps integration currently ingests and retains data for the last 90 days.
@@ -129,10 +135,11 @@ For example:
129
135
* CICD Pipeline Jobs Duration Report
130
136
* CICD Pipeline Jobs Duration Trend Report
131
137
4. The integration does not accurately reflect the pipeline stage status across the widgets.
132
-
133
-
:::note
134
-
After adding the integration, it may take up to 24 hours for data to fully sync to SEI. During this time, any widgets you set up in Insights may not display data until the sync is complete.
135
-
:::
138
+
5. If the access token used for the integration loses access to some projects (i.e. when projects are removed or permissions change), SEI will stop ingesting data from those projects. Data ingestion continues for the remaining accessible projects.
139
+
140
+
If project access is restored later, ingestion resumes **incrementally** for the newly accessible projects. Historical data will not be backfilled automatically, since SEI has no reference point for when to start ingestion.
141
+
142
+
To capture historical data for newly added projects, contact [Harness Support](/docs/software-engineering-insights/sei-support) to schedule a manual ingestion re-run for the selected projects.
0 commit comments