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
MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power automate tips 768x460 v2.png

Restore a Deleted Flow

Did you know that you could restore a deleted flow? Check out this helpful article.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Users online (2,850)