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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi ALL,
I was trying to build DACPAC using VS Code and then trying to read it by opening in Notepad but it is not opening properly/ or is in some encrypted format .
How can i read this DACPAC , please help.
Solved! Go to Solution.
Hi @yashaswi_raj ,
Thanks for reaching out to Community Forum.
This is expected behavior and not an issue with Microsoft Fabric. A DACPAC exported from a Fabric Warehouse or Lakehouse is not a plain text file, so opening it in Notepad will always look unreadable. In Fabric, a DACPAC represents a packaged database schema that is meant to be consumed by supported tools, not viewed directly as text. The correct way to inspect or work with it is to import it into a SQL Database Project (for example using Visual Studio or Azure Data Studio) or use SqlPackage to extract or deploy the schema. This confirms that the export itself is valid the limitation is simply that Notepad cannot interpret the DACPAC format.
Supporting Fabric documentation :
https://learn.microsoft.com/en-us/fabric/database/sql/overview
https://learn.microsoft.com/en-us/fabric/database/sql/sqlpackage
https://learn.microsoft.com/en-us/fabric/data-warehouse/develop-warehouse-project
Thank you.
Hi @yashaswi_raj ,
Thanks for reaching out to Community Forum.
This is expected behavior and not an issue with Microsoft Fabric. A DACPAC exported from a Fabric Warehouse or Lakehouse is not a plain text file, so opening it in Notepad will always look unreadable. In Fabric, a DACPAC represents a packaged database schema that is meant to be consumed by supported tools, not viewed directly as text. The correct way to inspect or work with it is to import it into a SQL Database Project (for example using Visual Studio or Azure Data Studio) or use SqlPackage to extract or deploy the schema. This confirms that the export itself is valid the limitation is simply that Notepad cannot interpret the DACPAC format.
Supporting Fabric documentation :
https://learn.microsoft.com/en-us/fabric/database/sql/overview
https://learn.microsoft.com/en-us/fabric/database/sql/sqlpackage
https://learn.microsoft.com/en-us/fabric/data-warehouse/develop-warehouse-project
Thank you.
Hi @v-sshirivolu , thanks for the answer , can you tell why dacpac built for azure sql databases open in a notepad ? also can you recommend any industry standard approach for warehouse items deployment via azure devops
Hi @yashaswi_raj ,
I would take a moment to thank @deborshi_nag , for actively participating in the community forum and for the solutions you’ve been sharing in the community forum. Your contributions make a real difference.
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions
hi @v-sshirivolu , the solution looks overwhelming , can you tell me what at present is the industry accepted way of deploying the warehouse ?
Hi @yashaswi_raj ,
The industry accepted approach is to deploy Fabric Warehouses using DACPAC based CI/CD pipelines, similar to how Azure SQL is deployed. The DACPAC is treated purely as a deployment artifact and isn't intended to be read or edited manually. Any schema comparison or incremental changes are handled using supported tools like SqlPackage or SQL Database Projects, rather than by inspecting the DACPAC file itself. This approach helps keep deployments consistent, supported, and repeatable across different environments.
Hi @yashaswi_raj ,
For deploying Fabric warehouse using azure devops, you can leverage DACPAC option.
Please refer this article for more details
Regards,
Srisakthi
Warehouse without dependencies
Warehouse with warehouse dependencies
Warehouse with SQL endpoint dependencies
SQL endpoint without dependencies
SQL endpoint with warehouse dependencies
SQL endpoints depending on other endpoints
Here's a link to the GitHub repo to the Fabric Toolbox
GitHub - microsoft/fabric-toolbox: Fabric toolbox is a repository of tools, accelerators, scripts, a...
DACPAC, like many MS file formats (docx, pbix) is just a zip file wearing a wig.
You can either rename it to .zip and open it in Windows that way or find a program to open it. If you need to do it programmatically, python will quite happily read zip files.
Alternatively, use the Extract function mentioned in the article to turn it all into a .sql file.
https://learn.microsoft.com/en-us/sql/tools/sql-database-projects/concepts/data-tier-applications/un...
If this helps, please Accept as Solution to help others to find it more easily.
This answers the original question.
I am curious though, why are you trying to read the dacpac instead of deploying it?
want to deploy the warehouse components only but since it has to read the lakehouse dacpac when any warehouse item has a refrence to lakehouse table , so my team wanted to check once we setuo the cicd do we need to evertime reupload the latest dacpac for lakehouse by building in vs code , in this process can one see the difference in both the dacpacs.