Edit

Share via


Use Azure Monitor issues and investigations (preview)

This article guides you through getting started with Azure Monitor issues and investigations. It shows how to trigger the observability agent to investigate issues, identify resource problems, explain why an alert fired, and provide next steps to mitigate and resolve problems with Azure resources.

Prerequisites

Associate an AMW in the Azure portal

Note

This setup is required once for each subscription you want to investigate. A user with the Contributor role on the subscription should perform this setup.

Associating a subscription with an Azure Monitor Workspace is required to create issues and run observability agent investigations:

  1. If the alert's target resource subscription isn't already linked to an AMW, you see a message indicating that an Azure Monitor Workspace is required. The Select an Azure Monitor workspace screen appears.
  2. Select an existing Azure Monitor Workspace or create a new one as needed.
  3. After confirming your selection, the Issue page reloads and the observability agent automatically starts investigating.

Associate an AMW via REST API

You can create, update, view, and delete an AMW association to a subscription using the following REST API commands.

Create or update an association

PUT https://management.azure.com/subscriptions/<subscription_id>/providers/microsoft.monitor/settings/default?api-version=2025-06-03-preview
Host: management.azure.com
Content-Type: application/json
Authorization: Bearer <bearerToken>

{
  "properties": {
    "defaultAzureMonitorWorkspace": "<amw_id>"
  }
}

View an association

GET https://management.azure.com/subscriptions/<subscription_id>/providers/microsoft.monitor/settings/default?api-version=2025-06-03-preview
Host: management.azure.com
Authorization: Bearer <bearerToken>

Delete an association

DELETE https://management.azure.com/subscriptions/<subscription_id>/providers/microsoft.monitor/settings/default?api-version=2025-06-03-preview
Host: management.azure.com
Authorization: Bearer <bearerToken>

Ways to start an observability agent investigation on an alert

There are two ways to start an observability agent investigation on an alert:

  • From the home page in the Azure portal:

    1. From the home page in the Azure portal, select Monitor > Alerts.
    2. From the Alerts page, select the alert that you want to investigate.
    3. In the alert details pane, select Investigate (preview).

    Screenshot of alerts screen with investigate an alert link.

  • From the alert email notification: Alternatively, you can select Investigate from the email notification about an alert. An issue is created, and the observability agent begins investigating.

When the observability agent completes its investigation, a set of findings is displayed. For next steps, see the Working with investigation findings section of this article.

Change the parameters of an issue

You can change the parameters of an issue using the dropdowns on the overview tab of the issue page.

  • Severity. The severity of an issue can be verbose, informational, error, warning or critical.
  • Status. The status of an issue can be New, In-Progress, Mitigated, Resolved, Closed, Canceled or On-Hold.
  • Impact time. You can change the impact time of the issue. Changing the impact time automatically initiates a new observability agent investigation using the updated time.

You can share a link to the issue by selecting Share link. The link to the issue is copied to your clipboard. Make sure that permissions for viewing the issue are given to the recipients.

View the issue background

The issue background provides information about the alerts associated with the issue. Select Issue background.

Work with investigation findings

The observability agent presents findings based on the data it analyzed. To review the findings:

  1. Select the Investigation tab of the issue page.
  2. Select the finding. Every finding has an observability agent summary.
  3. Read the observability agent summary. The summary includes a What happened section, a Possible cause section and a What can be done next section.
  4. Select the See cause + next steps button to see the full summary.
  5. Select Click to expand to view more details about the data presented in the Evidence for summary section of the investigation. To understand the evidence types used in an investigation, see [Evidence types](link to overview goes here) in the Issues and investigation overview article.

Scope the investigation

Change the impact time of the investigation

  1. Select the Overview tab.
  2. Select impact time and adjust it. Changing the time automatically triggers the observability agent to start a new investigation.

Change the resources included in the investigation

  1. Select the Resources tab.
  2. Select Edit resources.
  3. Select the other resources you want the observability agent to include in the investigation. A new investigation begins.