HealthMonitoringAlertConfig.ReadWrite.All
Allows the app to read and write all scenario monitoring alerts, without a signed-in user.
In short
HealthMonitoringAlertConfig.ReadWrite.All is available as both an application permission and a delegated permission in the Microsoft Graph API, grouped under the HealthMonitoringAlertConfig category. Allows the app to read and write all scenario monitoring alerts, without a signed-in user. It grants read and write access to resources. Application permissions always require admin consent.
Permission Details
Read and write all scenario monitoring alerts
Allows the app to read and write all scenario monitoring alerts, without a signed-in user.
432e76f0-8af6-4315-a853-66ab9538f480
Read and write all scenario monitoring alert configurations.
Allows the app to read and write all scenario monitoring alert configurations, on behalf of the signed-in user.
b3e5ebc6-1c23-4337-8286-3f27165addb4
Properties
Properties is shown from stable Microsoft Graph v1.0 metadata.
| Property | Type | Description |
|---|---|---|
content |
base64urlNullable |
The http content that has the data |
JSON Representation
JSON representation is shown from stable Microsoft Graph v1.0 metadata.
{
"content": "String"
}
Relationships
Relationships metadata is not available for this permission mapping.
View resource documentationGraph Methods
Microsoft Graph v1.0 endpoints are mapped directly from refreshed Microsoft Learn permissions tables.
No API methods available for this version.
Microsoft Graph beta endpoints are mapped directly from refreshed Microsoft Learn permissions tables.
| Methods |
|---|
GET
/reports/healthMonitoring/alertConfigurations/{alertConfigurationId}
|
PATCH
/reports/healthMonitoring/alertConfigurations/{alertConfigurationId}
|
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 docsMicrosoft Graph PowerShell beta commands are mapped directly from refreshed Microsoft Learn PowerShell snippets.
Code Examples
// Code snippets are only available for the latest version. Current version is 5.x
// Dependencies
using Microsoft.Graph.Beta.Models.HealthMonitoring;
var requestBody = new AlertConfiguration
{
EmailNotificationConfigurations = new List<EmailNotificationConfiguration>
{
new EmailNotificationConfiguration
{
GroupId = "c5140914-9507-4180-b60c-04d5ec5eddcb",
IsEnabled = true,
},
},
};
// 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.AlertConfigurations["{alertConfiguration-id}"].PatchAsync(requestBody);
const options = {
authProvider,
};
const client = Client.init(options);
const alertConfiguration = {
emailNotificationConfigurations: [
{
groupId: 'c5140914-9507-4180-b60c-04d5ec5eddcb',
isEnabled: true
}
]
};
await client.api('/reports/healthMonitoring/alertConfigurations/{alertConfigurationId}')
.version('beta')
.update(alertConfiguration);
Import-Module Microsoft.Graph.Beta.Reports
$params = @{
emailNotificationConfigurations = @(
@{
groupId = "c5140914-9507-4180-b60c-04d5ec5eddcb"
isEnabled = $true
}
)
}
Update-MgBetaReportHealthMonitoringAlertConfiguration -AlertConfigurationId $alertConfigurationId -BodyParameter $params
# 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_configuration import AlertConfiguration
from msgraph_beta.generated.models.health_monitoring.email_notification_configuration import EmailNotificationConfiguration
# To initialize your graph_client, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=python
request_body = AlertConfiguration(
email_notification_configurations = [
EmailNotificationConfiguration(
group_id = "c5140914-9507-4180-b60c-04d5ec5eddcb",
is_enabled = True,
),
],
)
result = await graph_client.reports.health_monitoring.alert_configurations.by_alert_configuration_id('alertConfiguration-id').patch(request_body)
App Registration
Navigate to Azure Portal
Go to App registrations in Microsoft Entra admin center
Add API Permission
Select your app → API permissions → Add a permission → Microsoft Graph
Select Permission Type
Choose Application permissions or delegated permissions and search for HealthMonitoringAlertConfig.ReadWrite.All
Grant Admin Consent
Application permissions always require admin consent.
Frequently asked questions
What is the HealthMonitoringAlertConfig.ReadWrite.All Microsoft Graph permission?
HealthMonitoringAlertConfig.ReadWrite.All is available as both an application permission and a delegated permission in the Microsoft Graph API, grouped under the HealthMonitoringAlertConfig category. Allows the app to read and write all scenario monitoring alerts, without a signed-in user. It grants read and write access to resources. Application permissions always require admin consent. It is mapped to the Microsoft Graph report resource type. 2 documented Microsoft Graph REST methods require it. 2 Microsoft Graph PowerShell commands are documented for it.
Is HealthMonitoringAlertConfig.ReadWrite.All an application or a delegated permission?
HealthMonitoringAlertConfig.ReadWrite.All is available as both an application permission (app-only access, no signed-in user) and a delegated permission (access on behalf of a signed-in user).
Does HealthMonitoringAlertConfig.ReadWrite.All require admin consent?
Application permissions always require admin consent.
What is the permission ID (GUID) for HealthMonitoringAlertConfig.ReadWrite.All?
For HealthMonitoringAlertConfig.ReadWrite.All, the application (app role) ID is 432e76f0-8af6-4315-a853-66ab9538f480, and the delegated (OAuth2 scope) ID is b3e5ebc6-1c23-4337-8286-3f27165addb4. These are the real Microsoft Graph identifiers and can be used directly in an app registration manifest.