Ask Learn
Preview
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Today’s blog entry comes from the investigative work of my outstanding SharePoint PFE colleague, Micah Wilkerson. In his customer environment, they had built a nice dashboard in Power BI Desktop, which was then sent via email to another team. When the team attempted to open the dashboard, they received the error message saying that the “ZIP archive contains unsupported data structures”. In our case, McAfee had detected one of the files within the .pbix package to be unsafe and had removed it, thus rendering the .pbix file structure as unsupported. See workaround steps below.
To determine why the ZIP archive contains unsupported data structures, you can perform the following operations.
In a functioning .PBIX file, you’ll see the following unzipped folder structure:
However, in this case, we see the following, including one missing file, [Content_Types].xml, and an addition file, 0_Warning.txt.
Opening 0_Warning.txt shows the following error message:
BLOCKED FILE ALERT
A file has been blocked due to the 'Level 1 File Types' rule.
Context: '[Content_Types].xml'
Disallowed due to filename
Ticket Number: <Ticket Number GUID>
See your system administrator for further information. Copyright 1999-2013 McAfee, Inc.
It appears that McAfee has stripped the xml file out of the zip (.pbix) during email.
Workarounds:
If you have another share location/option to avoid sending via email, you can use that option. Example: Posting it to a shared drive, SharePoint document library, etc.
If you need to try to recover the dashboard you now have that won't open, you can try the following steps:
Since the file [Content_Types].xml was removed from the .pbix zip contents, we can create/locate this file and add it back to the zip contents. The basic work flow is that we will unpack the zip contents of the failed .PBIX file, locate a good copy of the [Content_Types].xml file, copy this file into the unpacked contents, zip the files back up, and rename them again to the .PBIX extension. The missing file will then be included and you should be able to open your .PBIX file again.
Now that you have a copy of [Content_Types].xml, paste this file into the unzipped contents of the failing .PBIX zip contents and zip the files again. After zipping up these files, rename the file extension to .PBIX and open it in Power BI Desktop.
Now that the missing file is back, the report should be able to open successfully again.
If you see any other error messages when unpacking/unzipping the contents of a failed .PBIX file, please paste the error details in the comments below.
Good luck! Sam Lester (MSFT)
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign in