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 / List Rows Present in a...
Power Automate
Unanswered

List Rows Present in a Table -- Access Denied on Protected Sheet

(1) ShareShare
ReportReport
Posted on by 53

I'm creating a process where I'm taking an uploaded file to SharePoint and using 'List rows present in a table' to create a SharePoint list. The uploaded file is an Excel document (.xlsx) which is formatted like a 'template' so the end user enters in specific information. I have the Workbook protected, and also want to protect the sheet so the end user cannot make column header changes, but when I protect the Sheet, my Power Automate flows throws "The request is forbidden by Graph API. Error code is 'AccessDenied'. Error message is 'You cannot perform the requested operation.'"

 

If I leave the sheet 'unprotected', the flow runs successfully. Any thoughts? Thanks in advance!



Capture.PNG

Categories:
I have the same question (0)
  • Andrew_Unick776 Profile Picture
    2 on at

    Hi, I just had the same problem. Fixed when I allowed Autofilter when protecting sheet. Switched off filter buttons for tables before applying Protect Sheet.

  • andrelr2001 Profile Picture
    2 on at

    hmmmm, did not work for me 😞

  • Suggested answer
    gamos Profile Picture
    8 on at
    Thanks for this detail. Very important. Sure wish the error code was more specific:
    Action 'List_(filtered)_rows_present_in_a_table' failed: The request is forbidden by Graph API. Error code is 'AccessDenied'. Error message is 'You cannot perform the requested operation.'

    ^ That really tells you nothing about the fact the worksheet/tab being protected is the cause of the problem

    In my case, I unprotected the sheet and hid it - good enough.

    It would be a nice feature to be able to pass the sheet password into the request, to allow a user to get past the AccessDenied blockage.

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 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard