Skip to content

Commit 49e2925

Browse files
committed
Expanding and restructuring
1 parent 2056a74 commit 49e2925

1 file changed

Lines changed: 37 additions & 13 deletions

File tree

support/azure/azure-monitor/app-insights/troubleshoot-work-item-integration.md

Lines changed: 37 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,40 +9,64 @@ ms.custom: sap:Application Insights portal experiences
99

1010
[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.
1111

12-
## Create work item doesn't appear in end-to-end transaction details
12+
## Create work item option missing in transaction details
1313

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.
1517

16-
## On-premises Azure DevOps URL is rejected
18+
## On-premises Azure DevOps URL rejected
1719

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.
1923

20-
## Authorization prompt doesn't appear or linking fails
24+
> [!NOTE]
25+
> Self-hosted DevOps must be publicly accessible.
2126
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
2328

24-
## Work item creation fails with permission errors**
29+
**Cause:** Popup blockers or stale tokens.
30+
**Check:** Disable popup blockers, allow third-party cookies, and clear browser cache.
31+
**Fix:** Retry linking. If using OAuth, confirm required scopes are granted.
2532

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.
2742

2843
## Template fails to load or save
2944

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.
3148

3249
## Contextual data missing from created work items
3350

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.
3554

3655
## Template not visible to other users
3756

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.
3960

4061
## Template deletion doesn't remove existing links
4162

42-
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.
4365

4466
## GitHub issue or DevOps item opens in wrong repository/project
4567

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.
4771

4872
[!INCLUDE [Azure Help Support](../../../includes/azure-help-support.md)]

0 commit comments

Comments
 (0)