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
[Work item integration](/azure/azure-monitor/app/work-item-integration) in Application Insights might not work as expected. This article offers general recommendations and specific troubleshooting steps.
11
11
12
-
## Create work item doesn't appear in end-to-end transaction details
12
+
## Create work item option missing in transaction details
13
13
14
-
First, create a template or start with **Start with a workbook template** from the **Create a work item** flow.
14
+
**Cause:** Integration not enabled or resource not linked to Azure DevOps/GitHub.
15
+
**Check:** In Application Insights, go to **Work Items** and confirm integration settings.
16
+
**Fix:** Enable integration and ensure you start from **Create a work item** or a workbook template.
15
17
16
-
## On-premises Azure DevOps URL is rejected
18
+
## On-premises Azure DevOps URL rejected
17
19
18
-
To match your host, update the workbook's repository URL text parameter and its validation rule (regular expression).
20
+
**Cause:** URL validation fails due to unsupported format.
21
+
**Check:** Ensure the URL uses HTTPS and matches the regex (regular expressions) in the workbook parameter.
22
+
**Fix:** Update the workbook's repository URL parameter and validation rule.
19
23
20
-
## Authorization prompt doesn't appear or linking fails
24
+
> [!NOTE]
25
+
> Self-hosted DevOps must be publicly accessible.
21
26
22
-
Confirm that popup blockers are disabled for the Azure portal and that your browser allows third-party cookies. Then try linking again.
27
+
## Authorization prompt missing or linking fails
23
28
24
-
## Work item creation fails with permission errors**
**Fix:** Retry linking. If using OAuth, confirm required scopes are granted.
25
32
26
-
Verify that your Azure DevOps or GitHub account has permission to create issues or work items in the selected repository or project. You might need **Contribute** (DevOps) or **Write** (GitHub) permissions.
33
+
## Work item creation fails with permission errors
34
+
35
+
**Cause:** Insufficient permissions in Azure DevOps or GitHub.
36
+
**Check:** Verify account roles:
37
+
38
+
* Azure DevOps: Needs *Contribute* permission.
39
+
* GitHub: Needs *Write* access.
40
+
41
+
**Fix:** If using PAT (Personal Access Token), ensure it includes **Work Items** (read/write) scope.
27
42
28
43
## Template fails to load or save
29
44
30
-
Ensure the selected region supports the `Microsoft.Insights/workbooks` resource type and that your role includes `Microsoft.Insights/workbooks/write`. Try saving in a different region if necessary.
45
+
**Cause:** Region or RBAC issues.
46
+
**Check:** Confirm region supports *Microsoft.Insights/workbooks* and resource provider is registered.
47
+
**Fix:** Assign *Microsoft.Insights/workbooks/write* role or try saving in a supported region.
31
48
32
49
## Contextual data missing from created work items
33
50
34
-
Check that the Kusto Query Language (KQL) section of the workbook template returns data in the expected schema. If fields were renamed or the resource ID changed, update the query or bindings.
51
+
**Cause:** KQL query returns unexpected schema.
52
+
**Check:** Run the query in **Logs** and validate output fields.
53
+
**Fix:** Update bindings or query to match expected schema.
35
54
36
55
## Template not visible to other users
37
56
38
-
Workbook-based templates are stored as Azure resources. Ensure the resource is in a shared resource group and that other users have at least **Reader** access to that resource.
57
+
**Cause:** Workbook saved as private or RBAC restrictions.
58
+
**Check:** Ensure template is in a shared resource group and not saved as *My Reports*.
59
+
**Fix:** Grant at least *Reader* access to the resource.
Removing the workbook doesn't automatically clear cached configuration. Refresh the **Work Items** blade in Application Insights or clear your browser cache to update the list.
63
+
**Cause:** Cached configuration persists.
64
+
**Fix:** Refresh the **Work Items** pane or clear browser cache. For persistent links, manually unlink in resource settings.
43
65
44
66
## GitHub issue or DevOps item opens in wrong repository/project
45
67
46
-
Open the workbook and confirm the default repository or organization URL parameter is set correctly. If you have multiple templates, check which is currently linked to the resource.
68
+
**Cause:** Incorrect default parameter or multiple templates.
69
+
**Check:** Open the workbook and confirm repository/organization URL.
70
+
**Fix:** Update defaults or remove conflicting templates.
47
71
48
72
[!INCLUDE [Azure Help Support](../../../includes/azure-help-support.md)]
0 commit comments