Skip to main content
Community site session details

Community site session details

Session Id : e7ZK+P317wjiKVBOyopzjG
Power Automate - Building Flows
Unanswered

Adding Memebers to mail-enabled security group... error "Cannot Update a mail-enabled security groups and or distribution list."

Like (0) ShareShare
ReportReport
Posted on 6 Aug 2022 13:27:15 by 3,502
I have this action to add a member to a mail enabled security group:-
johnjohn123_1-1659792389452.png
and the following output:-
 
johnjohn123_0-1659792803134.png

 

But i will get this error:-

 

Cannot Update a mail-enabled security groups and or distribution list.",
 
 
  • johnjohn123 Profile Picture
    3,502 on 07 Aug 2022 at 08:45:43
    Re: Adding Memebers to mail-enabled security group... error "Cannot Update a mail-enabled security groups and or distribution list."

    @MarconettiMarco i am using Cloud Flow and not desktop flow

  • MarconettiMarco Profile Picture
    3,812 Super User 2024 Season 1 on 06 Aug 2022 at 20:37:52
    Re: Adding Memebers to mail-enabled security group... error "Cannot Update a mail-enabled security groups and or distribution list."

    @johnjohn123 You could trigger a PowerShell script from Power Automate Desktop.

     

    BR,

    Marco

  • johnjohn123 Profile Picture
    3,502 on 06 Aug 2022 at 20:24:26
    Re: Adding Memebers to mail-enabled security group... error "Cannot Update a mail-enabled security groups and or distribution list."

    @MarconettiMarco so at the end we can not add members to mail-enabled security using Power automate? even if we use custom connectors?

  • MarconettiMarco Profile Picture
    3,812 Super User 2024 Season 1 on 06 Aug 2022 at 20:23:11
    Re: Adding Memebers to mail-enabled security group... error "Cannot Update a mail-enabled security groups and or distribution list."

    That’s correct

  • johnjohn123 Profile Picture
    3,502 on 06 Aug 2022 at 20:22:27
    Re: Adding Memebers to mail-enabled security group... error "Cannot Update a mail-enabled security groups and or distribution list."

    @MarconettiMarco thanks, but seems those 2 links talk about using power shell, and not using power automate. am i correct?

  • MarconettiMarco Profile Picture
    3,812 Super User 2024 Season 1 on 06 Aug 2022 at 20:18:39
    Re: Adding Memebers to mail-enabled security group... error "Cannot Update a mail-enabled security groups and or distribution list."

    Dear @johnjohn123 ,

    please find the info in this discussion:

     

    https://docs.microsoft.com/en-us/answers/questions/884912/managing-34mail-enabled-security-groups34-with-ms.html

     

    within the article you’ll find a possible solution:

    https://www.michev.info/Blog/Post/3883/exchange-online-powershell-module-gets-rid-of-the-winrm-dependence

    BR,

    Marco

  • johnjohn123 Profile Picture
    3,502 on 06 Aug 2022 at 20:05:02
    Re: Adding Memebers to mail-enabled security group... error "Cannot Update a mail-enabled security groups and or distribution list."

    @MarconettiMarco thanks for the info , but can i perform this operation using REST API?

  • MarconettiMarco Profile Picture
    3,812 Super User 2024 Season 1 on 06 Aug 2022 at 19:50:51
    Re: Adding Memebers to mail-enabled security group... error "Cannot Update a mail-enabled security groups and or distribution list."

    Hello, 

    I think you cannot perform the action. Please vote this idea:

     

    https://techcommunity.microsoft.com/t5/microsoft-365-developer-platform/allow-addition-of-members-to-mail-enabled-security-groups-via/idi-p/2981455#M470

     

    BR,

    Marco

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2