Forum Discussion
How to Publish multiple reports to Power BI instance
I would like to publish around 10/ 15 reports every week -- is there a automated approach for make them published to power bi instance thru script
You could write a custom application which uses the Power BI REST API to accomplish this. If writing a custom application in C# is an option for you, you can write your application code to upload PBIX files to either a personal workspace or a group worksapce in PowerBI.com. This gives you the same result as publishing a project in Power BI Desktop. If you go down this road, you must learn how to register your application with Azure AD and how to configure permissions for the Power BI REST API.
10 Replies
- TedPattisonMicrosoft Employee
You could write a custom application which uses the Power BI REST API to accomplish this. If writing a custom application in C# is an option for you, you can write your application code to upload PBIX files to either a personal workspace or a group worksapce in PowerBI.com. This gives you the same result as publishing a project in Power BI Desktop. If you go down this road, you must learn how to register your application with Azure AD and how to configure permissions for the Power BI REST API.
- Eric_ZhangMicrosoft Employee
An addition to TedPattison, Check this sample getting-started-for-dotnet-import in Github.
- Reid_HavensMost Valuable Professional
Hi nagesh4641,
Is the data kept in a cloud based or server location that you could use the "Scheduled Refresh" feature with on PowerBI.com?
- nagesh4641New Member
thanks for quick reply, i have new set of 10/15 reports every week.
- Reid_HavensMost Valuable Professional
Hi nagesh4641,
I'm not sure I fully understand. Are you saying you create 10-15 new .pbix reports each week from scratch? Compared to building a report and has data refreshed into it?