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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
rohith351
Regular Visitor

Calling Post Import API in Azure Data Factory web Activity (Importing .PBIX file to POWERBI)

I Store my PowerBI report(.pbix file) in the 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 AZURE Data FACTORY with web activity.

I am not able to add a file to a body in web activity in Azure Data Factory.

Please help me how can I add a file to the body in Azure Data Factory Web Activity for calling Post Import API
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

2 REPLIES 2
Anonymous
Not applicable

Hi @rohith351,

Have you tested to use the file that storage in 'onedrive for business' with this API? As the document mentioned, it seems not told it allows you to use the link of other cloud storage. (they may contain the verify or authorization so that requests may not succeed processed)

Authorize access to blobs and queues using Azure Active Directory 

Imports - Post Import In Group 

Creates new content on the specified workspace from PBIX (Power BI Desktop), JSON, XLSX (Excel), RDL, or file path in OneDrive for Business.

Regards,

Xiaoxin Sheng

I have a similar issue can you please give me some help ? https://community.powerbi.com/t5/Developer/how-to-post-import-pbix-file/m-p/1598191#M27231

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.