Forum Discussion
Anonymous
4 years agoNot applicable
undefined
I want to refresh my data using powershell script but by using power automate. Is there any way to do this?
ibarrau
4 years agoSuper User
Hi. It might be possible to run a powershell script in power automate (it's a feature under preview and premium), but I wouldn't recommend that because the component might be unstable for now and probably won't be able to add a library if you need one besides the ones provided by the engine.
You can just do it with Power Automate components: https://towardsdatascience.com/how-to-schedule-unlimited-power-bi-dataset-refreshes-with-a-simple-power-automate-a7affe90c2de
Just in case you want to read about refreshing with powershell locally: https://www.nickyvv.com/2020/06/refresh-a-power-bi-dataset-with-powershell-and-a-service-principal.html
I hope that helps,