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