Azure / Azure/azure-powershell

Run 'Add-AzureRmMetricAlertRule' failed

Open
#3,839 6 comments 0 reactions 1 assignee Claimed by @gucalder View on GitHub
act-observability-squad customer-reported Monitor - Alerts Service Attention
Dominant language
C#
Stars
4.8k
Forks
4.3k
Avg merge
2d 17h
Merged PRs (30d)
51

Description

### Cmdlet(s)
Add-AzureRmMetricAlertRule

### PowerShell Version
5.0.10586.672

### Module Version
AzureRM 3.8.0

### OS Version
10.0.10586.672

### Description
When i runned the command
'Add-AzureRmMetricAlertRule -Name "metricRule5" -Location "East US" -ResourceGroup "Default-Web-EastUS" -Operator GreaterThan -Threshold 1 -TargetResourceId "/subscriptions/b93fb07a-6f93-30be-bf3e-4f0deca15f4f/resourceGroups/Default-Web-EastUS/providers/microsoft.web/sites/mywebsite" -MetricName "Requests" -TimeAggregationOperator Total' in azure powershell

I received the below exception,
Add-AzureRmMetricAlertRule : Exception of type 'Microsoft.WindowsAzure.Management.Monitoring.MonitoringServiceException
' was thrown.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.