web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Action 'Run_script' fails with error "Script not found"

(0) ShareShare
ReportReport
Posted on by
Combine worksheets into a single workbook
 
I would like to create a power automate flow that reads information from an excel file and writes those information into another.  So, I have been trying to run the above sample, first.  In my environment, if the first 'Run script' action succeeds, the second 'Run script' always fails with 'Script not found' error.  To find out the reasons, I have tried various patters, but I still don't have any clues.  I would appreciate it very much if you could possibly tell me how to fix it.
 - The scripts are selected using the Designer's GUI. I cannot understand the error message: Script not found. Please confirm that the script was saved correctly, is still shared, and hasn't been deleted. 
 - Re-selecting scripts using Designer doesn't help.
 - Saving scripts in SPO and using 'Run script from SharePoint library' instead doesn't help.
 - Saving excel book in SPO doesn't help.
 - To narrow down the reason, I made a very simple flow like below image.  Even the first 'Run script' fails.  
 - Scripts are very simple like these.  Adding parameter into main() function doesn't seem to affect the error.
20251205-01.jpg
20251205-03.jpg
20251205-02.jpg

Your file is currently under scan for potential threats. Please wait while we review it for any viruses or malicious content.

I have the same question (0)

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

Coming soon: forum hierarchy changes

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
Tomac Profile Picture

Tomac 544 Moderator

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 482 Super User 2025 Season 2

#3
chiaraalina Profile Picture

chiaraalina 287

Last 30 days Overall leaderboard