Showing results for 
Search instead for 
Did you mean: 
Regular Visitor

No output when using "Get groups of a user (V2)"

Hello All,

I am trying to use "Get groups of a user (V2)" action in Power Automate to get all the groups that a user belong to. But could not figure out what I am missing. Here is the entire body of my flow


Also in azure side, I gave permission to the  "MSFT Power Platform - Azure AD"  enterprise application like this:


But when I run the flow, "Apply to Each" action is always empty.



The user do belong to multiple groups as an owner and member.



Please suggest how to verify the Azure AD action has correct permission and is configured properly.


Solution Sage
Solution Sage

Hi @Nixar ,


I have the same permissions as you and just tried the action and it is working as expected.  Can you:


1) Verify the user is in fact part of a security enabled group

2) Test with another user

3) Test with another action in the AAD connector e.g. Get Group Members

4) Try deleting and recreating the connection under Data > Connections




If I have answered your question, please mark my post as a solution
If you have found my response helpful, please give it a thumbs up

Connect on LinkedIn



Regular Visitor

Thanks Eric for the reply. As per your suggestion, I tested using "Create User" Azure AD action and was able to create user in AD. So I knew the connector was working and then when I changed "Security Enabled Only" to  "No", it WORKED!! 

Do you know what "Security Enabled Only" is for and why we have to set its value to Yes or No. May be if you can point me to some documentation about permissions for Azure AD connector.



Helpful resources

UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (2,273)