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 / Script doesn't run fro...
Power Automate
Unanswered

Script doesn't run from Power Automate. It works from Excel

(0) ShareShare
ReportReport
Posted on by 2

Hi,

 

I hope someone can help me. I used this to enable a flow from Excel Online with a button:

How to run Power Automate from Excel with Office Scripts or VBA (exceloffthegrid.com)

 

The only thing I added a step that reads the person's Outlook information and runs another script at the end of the flow. The script will create a temporary view and then filter the data based on the email of the person who is using it.

 

If I remove the temp view, everything works perfectly. However, if I leave it be, only the flow runs, the script doesn't run, even though it says it runs successfully.  I hope that makes sense. I have included a screenshot of the flow and the 2nd script (scrip1).

 

Hopefully someone will be able to point me in the right direction.

 

Ta!

Screenshot 2023-09-26 094602.png
Screenshot 2023-09-26 094352.png
Categories:
  • MichelleRanMSFT Profile Picture
    Microsoft Employee on at

    Hi @thaonguyen, thanks for your question! Could you share the following (sensitive data removed as needed)?

    1. your complete script code
    2. a sample workbook or data to run the script on

    This will help us reproduce the issue and figure out what could be going wrong.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 317 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 247

#3
Henil Profile Picture

Henil 117

Last 30 days Overall leaderboard