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 / Excel Online (Business...
Power Automate
Unanswered

Excel Online (Business) 'Run Script' connector error, BadGateway

(0) ShareShare
ReportReport
Posted on by

Good afternoon,

 

I have a number of MS Power Automate flows that use the Excel 'Run Script' step.  I have had no issues with this before, some of which have been running daily for months.

 

I came into work this morning to see that any flow I had with the Excel 'Run Script' steps in them had all failed with the error 'BadGateway'.

 

I have tested everything I can think of, from creating a new test script that just inputs a string into a cell and calling it from a brand new manually triggered flow on a workbook with nothing but a tiny test table in it.  I can confirm its on the 'Run Script' steps that are failing, I created a test flow that deletes a row using the step 'Delete A Row' and that ran without any issues.

 

Is there any know issues with this step at the moment?  Searching only brought up 'Solved: Excel Run Script - 502 Bad Gateway - Power Platform Community (microsoft.com)' which is over a year old.

Categories:
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

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!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 286

#2
David_MA Profile Picture

David_MA 256 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard