This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreGet Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.
Hi
I have an A4 embedded instance set up using Service Principal.
I can import a paginated report .rdl file in a workspace using the PowerBI web ui.
However if I try to import the same .rdl file using the REST API via the .NET sdk using the PostImportWithFileAsyncInGroup it fails with "BadRequest" error with response
{"error":{"code":"RequestedFileIsEncryptedOrCorrupted","pbi.error":{"code":"RequestedFileIsEncryptedOrCorrupted","parameters":{},"details":[],"exceptionCulprit":1}}}
I am able to import a .pbix successfully.
Does anyone have any ideas what may cause this?
Thanks
hi @kevinnmo ... you can try this for
The official Power BI REST APIs documentation says that .rdl files are supported for import (via the imports or imports/inGroup endpoint). Microsoft Learn+2Microsoft Learn+2
For .rdl, the docs require that the datasetDisplayName query parameter include the .rdl extension (e.g. myReport.rdl). Microsoft Learn+1
The docs also recommend using the official C# SDK (Microsoft.PowerBI.Api) when uploading .rdl files. Microsoft Learn+1
Did you ever resolve this issue? I am experiencing the same and can't find any docs or posts that help.
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |