-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Closed
Labels
MonitorService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.
Description
Description
With 5.1.0 you introduced the new -Name parameter. Great! But unfortunately it does not work and the whole Cmdlet seems to be broken!
Script/Steps for Reproduction
If you specifiy the -name param or not, you will always get the error:
The diagnostic setting 'service' [or whatever name you entered]
doesn't exist., Code: ResourceNotFound, Status code:NotFound, Reason phrase: Not Found
Module Version
5.1.0
Environment Data
$PSVersionTable
Debug Output
<Set-AzureRmDiagnosticSetting : Exception type: ErrorResponseException, Message: The diagnostic setting 'service'
doesn't exist., Code: ResourceNotFound, Status code:NotFound, Reason phrase: Not Found
At line:1 char:1
- Set-AzureRmDiagnosticSetting -ResourceId $r.Id -WorkspaceId /subscrip ...
-
+ CategoryInfo : CloseError: (:) [Set-AzureRmDiagnosticSetting], PSInvalidOperationException + FullyQualifiedErrorId : Microsoft.Azure.Commands.Insights.Diagnostics.SetAzureRmDiagnosticSettingCommand
Metadata
Metadata
Assignees
Labels
MonitorService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.