Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

Add to Groups Failing

(0) ShareShare
ReportReport
Posted on by 70

I have a flow that is failing in a weird way, here is the setup.

 

We have numerous Microsoft Groups setup and an Power App for onboarding employees. Based on user's role, they get automagically add to their groups using an App button and an instant flow. All of these groups have a service account with owner access. That service account is connected to all of the potential 'Add member to group' actions throughout the flow.  

 

When I use the app, the flow works great most of the time. But then I have a colleague when he uses the app, the flow fails every time. Except for the first 'Add member to group' action of the flow, that works:

JimmyJams_2-1631738558566.png

 

After that first action, there's a bunch of logic to check a users role to add to their appropriate groups. That appears to work as intended for the expression and the action it attempts to run next, but because the dependent actions fail, the flow gives up and stops attempting to do anything else:

JimmyJams_3-1631738669376.png

After the condition is met it hits the actual snag and says "Forbidden":

JimmyJams_5-1631738751759.png

 

Looking at the fail logs the action fails due to "Insufficient privileges to complete the operation."

JimmyJams_1-1631738321376.png

 

Looking at the specific action itself I can see in the body:

JimmyJams_0-1631738216994.png

 

At the bottom of the output, it states status code 403 and just beneath that I can see the service account listed for the connection. Its weird that if I run the flow from Power Apps, it works. If my colleague runs it, fail. I gave the colleague owner permissions on the flow, no change. I checked the flow from his logged in account, it looks identical to mine. 

 

I'm a bit stumped. Anyone run into something like this and other suggestions on where to look next?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,605 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,946 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow