Forum Discussion

Geordie_ca's avatar
Geordie_ca
Copper Contributor
Nov 09, 2023
Solved

Permissions Required to Run Excel Scripts in Logic Apps

Hi,   I have been trying for months to migrate a Logic App solution to the final SharePoint portal.  When I originally wrote the code, I used my own credentials to set it up and resolve any issues....
  • Hi Martin, thank you for reaching out!

     

    The run script block action by default only supports running scripts that are stored on the current user's own OneDrive for Business ( /Documents/Office Scripts folder) which is why the scripts are not showing up even if you have given your service account permissions to your folder.

     

    Here is a solution that could unblock your situation.

    You could try using the 'Run Script from SharePoint library' action.

    Here, you will be able to specify a shared location where the script you want to run can be found.

     

    I hope this helps, and please let me know if you have any more questions.

     

    Michael Vaquier

Resources