Reputation: 3145
After creating a new Microsoft 365 group and disabling the welcome email for its members with powershell:
Set-UnifiedGroup $group_name -UnifiedGroupWelcomeMessageEnabled:$false
I added members to this group and they still got the welcome email. This shows there is some delay on Microsoft side for the changes to get propagated. I verified that this happens with 250 seconds delay (since config update to members addition). Disable of welcome email is rendered useless due to this delay on MS side.
I am looking for a way to create new Microsoft 365 group that has welcome email disabled immediately i.e. new users added immediately should not get the welcome email.
Is there a way to create new Microsoft 365 group programmatically (via api or powershell) with welcome email disabled? I could not find any leads on the same.
Upvotes: 4
Views: 3127
Reputation: 171
Looks like the New-UnifiedGroup cmdlet used to have something like what you are looking for:
-SuppressWarmupMessage This parameter has been deprecated and is no longer used.
Sounds like the only way to do this would be to pre-create the groups several hours in advance so that the settings take effect.
Upvotes: 1