cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Microsoft
Microsoft

FileOpenAccessDeniedDueToSecuritySettings - Error

Hello ::

 

When my client opens the Excel from one drive for business selecting the Excel from one drive for business through power automate getting the below error related to authentication issue which is been noticed .

Could not retrieve values. The dynamic invocation request failed with error: { "status": 403, "message": "The request is forbidden by Graph API. Error code is 'FileOpenAccessDeniedDueToSecuritySettings'. Error message is 'Because of security settings set by your admin, you can't open this workbook right now. Please contact your system administrator for more information.'.\r\nclientRequestId: xxxxxxxx-xxxx-xxxx-xxxx-xxxx-xxxxxxxx\r\nserviceRequestId: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "error": { "message": "The request is forbidden by Graph API. Error code is 'FileOpenAccessDeniedDueToSecuritySettings'. Error message is 'Because of security settings set by your admin, you can't open this workbook right now. Please contact your system administrator for more information.'." }, "source": "excelonline-si.azconn-si.p.azurewebsites.net" }.

 

May I know what would have caused the above issue 

 

Checked the below detail:
- He has directory access of full read and write
- He is able to upload .xlsx and create new .xlsx in one drive for business online without any issues.

- Tried to upload the file through Power automate simple process on getting items from one drive, he is able to select the location of Excel and then selected Excel , the next step do not display the number of sheets or the excel sheet name atleast . It throws the above error .

 

 

 

Thanks

1 REPLY 1
Power Automate
Power Automate

Error is coming from Excel/Graph API. I will suggest to start with them. They will be able to look up using the serviceRequestId in the error message

Helpful resources

Announcements
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (36,483)