Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I am trying to upload a pbix file that is over 2 gb using Power Shell and the Rest API.
Reading the Post Import In Group documentation I see I have to upload to a temporary location and then pass a "fileUrl" in the body of the import request.
I used this Power Shell script provide by Microsoft. The upload of the file to temporary storage works fine but I get "code": "InvalidFileSizeError" when trying to import the file from the temporary storage.
I did see this one post on the forum about passing the size of the file in the header of the import call but not sure how to do that as I see no reference to this in the documentation. Before reaching out to support I wanted to see if anyone else has a solution to this?
Any suggestions are greatly appreciated!
Successful Upload:
Error:
We face the same problem. Did you manage to solve this ?
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 10 | |
| 10 | |
| 4 | |
| 3 | |
| 3 |