Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.