Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
rahulstomar08
Frequent Visitor

undefined

I want to refresh my data using powershell script but by using power automate. Is there any way to do this?

2 REPLIES 2
v-cgao-msft
Community Support
Community Support

Hi @rahulstomar08 ,

 

To refresh a dataflow or dataset using the power shell, please refer to the following article.

Using the Power BI API with PowerShell scripts - Refreshing your dataset

How to refresh Power BI Dataflows with PowerShell

 

As ibarrau says, some features are currently in preview and careful consideration needs to be given to using them in a production environment. For more support, you can click here.

Microsoft Power Automate Community - Power Platform Community

 

Best Regards,
Community Support Team_Gao

 

If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems with it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly -- How to provide sample data

ibarrau
Super User
Super 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-po...

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.h...

I hope that helps,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors