Disable all email notifications for SharePoint online Team site

Copper Contributor

Hi Team,

 

I want to disable all email notifications for SharePoint online Team site. My use case is I am migrating or creating new sites and pages using PnP SDK C# and want to avoid any owner or other email notifications to users.

 

 

Thanks,

Arun

3 Replies

Hello @ArunK770 

 

you can disable the automatic news digest from SharePoint with this: https://sharepoint.handsontek.net/2020/10/19/disable-automatic-news-digest-sharepoint/

 

Connect-SPOService -Url https://<TENANT>-admin.sharepoint.com
Get-SPOTenant
Set-SPOTenant -EnableAutoNewsDigest $true
##Set-SPOTenant -EnableAutoNewsDigest $false

 

Don't forget to enable it after your migration ;)

 

Best, Dave

Hi David,

Thanks for the response. Just want to confirm is this only for News Posts notifications? Because I have other use cases or scenarios when I am migrating page comments and likes then its sending email notifications to Page Owners or adding users to SP groups then its sending email notifications for that as well. Is there a way to disable all these notifications?

Thanks,
Arun

Hello @ArunK770 

 

yes, that's correct, it's only for the news digest email.

 

Hmm, i think you can't find the "big red button". 

 

You can try to set more options to disable: https://learn.microsoft.com/de-de/powershell/module/sharepoint-online/set-spotenant?view=sharepoint-...

 

as examples (but not tested)

[-NotificationsInOneDriveForBusinessEnabled <Boolean>]

[-NotificationsInSharePointEnabled <Boolean>]

[-NotifyOwnersWhenInvitationsAccepted <Boolean>]

[-NotifyOwnersWhenItemsReshared <Boolean>]

 

Maybe you can find also a PowerShell for this options to disable on Tenant level: https://support.microsoft.com/en-us/office/set-your-sharepoint-email-notification-preferences-5bd63d...

 

Best, Dave