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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
nikywilliams
Frequent Visitor

"UnknownError" when using Export-PowerBIReport cmdlet. Was working just fine a few days ago

Anyone know what is going on here? This worked just fine a few days ago and now half my exports are failing with this message. All I see on here are "UnknownError", "WriteError", and "InternalServerError". Not sure where else to go here with troubleshooting especially since some other reports will export just fine. 

 

* I confirmed that C:\tmp exists

* This is scripted so it uses the GUIDs gathered from the API, I know the GUIDs are correct.

* As mentioned, this was working a few days ago

* About half the reports will export just fine

* Using the online PBI REST API tool also yields a similar "UnknownError", this also was working earlier. (https://docs.microsoft.com/en-us/rest/api/power-bi/reports/export-report)

 

Any direction is very appreciated, I'm stumped!

Error.png

 

Nik

2 REPLIES 2
nikywilliams
Frequent Visitor

Thank you for your response.

Please see the image in the original post, "Resolve-PowerBIError" was executed right after the "Export-PowerBIReport" cmdlet failed. I was unable to find any meaningful information.

 

On another note. I just tried the exact same command again this morning (see image below) and it worked. No error, no issue. Does anyone have any idea why it would work one day then not the next?? This makes it very difficult to create any sort of consistent automated process.Success.png

V-lianl-msft
Community Support
Community Support

Can you try this cmdlet to see if it gives you more information about failure? https://docs.microsoft.com/en-us/powershell/module/MicrosoftPowerBIMgmt.Profile/Resolve-PowerBIError...

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.