Mar 13 2024 11:40 PM
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
Mar 14 2024 12:58 AM
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
Mar 14 2024 01:05 AM
Mar 14 2024 01:55 AM
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