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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
SettlerOfCatan
Frequent Visitor

Using PowerShell to check if a Power BI file is damaged

Hello everybody,

 

we would like to check with PowerShell if a local Powe BI report is damaged or not.

We mean by "damaged" that you receive the following error when you try to open the report:

SettlerOfCatan_0-1634283278220.png

(Document cannot be opened - Report cannot be opened. The file is either encrypted or damaged.)

 

 

Is there a way to do this?

 

With best regards

2 REPLIES 2
amitchandak
Super User
Super User

@SettlerOfCatan , Try to publish it using power shell, if it fails, it might be corrupt

 

https://powerofbi.org/2021/01/27/powershell-script-to-publish-power-bi-reports/

the problem is that the customer does not have any Power BI related online service.

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.