Showing results for 
Search instead for 
Did you mean: 
Helper IV
Helper IV

Unauthorized error for SharePoint API call

Hi Community,

I'm doing an API POST call to set some permissions on a specific document. But sometimes it returns an authorization error 403.
Does the user that triggers the flow (by pressing a button in PowerApps) needs higher permissions? She has Edit and Contribute rights. I thought the api call would run with my credentials.

Any advice here?





Solution Sage
Solution Sage

The API call will run with the credentials of the person pressing the button in PowerApps.


Edit and contribute rights arent enough to set permissions

Helper IV
Helper IV

@KvB1 Thanks for your quick reply.
I changed the permissions set for the edit role in SharePoint and that was sufficient the have this work. 

Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

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 Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Top Kudoed Authors
Users online (4,350)