
Announcements
Hello,
I have created a run script flow which refreshed my excel file(51kb, data connection power bi).
Script:
Hi @Sanskruti ,
It looks like there is a bug with this Office Scripts method when you run it with Power Automate. A Microsoft mentioned that they were working to solve it, but there is still no answer on that. Check the trends below:
Some users are mentioning that you can solve the problem by removing the '()' from the end of you line 3, but I don't recommend you to do it. It is probably just not calling the refreshAllDataConnections() method, which avoids the error message but also does not refresh you connections 🙂
Let me know if it works for you or if you need any additional help!
-------------------------------------------------------------------------
If this is the answer for your question, please mark the post as Solved.
If this answer helps you in any way, please give it a like.