rakhesh's avatar
rakhesh
Iron Contributor
Nov 18, 2021
Status:
New

Allow addition of members to mail-enabled security groups via Graph API

Previously one could add members to mail-enabled security groups via Graph API. But turns out that was a bug, and it was fixed some weeks ago removing this functionality. Would it be possible to allow add-remove of members in mail-enabled security groups via Graph API?

47 Comments

  • yatishmadhav's avatar
    yatishmadhav
    Copper Contributor

    Hi all ... +1. This is a feature that would be great - Microsoft, Please add the functionality of managing mail enabled security groups via the MS Graph API. Thank you

  • olavrb's avatar
    olavrb
    Brass Contributor

    1+ for this.

     

    I have an Automation Account PowerShell script that uses Microsoft.Graph to automate the task of adding group membership from one or multiple source groups, to one given destination group. This makes it easy to automate group membership based on a mix of group types and dynamic rules.

    • Permissions is currently Run As account, with additional Microsoft.Graph permissions given to the app registration.
    • Input variables is group object ids only. So for every new scenario I just add a new schedule to this one Automation Account runbook. 🙂

     

    Latest "mission" is to automate calendar permissions using a dynamic user group as source, and a mail enabled security group as destination (for group members). Where destination group is given calendar permissions.

     

    But would you know it, adding group members to a mail enabled security group is not possible with Microsoft Graph. Too bad. Would you be so kind, Microsoft, to add this capability to the Microsoft Graph API?

  • Bill_Hanson's avatar
    Bill_Hanson
    Copper Contributor

    This and we also need the ability to manage standard distribution lists.

    Currently considering converting hundreds of distribution lists to 365 groups just to be able to manage them again.

  • jorrin1455's avatar
    jorrin1455
    Copper Contributor

    Used this in multiple flows which are now broken. Would really like to get this back.

  • KatrinF's avatar
    KatrinF
    Copper Contributor

    Thanks for raising this topic, rakhesh!
    I would also appreciate enabling management of memberships for distribution lists again! I had been using Graph API for this purpose for months until it suddenly stopped working.

  • That would be very useful indeed - and if would allow us to do it withing PowerAutomate as well like before.