rakhesh
Nov 18, 2021Iron Contributor
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 allo...
olavrb
Jan 11, 2022Brass 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?