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 Automate / Can't Connect to Share...
Power Automate
Unanswered

Can't Connect to Sharepoint Rest API

(0) ShareShare
ReportReport
Posted on by 339
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?
Categories:
I have the same question (0)
  • v-yuazh-msft Profile Picture
    Microsoft Employee on at

    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,

    Alice

  • Field Profile Picture
    339 on at

    Hello there,

     

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

    1.png2.png3.png4.png

     

    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="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><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...

  • Field Profile Picture
    339 on at

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

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!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 251 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 239

#3
Expiscornovus Profile Picture

Expiscornovus 220 Most Valuable Professional

Last 30 days Overall leaderboard