ESC
Type to search...

HealthMonitoringAlert.ReadWrite.All

Export JSON
Export CSV
Copy URL
Print
ApplicationDelegated Read/Write All Resources

Allows the app to read and write all scenario monitoring alerts, without a signed-in user.

Permission data: April 6, 2026 at 4:06 AM UTC
Delegated Access App-Only Access

Permission Details

Application Permission

Read and write all scenario monitoring alerts

Allows the app to read and write all scenario monitoring alerts, without a signed-in user.

Delegated Permission Admin consent required

Read and write all scenario monitoring alerts

Allows the app to read and write all scenario monitoring alerts, on behalf of the signed-in user.

Properties

Microsoft Graph beta exact-category-docs

Properties is shown from beta metadata because a stable v1.0 schema is not available for this resource mapping.

Property Type Description
alertType healthMonitoring.alertType Indicates which type of scenario an alert is associated with. The possible values are: unknown, mfaSignInFailure, managedDeviceSignInFailure, compliantDeviceSignInFailure, unknownFutureValue, conditionalAccessBlockedSignIn, samlSignInFailure. Use the Prefer: include-unknown-enum-members request header to get the following value or values in this evolvable enum: conditionalAccessBlockedSignIn, samlSignInFailure. Supports $filter (eq).
category healthMonitoring.category The classification that groups the scenario. The possible values are: unknown, authentication, unknownFutureValue.
createdDateTime DateTimeOffset The time when Microsoft Entra Health monitoring generated the alert. Supports $orderby.
documentation healthMonitoring.documentation A key-value pair that contains the name of and link to the documentation to aid in investigation of the alert.
enrichment healthMonitoring.enrichment Investigative information on the alert. This information typically includes counts of impacted objects, which include directory objects such as users, groups, and devices, and a pointer to supporting data.
id String The unique GUID identifier of this alert in the associated tenant. Inherited from microsoft.graph.entity.
scenario healthMonitoring.scenario The area being monitored on the system that is emitting the source signals. The possible values are: unknown, mfa, devices, unknownFutureValue, conditionalAccess, saml. Use the Prefer: include-unknown-enum-members request header to get the following value or values in this evolvable enum: conditionalAccess, saml.
signals healthMonitoring.signals The collection of signals that were used in the generation of the alert. These signals are sourced from serviceActivity APIs and are added to the alert as key-value pairs.
state healthMonitoring.alertState The current lifecycle state of the alert. The possible values are: active, resolved, unknownFutureValue.

JSON Representation

Microsoft Graph beta exact-category-docs

JSON representation is shown from beta metadata because a stable v1.0 schema is not available for this resource mapping.

JSON representation
{
  "@odata.type": "#microsoft.graph.healthMonitoring.alert",
  "id": "String (identifier)",
  "alertType": "String",
  "scenario": "String",
  "category": "String",
  "createdDateTime": "String (timestamp)",
  "state": "String",
  "enrichment": {
    "@odata.type": "microsoft.graph.healthMonitoring.enrichment"
  },
  "signals": {
    "@odata.type": "microsoft.graph.healthMonitoring.signals"
  },
  "documentation": {
    "@odata.type": "microsoft.graph.healthMonitoring.documentation"
  }
}

Relationships

Microsoft Graph beta schema-derived

Relationships is shown from beta metadata because a stable v1.0 schema is not available for this resource mapping.

Relationship Type Description
alertType healthMonitoring.alertType Related alertType data exposed by this resource.
category healthMonitoring.category Related category data exposed by this resource.
scenario healthMonitoring.scenario Related scenario data exposed by this resource.
state healthMonitoring.alertState Related state data exposed by this resource.

Graph Methods

Delegated access App-only access
Exact Microsoft Learn match

Microsoft Graph v1.0 endpoints are mapped directly from refreshed Microsoft Learn permissions tables.

No API methods available for this version.

Exact Microsoft Learn match

Microsoft Graph beta endpoints are mapped directly from refreshed Microsoft Learn permissions tables.

Methods
GET /reports/healthMonitoring/alerts/{alertId}
PATCH /reports/healthMonitoring/alerts/{alertId}
Exact Microsoft Learn PowerShell match

Microsoft Graph PowerShell v1.0 commands are mapped directly from refreshed Microsoft Learn PowerShell snippets.

No deterministic PowerShell command map is available for this permission.

Browse PowerShell docs
Exact Microsoft Learn PowerShell match

Microsoft Graph PowerShell beta commands are mapped directly from refreshed Microsoft Learn PowerShell snippets.

Commands
Get-MgBetaReportHealthMonitoringAlert /reports/healthMonitoring/alerts/{alertId}
Get alert
Update-MgBetaReportHealthMonitoringAlert /reports/healthMonitoring/alerts/{alertId}
Update alert

Code Examples

C# / .NET SDK
Update alert
// Code snippets are only available for the latest version. Current version is 5.x

// Dependencies
using Microsoft.Graph.Beta.Models.HealthMonitoring;

var requestBody = new Alert
{
	State = AlertState.Resolved,
};

// To initialize your graphClient, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=csharp
var result = await graphClient.Reports.HealthMonitoring.Alerts["{alert-id}"].PatchAsync(requestBody);
JavaScript
Update alert
const options = {
	authProvider,
};

const client = Client.init(options);

const alert = {
  state: 'resolved'
};

await client.api('/reports/healthMonitoring/alerts/{alertId}')
	.version('beta')
	.update(alert);
PowerShell
Update alert
Import-Module Microsoft.Graph.Beta.Reports

$params = @{
	state = "resolved"
}

Update-MgBetaReportHealthMonitoringAlert -AlertId $alertId -BodyParameter $params
Python
Update alert
# Code snippets are only available for the latest version. Current version is 1.x
from msgraph_beta import GraphServiceClient
from msgraph_beta.generated.models.health_monitoring.alert import Alert
from msgraph_beta.generated.models.alert_state import AlertState
# To initialize your graph_client, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=python
request_body = Alert(
	state = AlertState.Resolved,
)

result = await graph_client.reports.health_monitoring.alerts.by_alert_id('alert-id').patch(request_body)

App Registration

1

Navigate to Azure Portal

Go to App registrations in Microsoft Entra admin center

2

Add API Permission

Select your app → API permissions → Add a permission → Microsoft Graph

3

Select Permission Type

Choose Application permissions or delegated permissions and search for HealthMonitoringAlert.ReadWrite.All

4

Grant Admin Consent

Application permissions always require admin consent.