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 / Run Script on Pivot Ta...
Power Automate
Unanswered

Run Script on Pivot Table - Not Found

(0) ShareShare
ReportReport
Posted on by 4

I have a power automate flow built which saves an excel attachment down into sharepoint. I then want to run an office script which converts the data into a table and then creates a pivot. This script runs when i go into the file and trigger it manually. However, whenever I run it in power automate, it fails as below.

 

I'd also if possible like it to run on each file that is saved, rather than on the "template" file I have set up.

 

InkedCapture_LI.jpg

Categories:
I have the same question (0)
  • Yutao Huang Profile Picture
    Microsoft Employee on at

    Hello @PeterAP , would you mind sharing the clientRequestId (from the run history logs) so we can do some further troubleshooting? Please feel free to pm me with that info you prefer!

     

    And for your second question, are you asking about running the script against a dynamically created workbook? It should be possible. But could you elaborate a bit more about your flow? Specifically, how are you saving the attachment to SharePoint? Which Power Automate action are you using? For example, if you are using the "Create file" action, you should be able to use "id" from its results as the "File" parameter for the "Run script" action.

     

    Yutao_0-1650500034962.png

     

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 304

#2
David_MA Profile Picture

David_MA 245 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 243 Most Valuable Professional

Last 30 days Overall leaderboard