cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Nixar
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

Nixar_0-1630458544807.png

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

Nixar_1-1630458827272.png

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

Nixar_2-1630458994650.png

 

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

Nixar_3-1630459028257.png

 

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

 

2 REPLIES 2
eric-cheng
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

 

ericcheng_0-1630462185002.png

 

--------------------------------------------------------------------------
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

 

 

Nixar
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.

Nixar_0-1630503282999.png

 

Helpful resources

Announcements
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)