web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Add a member to a Team...
Power Apps
Answered

Add a member to a Team StatusCode 403 in Power Apps Flows but not in Power Automate manual triggers

(0) ShareShare
ReportReport
Posted on by 9
 
Hello fellow pp users, 
 
I`m encountering some issues with an app we built for users to request access to a specific MS Team. 
 
I am using the connector - Add a member to a Team. Users click on a button within the power app and a flow runs to add that user to the MS Team. 
 
For some reason it doesn`t work anymore - I get the below error:
 
Action 'Add_a_member_to_a_team' failed: You do not have permission to perform this operation.

Opening the flow from within the Power App shows a statusCode of 403. The flow uses When Power Apps calls a flow (v2) connector. 
 
I created a manually triggered flow as a mirror to the one above and it doesn`t fail. It works as expected.
 
I created another Power App with a new flow, same connectors, etc, and am sadly getting the same error. 
 
Anyone encountered this or knows how to solve it ? 
 
BT
 
 
 
0s
 
 
When Power Apps calls a flow (V2)
0.4s
 
 
Get user profile (V2)
1s
 
Add a member to a team

Forbidden
 
 
Categories:
I have the same question (0)
  • Verified answer
    mmbr1606 Profile Picture
    14,615 Super User 2026 Season 1 on at
    hey 
     
    i think your issue is a better fit for the power automate section of this forum to be found here:
     
     
  • Verified answer
    BT-12091045-0 Profile Picture
    9 on at
    FYI all - this was an easy fix. Turns out I was running some of the connectors as the logged in user . You can change how some connectors react/act as - for example you can have some connectors trigger as the app user, and others as the app owner.  This fixed the issues I was having with Teams and SharePoint actions. 
     
    This is how I did it:
     
    Go to your flow , open it in Power Automate
    Don`t edit the flow, click Edit under Run only users
     
    Under Connections used you will see all the connectors used in your flow
    Each of them have a drop down and an option to change from "Provided by run-only user" which means the user that is using the Power App, to a different connection, such as your account. 
     
    Hope this may help someone else one day. 
     
     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 530

#2
WarrenBelz Profile Picture

WarrenBelz 459 Most Valuable Professional

#3
Haque Profile Picture

Haque 314

Last 30 days Overall leaderboard