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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
LAndris
Helper I
Helper I

Power Bi Metadata

Hi All,

 

I am attempting to use a single .pbit file to hold changes to formatting and visuals and then create multiple .pbix files from the .pbit file. These .pbix files would each use different databases and I was attempting to automate the connections used by editing the database in the metadata file DataModelSchema. I am successfully able to see the database name change when the file is unzipped and zipped back up but I am recieving an encryption error when attempting to connect to the database when opening the file. 

 

Is there something additional that must be edited in the metadata to allow the change in database to connect when opening the template, or is changing the database in the metadata corrupt the file?

 

Thanks,

 

Louis

2 REPLIES 2
V-lianl-msft
Community Support
Community Support

This may be caused by the securitybindings file.

Please try replace the original zip file with the modified file, delete the securitybindings file, and then rename to .pbix. Avoid decompressing and compressing the original file directly.

After I changed the .Pbit to .Pbit.Zip, I copied the DataModelSchema and edited the database connection and replaced the file that was in the .pbit.zip file and then removed the SecurityBindings file. When I renamed the file back to .pbit/.pbix the connection still appears to not work as the encryption error is still ocurring with the authentication.

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.