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

Copper Contributor


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


2 Replies

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