Forum Discussion
trillian74
Jan 09, 2020Copper Contributor
how to create a team without sending out the default "you have been added to team..." mail message?
Hi I am almost finished with my provisioning web-part for creating groups with teams using graph, but the customer want the "provisioneer" to be able to refrain from sending out "you've been added"...
Gousia_Begum
Jan 10, 2020Former Employee
You can do that with Microsoft Graph only at creation time. Here is a sample
Url: https://graph.microsoft.com/v1.0/groups
Request Body:
--
{
"displayName": "TestGroup-01",
"groupTypes": [
"Unified"
],
"mailEnabled": true,
"mailNickname": "testgroup-01",
"resourceBehaviorOptions": [
"WelcomeEmailDisabled"
],
"securityEnabled": false,
"visibility": "Private",
}