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

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

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 997

#2
Valantis Profile Picture

Valantis 810

#3
Haque Profile Picture

Haque 642

Last 30 days Overall leaderboard