Sergmis
Sergmis
You may have to weed out service health events by adding | Where {$_.Category -ne 'ServiceHealth'} as the have no Caller
So Set-AzureRmActivityLogAlert takes the SDK type for -Action instead of the PowerShell type and only Set-AzureRmActionGroup returns the proper type? What about Get-AzureRMActionGroup? I don't think we should have to...
Thanks @MiYanni got it to create a new ActivityLog alert using $AGOnlyEmail = Get-AzureRmActionGroup -Name 'MyTeamAlerts' -ResourceGroup 'my-rg' . Figured out appropriate New-AzureRmActivityLogAlertCondition conditions for category equal to Administrative from...