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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
rohith351
Regular Visitor

Import Power Bi Report (.pbix file) using Rest API returning an error.

I Store my PowerBI report(.pbix file) in Azure blob container in my storage account.

I have created an APP with the client ID and client secret and generates tokens from the endpoint. 
But when I calling Post an Import in Group API to import my file to my workspace using the file URL that shown in the properties, is returning an error with status code 400. 

Please explain or reach me out by helping me how to call an IMPORT API from HTTP REQUEST using body.
Waiting for your response.


This is the API url that I used rplacing The X with group ID.

 https://api.powerbi.com//v1.0/myorg/groups/XXX/imports?datasetDisplayName=mydataset001&nameConfl....

1 REPLY 1
Anonymous
Not applicable

You can follow the below blog post: https://docs.microsoft.com/en-us/rest/api/power-bi/imports/postimport

If its resolve your issue please mark it as a solution.

 

Abhishek

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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

Top Solution Authors