Forum Discussion
Robert Crane
Aug 26, 2018MVP
Configuring Alerts using PowerShell
I want to be able to configure the Office 365 alerts using PowerShell. To do this, as I understand it I need to use the cmdlet new-protcetionalert. However, when I use this I get an error like:
...
- 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.
Robert Crane
Aug 28, 2018MVP
I am indeed creating pure Protection Alerts, like this:
These option are not available in activity alerts.
Again this alerts works via web interface on all SKU but I can't configure by PowerShell. This I don't understand.
Robert Crane
Sep 06, 2018MVP
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.