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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Sunkari
Responsive Resident
Responsive Resident

Uploading .pbix file to powerbi service using Power BI Rest API

 Hi All,

 

Can we upload .pbix files to Power BI service using Power BI Rest API?

 

We are planning to create an admin tool(kind of a user interface), where user can upload .pbix files to power bi service. And also user should able to assign the uploaded templates to different customers.

1 ACCEPTED SOLUTION
Eric_Zhang
Microsoft Employee
Microsoft Employee

@Sunkari

 

Please check this sample getting-started-for-dotnet-import on Github.


The sample shows you how to use the Create Import operation to upload a PBIX file to Power BI. This allows you to take a package of content in a PBIX file, and import it into a Power BI workspace. The Imports API splits the PBIX package into its individual parts including datasets and reports. It will then provide a metadata link between the actual import operation and the objects that were created from it.


 

View solution in original post

4 REPLIES 4
Eric_Zhang
Microsoft Employee
Microsoft Employee

@Sunkari

 

Please check this sample getting-started-for-dotnet-import on Github.


The sample shows you how to use the Create Import operation to upload a PBIX file to Power BI. This allows you to take a package of content in a PBIX file, and import it into a Power BI workspace. The Imports API splits the PBIX package into its individual parts including datasets and reports. It will then provide a metadata link between the actual import operation and the objects that were created from it.


 

We are not able to find anything on gihub page, could you please check and post it again, Thanks.

I dont see anything on Github.

@Eric_Zhang:Thanks Eric

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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