Hi all,
I would like something like this:
In Power Automate:
I can do in PowerShell, but here I would like to only use Power Automate.
Has anyone an idea, if this can be done? Any help appreciated!
Hi @Frankie70,
could you show how you do that using PowerShell?
Hi @VictorIvanidze,
As far as I am aware you can only set this setting at the creation of the Group with the Graph API. You can use the resourceBehaviorOptions array property for this.
https://learn.microsoft.com/en-us/graph/group-set-options#configure-groups
Updating it via a PATCH is not supported. The documentation has a note about that:
These behaviors can be set only on group creation (POST
).
Below is an example to disable the welcome message using the Send an HTTP request action of the Office 365 Groups connector.
{
"description": "Disable Welcome E-mail",
"displayName": "Disable Welcome E-mail",
"groupTypes": [
"Unified"
],
"mailEnabled": true,
"mailNickname": "disablewelcomeemail",
"securityEnabled": true,
"resourceBehaviorOptions": [
"WelcomeEmailDisabled"
]
}