RichShillingtonMSFT

Results comments of RichShillingtonMSFT

As a workaround, add -Categories Example: [Array]$Categories = "JobLogs", "JobStreams", "DscNodeStatus" Set-AzureRmDiagnosticSetting -ResourceId $AutomationAccountResourceID -WorkspaceId $OMSWorkspaceResourceID -Enabled $true -RetentionEnabled $true -RetentionInDays $LogRetentionInDays -Categories $Categories -ErrorAction 'Stop' I tested this with...

Update: This also fails when setting this directly using Rest API. So the module may be ok, but it cannot be processed.

@mentat9 I am adding a policy to an initiative not adding parameters to the policy. This is allowed in the portal. It just doesn't work with PowerShell. I don't think...

This will be needed in Azure MAG as well.

Please also make this available in Azure Gov as well as Azure Cloud.

This one works for me. { "mode": "All", "policyRule": { "if": { "allOf": [ { "field": "type", "equals": "Microsoft.ApiManagement/service" }, { "not": { "field": "Microsoft.ApiManagement/service/virtualNetworkType", "like": "Internal" } } ]...