Showing results for 
Search instead for 
Did you mean: 
Level 8

Can't Connect to Sharepoint Rest API

Hello guys, I have been facing an issue when i try to call Sharepoint Rest API . What i want to do with sharepoint Rest API, is every week, flow would create a page automatically based on data of another list. It would get the data, copy and put it on the pages, and create according so. Whenever i try to use it, it always show me a "Forbidden Error", and says i don't have privileges to do so. I don't know what kind of Privaleges am i missing, i am the owner of the site collection, i have full privilages. Yet it doesn't work. Can someone help me?
Community Support Team
Community Support Team

Re: Can't Connect to Sharepoint Rest API

Hi @Field,


Could you please share more details about your flow?

Could you please expalin more details so we would try to provide a proper workaround for you.


Best reagrds,


Level 8

Re: Can't Connect to Sharepoint Rest API

Hello there,


For some reason i wasn't able to show picture before, but i can now.



I have tried several ways to get this to work but it always says forbidden with an error code on the part "Tries to get id":

<?xml version="1.0" encoding="utf-8"?><m:error xmlns:m=""><m:code>-2147024891, System.UnauthorizedAccessException</m:code><m:message xml:lang="en-US">Access denied. You do not have permission to perform this action or access this resource.</m:message></m:error>

But, i don't know what is the permissions... Even if try to remove the "Tries To get id" part, any instance of me trying to acess the sharepoint Rest API it just shows forbidden, and i don't know how do i get this issue solved or what permissions do i need in order to do this...

Level 8

Re: Can't Connect to Sharepoint Rest API

I wanted to say as well that i created the client ID on sharepoint (Using Client APP Permission) and give it owner previliges.

Helpful resources


Power Platform Online Conference

Speakers, submit your sessions now! Call for speakers ends Feb. 10!


New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!


Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!


Microsoft Learn

Learn how to build the business apps that you need.


Power Platform World Tour

Find out where you can attend!


Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (5,055)