web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Disable welcome messag...
Power Automate
Unanswered

Disable welcome message when user added to M365 group

(0) ShareShare
ReportReport
Posted on by 384

Hi all,

I would like something like this:

In Power Automate:

  1. disable welcome message for M365 group "xyz"
  2. add users to M365 group "xyz"
  3. enable welcome message for M365 group "xyz"

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!

Categories:
I have the same question (0)
  • VictorIvanidze Profile Picture
    13,073 on at

    Hi @Frankie70,

    could you show how you do that  using  PowerShell?

  • Expiscornovus Profile Picture
    33,194 Most Valuable Professional on at

    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"
     ]
    }

     

    resourcebehaviouroptions_group.png

  • Frankie70 Profile Picture
    384 on at
    Connect-ExchangeOnline -UserPrincipalName $myusername -Credential $cred
    # Disable Welcome Message
    Set-UnifiedGroup $Groupname -UnifiedGroupWelcomeMessageEnabled:$false
    #Enable Welcome Message
    Set-UnifiedGroup $Groupname -UnifiedGroupWelcomeMessageEnabled:$true
  • Frankie70 Profile Picture
    384 on at

    Hi @Expiscornovus 

    thanks a lot for your messaged idea.

    We will try this!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard