Forum Discussion
Setting Unified Group properties via API
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",
}
--
- Julian_DanoJun 06, 2019Copper Contributor
Thanks for posting this! Can you post where you found this? I'm curious as to the other options available within the resourceBehaviorOptions attribute. Thanks
- ShaneOssJun 20, 2019Brass Contributor
Julian_Dano @Matthias Habegger
Values for resourceBehaviorOptions:
- AllowOnlyMembersToPost
- CalendarMemberReadOnly
- ConnectorsEnabled
- HideGroupInOutlook
- NotebookForLearningCommunitiesEnabled
- ReportToOriginator
- SharePointReadonlyForMembers
- SubscriptionEnabled
- SubscribeMembersToCalendarEvents
- SubscribeMembersToCalendarEventsDisabled
- SubscribeNewGroupMembers
- WelcomeEmailDisabled
- WelcomeEmailEnabled
- AllabakshGunjeAug 19, 2019Copper ContributorShaneOss,
Unfortunately I am not able to find resourceBehaviorOptions attribute in graph api. Graph API is up to date, but till this attribute is missing. Kindly suggest
- Brett ZeigerbacherOct 17, 2018Copper ContributorGreat! 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. - Marco_DisselOct 03, 2018Brass Contributor
Thanks!
The documentation does not mention this (new) property.. How did you get this information?