Forum Discussion
Bernd Rickenberg
Jul 18, 2017Brass Contributor
Setting Unified Group properties via API
 The Set-UnifiedGroup PowerShell commandlet has a couple of interessting properties. In particular, hiding the group from the global address list (HiddenFromAddressListsEnabled) and enabling/disabling...
Matthias Habegger
Oct 03, 2018Copper Contributor
You can do that with Microsoft Graph only at creation time. I'm disabling the member notification on group adding like this:
Like this:
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",
}
--
Brett Zeigerbacher
Oct 17, 2018Copper Contributor
Great! I can confirm this works to disable the welcome email on site creation:
"resourceBehaviorOptions": [
"WelcomeEmailDisabled"
],
I don't know where you found this because there is no mention of this command anywhere but I'm glad you posted it.
"resourceBehaviorOptions": [
"WelcomeEmailDisabled"
],
I don't know where you found this because there is no mention of this command anywhere but I'm glad you posted it.