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 / Sharepoint authorization
Power Automate
Unanswered

Sharepoint authorization

(1) ShareShare
ReportReport
Posted on by 35
Hey everyone,
 
Really need help on this one. 
 
My admin tells me I have read write access on a Sharepoint folder and I can see that since I can read and write in it in my file explorer but I always get the "-2147024891","System.UnauthorizedAccessException" error when trying to use the "list a folder" on my folder.
 
What specific permission do I need? Am I doing something wrong?
 
    "body": {
        "status"403,
        "message""Accès refusé.\r\nclientRequestId: ae34bc74-beb5-430f-a932-21d564fab33c\r\nserviceRequestId: 5f6baca1-c0f8-9000-66de-c445d465a502",
        "source""example",
        "errors": [
            "-2147024891",
            "System.UnauthorizedAccessException"
        ]
    }
 
Categories:
I have the same question (0)
  • stampcoin Profile Picture
    5,158 Super User 2026 Season 1 on at
    You access right is not enough for running the flow.
    you can tell your admin, that the flow need  to invoke SharePoint REST API.
     
  • CU28060308-0 Profile Picture
    35 on at
    Can you be a bit more specific please ? I also tried the Sharepoint HTTP request action and I get exactly the same answer, forbidden.
     
     
     
  • David_MA Profile Picture
    14,614 Super User 2026 Season 1 on at
    One way to determine if you truly do have read/write access would be to open the SharePoint site and navigate to where you want to create an item and try to create an item. Based on the error message, it would indicate that you don't have the necessary permissions.
     
    You should also check to see if the folder has unique permissions. One of the site owners can check this for you and can then check if you have access.
     
    Another alternative would be to request owner access to the SharePoint site. With owner permissions, your access to all of the files can only be removed if your owner access is revoked.
  • CU28060308-0 Profile Picture
    35 on at
    Thanks for the support,
     
    I am able to create a document in the folder I'm trying to use the ListFolder action on. I then should have read/write access.
     
    My admin also confirmed me that there is no access control policies configured for the environment I'm using. Is there something else they should check to make sur I'm able to perform actions on the sites folder?
     
    Since I got the answer "System.UnauthorizedAccessException", I figured I used the right site adress and file identifier but could it be whats causing my bad response?
    My folder url is https://compagny.sharepoint.com/sites/COMPAGNYSITE/Documents%20partages/Forms/AllItems.aspx?id=%2Fsites%2FCOMPAGNYSITE%2FDocuments%20partages%2FGeneral%2FTARGETFOLDER 
    and I used :
    site adress = https://compagny.sharepoint.com/sites/COMPAGNYSITE
    file identifier = the id in the url I get when I click on the "copy link" for the target folder on Sharepoint online
  • David_MA Profile Picture
    14,614 Super User 2026 Season 1 on at
    To provide additional help, you will need to show the configuration of the action. With your current screen shot, especially since it is not in English, there isn't any information we can go on to provide further assistance.
     
    Since this is a manually triggered flow, do the connections run on the account of the owner or the person who triggers the flow. If the flow runs on the account of the person who triggers it, everyone who can run the flow needs access to the SharePoint site as well.
  • CU28060308-0 Profile Picture
    35 on at
    Thank you David,
     
    Here is what my flow looks like
     
    Its using my personal connection (automatisation@firmaplus.ca) to run the flow and the listFolder is also using this connection.
     
    With this connection I am able to read and write on the folder in a web browser. 
     
    The flow exist in the Automatisation Firma environment
     
    Please see the attachment
    Capture d’écran 2...

    Your file is currently under scan for potential threats. Please wait while we review it for any viruses or malicious content.

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 801

#2
Valantis Profile Picture

Valantis 602

#3
Haque Profile Picture

Haque 581

Last 30 days Overall leaderboard