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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Sharepoint site access
Power Automate
Unanswered

Sharepoint site access

(1) ShareShare
ReportReport
Posted on by 26
Hello,
 
I am trying to access a Sharepoint folder thats located on a site of my compagny using the listFolder action. The url of the folder starts with https://mycompany.sharepoint.com/sites/mysite. 
 
Every time I try using the listFolder or httpRequest Sharepoint action, I get a forbidden answer. More precisly I get a 403 "System.UnauthorizedAccessException" response. I'm pretty sure its not an issue with the path/id parameters because I tried other ids and paths and got "bad request" or "file not found" as a response instead of unauthorized.
 
For the listFolder action, I enter https://mycompany.sharepoint.com/sites/mysite as dataset and the id contained in the link the Sharepoint's "copy link" button returns me for the id parameter.
 
I have write and read access on the Sharepoint folder but my Power Automate flow can't seem to be authorized to access the folder
 
Is there something that could prevent me from doing so? 
 
Categories:
I have the same question (0)
  • Tomac Profile Picture
    3,948 Moderator on at
    Is your Flow action using your account credentials in the Connector to access SharePoint, or do you have it running under another account? The account running that specific Action must have access the the SharePoint folder being accessed.
  • CU28060308-0 Profile Picture
    26 on at
    Thanks,
     
    My action is using my work account as connection, the same that I use to modify the Sharepoint folder in a web browser
  • Tomac Profile Picture
    3,948 Moderator on at
    To get the file identifier, you'll want to use the folder browser option highlighted below instead of using a copied link from a web browser
     
  • CU28060308-0 Profile Picture
    26 on at
    Thanks, what I am trying to acces is this :
     
     
     
    but when I enter https://gestiongroupefirma.sharepoint.com/sites/FIRMA as my site's adress, the folder icon tells me its empty when I click on it :
     
     
    All I have as option for the site's adress that gives me folders with the folder icon is this :
     
     
     
     
    wich then offer me those to find my file identifier but my folder isn't in one of them folder (I searched all of them and every folder leads to no file at all) :
     
  • Tomac Profile Picture
    3,948 Moderator on at
    Looks like it's a SharePoint permissions issue.
     
    You have access to the root site, but the site FIRMA has unique permissions that you're not include on and the permissions are not inherited.
     
    You'll need to ask your SP admin to grant access to the FIRMA site specifically.
  • CU28060308-0 Profile Picture
    26 on at
    Also, here is what I get when entering my site adress
     
    translation : Sorry, you don't have access
     
     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard