How can i suppress the notification email sent when adding a user to a team

%3CLINGO-SUB%20id%3D%22lingo-sub-193221%22%20slang%3D%22en-US%22%3EHow%20can%20i%20suppress%20the%20notification%20email%20sent%20when%20adding%20a%20user%20to%20a%20team%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-193221%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3EI%20have%20a%20requirement%20from%20a%20customer%20that%20no%20email%20notification%20should%20be%20sent%20when%20creating%2Fadding%20users%20to%20a%20o365%20group.%20I%20have%20seen%20powershell%20commands%20to%20turn%20this%20off%20but%26nbsp%3BI%20need%20to%20add%20it%20to%20the%20provisioning%20process.%3C%2FP%3E%3CP%3EDoes%20anyone%20know%20if%20there%20is%20a%20way%20to%20do%20this%20using%20either%20managed%20code%20or%20REST%3F%3C%2FP%3E%3CP%3EBest%20regards%3C%2FP%3E%3CP%3E%2F%2FJoakim%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-193266%22%20slang%3D%22en-US%22%3ERe%3A%20How%20can%20i%20suppress%20the%20notification%20email%20sent%20when%20adding%20a%20user%20to%20a%20team%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-193266%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Juan%20and%20thanks%20for%20the%20reply%2C%3C%2FP%3E%3CP%3EYes%2C%20I%20have%20seen%20the%26nbsp%3Bthread%20and%20though%26nbsp%3BI%20haven't%20actually%20tried%2C%20executing%20the%20powershell%20commandsfor%20this%26nbsp%3Bin%20C%23%20seems%20like%20stepping%20out%20on%20pretty%20thin%20ice.%3C%2FP%3E%3CP%3ELoading%20the%20modules%20into%20powershell%26nbsp%3B%2B%26nbsp%3Bthe%20user%20authentication%20will%20most%20likely%20lead%20to%20quite%20a%20complicated%20solutions.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAnyone%20with%20any%20experience%20regarding%20this%20that%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBest%20regards%3C%2FP%3E%3CP%3E%2F%2FJoakim%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-193262%22%20slang%3D%22en-US%22%3ERe%3A%20How%20can%20i%20suppress%20the%20notification%20email%20sent%20when%20adding%20a%20user%20to%20a%20team%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-193262%22%20slang%3D%22en-US%22%3EHave%20you%20seen%20this%3A%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FOffice-365-Groups%2FHow-to-remove-the-Welcome-Message-when-a-new-member-joins-a%2Ftd-p%2F56573%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FOffice-365-Groups%2FHow-to-remove-the-Welcome-Message-when-a-new-member-joins-a%2Ftd-p%2F56573%3C%2FA%3E%3F%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

Hi,

I have a requirement from a customer that no email notification should be sent when creating/adding users to a o365 group. I have seen powershell commands to turn this off but I need to add it to the provisioning process.

Does anyone know if there is a way to do this using either managed code or REST?

Best regards

//Joakim

2 Replies
Highlighted

Hi Juan and thanks for the reply,

Yes, I have seen the thread and though I haven't actually tried, executing the powershell commandsfor this in C# seems like stepping out on pretty thin ice.

Loading the modules into powershell + the user authentication will most likely lead to quite a complicated solutions.

 

Anyone with any experience regarding this that?

 

Best regards

//Joakim