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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.