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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hello,
I would like to submit an issue i'm encountering with the Power BI REST API.
We used to succesfully call "ExportToFileInGroup" route on our web app, and then it stopped working without changing code or updating the app core.
So i tested this route online with the "try it" function on documentation, and didn't manage to make it work on the first place with the usual post body:
{
"format":"PDF",
"powerBIReportConfiguration": {
"identities": [
{
"username":"xxx",
"roles":["xxx"],
"reports":["xxx"],
"datasets":["xxx"]
}
]
}
}
It returns a 400 error:
{
"error": {
"code": "InvalidRequest"
"message": "Export report was called with a bad request"
}
}
First weird thing, I tried modifying "powerBIReportConfiguration" property to the name of the class it's accepting, "PowerBIReportExportConfiguration".
It worked :
So then i tried the same EXACT SAME request in the webapp, but i'm getting a new error, even if it worked properly on "try it":
{
"error": {
"code": "InvalidRequest"
"message": "Export report requires effective identity to be provided for the report's dataset"
}
}
The dataset does require an identity, and it used to work. I can't tell exactly when it stopped working (some months ago).
I must say i'm hitting a deadend here, hope someone can lead me to the solution.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.