Рет қаралды 6,985
Are you tired of dealing with "Unexpected response from the service" error when trying to run an Excel office script on a dynamic path using Power Automate? Look no further! In this video, I'll show you how to use the SharePoint REST API to obtain the drive ID and overcome this error. You'll see how to use the "apply to each" function to loop through the results of the SharePoint API and retrieve the ID dynamically by writing a basic expression. Plus, I'll take you step-by-step through building the Power Automate flow.
And that's not all! This video also includes an overview of the requirements, a sample office script, and a demonstration of how to fix the "Error: Unable to run script" issue. Don't miss out on this opportunity to level up your office script skills! And for more office script videos, check out the following playlist: • Office Scripts .
Want to learn more about the SharePoint Rest API? Check out this link: learn.microsoft.com/en-us/sha....
Don't forget to hit the like and subscribe button!
00:00 Intro
00:38 An overview of the requirements
01:00 A Sample Office Script
01:45 Buiding the Power Automate Flow
03:02 Dynamic Library and Path on Run Script
03:57 Error: Unable to run script
05:43 SharePoint Rest API
08:00 Apply to Each Document Library
10:43 Outtro Please buy me a coffee www.buymeacoffee.com/DamoBird365 ☕