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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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