0

We have the following Mail-Enabled Security group:

enter image description here

So my question is, can I get the members of a Mail-Enabled security group inside my automated workflow?

2 Answers 2

2

You can use List group members action available in Office 365 Groups connector in Power automate flows to fetch the members of Mail enabled security groups like:

enter image description here

You have to enter the group ID of Mail enabled security group in above action which you can get from admin center:

enter image description here

Documentation: List group members

2
  • but will this support mail-enabled groups or it is only designed for offcie 365 groups?
    – John John
    Commented Feb 13, 2022 at 0:14
  • I have tried it with mail enabled security group & it works fine for me. Check the second screenshot I attached >> you can see it is a mail enabled security group only. Commented Feb 13, 2022 at 4:23
2

Yes, you can use the Send an HTTP request action in the Office 365 Groups connector to do it. This action enables you to make calls to the Microsoft Graph. The operation you want is List Members.

To use this operation you'll need the Id of the group, which is a GUID. You can get this by selecting the group in the Microsoft 365 admin center and extracting the Id from the URL. For example:

https://admin.microsoft.com/#/groups/:/GroupDetails/c9f5aa52-b267-4ca9-8d89-caf67a698886/3

enter image description here

1
  • ok will try this for sure... thanks a lot
    – John John
    Commented Feb 11, 2022 at 15:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.