Forum Discussion
shivarv3
5 years agoNew Member
Power BI Command Line Utility
Dear Experts,
Can you please let me know if there is any power Bi command line utility tool available ?
Requirement:
We have airflow & we want to call the power BI utility to refresh the dataset. This is the automation request from customer where we have to use airflow to automate the dataset refresh in Power BI service.
Regards,
Abhisek
Hi shivarv3 ,
that is certainly possible, you can use the REST API to do that:
- Datasets - Refresh Dataset In Group
The In Group part means that you want to refresh it from a shared workspace. So you'll need the WorkspaceId to call this. You could first call - You can also have a look at my blog post on how to use a Service Principal together with automation of your refresh:
Refresh a Power BI Dataset with PowerShell and a Service Principal
- Datasets - Refresh Dataset In Group
1 Reply
- nickyvvMost Valuable Professional
Hi shivarv3 ,
that is certainly possible, you can use the REST API to do that:
- Datasets - Refresh Dataset In Group
The In Group part means that you want to refresh it from a shared workspace. So you'll need the WorkspaceId to call this. You could first call - You can also have a look at my blog post on how to use a Service Principal together with automation of your refresh:
Refresh a Power BI Dataset with PowerShell and a Service Principal
- Datasets - Refresh Dataset In Group