Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

Unable to run office script through power automate

(0) ShareShare
ReportReport
Posted on by
My goal is to Split an excel workbook such that there is only one sheet per Excel workbook.
 
 
I have created the 2 office scripts as shown in the resource. 
 
The issue is -
 
The second script (Deletesheets.osts) does not run in powerautomate and it gives me this error:
 
 
You can see here the code I am using for the office script is the same from the video
A- code used in video.
B- office script code I am using.
 
 
I would appreciate help from this community, since I have been breaking my head on this task since last week.
 
Appreciate your time and help in advance.
 
Thanks.
 

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

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Adis Profile Picture

Adis 136 Super User 2025 Season 1

#2
Sohail Ahmed Profile Picture

Sohail Ahmed 81

#3
Jonas "Jones" Melgaard Profile Picture

Jonas "Jones" Melgaard 77 Super User 2025 Season 1

Product updates

Dynamics 365 release plans