Forum Discussion
Configuring Alerts using PowerShell
- Sep 06, 2018
he solution to this problem turns out to be the inclusion of the following command:
-aggregationtype none
which limits the creation of alerts to a single item which is supported by all SKUs. Add that to the command and you are off to the races.
Try the Get-ActivityAlert/New-ActivityAlert istead.
- Robert CraneAug 27, 2018MVP
I have already set these 'Activity Alerts' via PowerShell. They work as expected. These however are not the same currently as the ones I am trying to set here.
Thus, there are two types of O365 alerts, old ones (new-activityalert) and new ones (new-protectionalert).
New alerts are here -
https://protection.office.com/#/alertpolicies
Old Alerts are here -
https://protection.office.com/#/managealerts
If you look at the doc page for new-protectionalert - https://docs.microsoft.com/en-us/powershell/module/exchange/policy-and-compliance/new-protectionalert there ain't much there.
Doing these new alerts via PowerShell will save so much time but even though we can do them via the web interface we can't do via scripting!
- VasilMichevAug 28, 2018MVP
The ones you refer to as "new" have always required E5/TI (you can even see the difference in name - "alert *policies*", as they relate to CAS/ASM).
- Robert CraneAug 28, 2018MVP
If they are E5 only why can I set them in the web interface for with any SKU??
I can set these alerts via all plans in web interface but not via PowerShell.