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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
Mesalome
Frequent Visitor

🚨 PBIR Format Enabled in the Preview features but Still Getting Error? What Am I Missing

Hi everyone,

I’m trying to test the new PBIR format to modify report elements directly via JSON (instead of the UI) because this is going to be a huge deal if I can do it, right? 


I’m following this example shared by a Microsoft programme manager, where he successfully updated report properties (colours) through the PBIR structure via PBIP:
👉https://www.linkedin.com/posts/ruiromano_powerbi-developermode-pbip-activity-7351223292432728067-MrD...

So this approach clearly should work.

 

When I save report into pbip, then update the json and save it down and try to open my report (pbip), I get:

“Report is using the PBIR format. Please enable the preview feature 'Store reports using enhanced metadata format' before opening it again.” 

Mesalome_0-1776438407493.png

 




 

 

All relevant preview features are enabled:

 

Mesalome_1-1776438439242.png


Questions

  • What am I missing? 
  • Has anyone successfully edited report JSON like this outside of demos?
1 ACCEPTED SOLUTION
Ritaf1983
Super User
Super User

Hi @Mesalome 

This should work outside of demos, but the most likely issue is that enabling the preview feature alone does not automatically convert an existing PBIP report into PBIR.

For an existing project, Power BI Desktop still has to perform the upgrade itself. According to Microsoft’s documentation, after enabling the PBIR preview feature, the PBIP needs to be opened in Desktop, saved, and then upgraded so the report is converted from the legacy single report.json structure into the PBIR definition\ structure.

https://learn.microsoft.com/en-us/power-bi/developer/projects/projects-report

So if the JSON was edited manually and the files now look like PBIR, but Desktop never actually completed the conversion, that would explain the error message. Microsoft also states that PBIR can be created or converted by using Power BI Desktop, not just by manually rearranging or editing files.

https://learn.microsoft.com/en-us/power-bi/developer/embedded/projects-enhanced-report-format

A few things to check:

Confirm the project was actually upgraded, not just that the preview option was enabled. Existing PBIPs are not converted automatically.
Check the report folder structure. PBIR-Legacy uses a single report.json, while PBIR uses a definition\ folder with separate files for pages, visuals, bookmarks, and related metadata.
Check the definition.pbir version. Version 1.0 supports PBIR-Legacy only, while version 4.0 or higher supports the PBIR definition\ folder format.
If any PBIR files or folders were renamed manually, restart Power BI Desktop before reopening the project.

Reference:
https://learn.microsoft.com/en-us/power-bi/developer/projects/projects-report

 

So the likely missing piece is not the JSON edit itself, but that the report was never fully upgraded by Desktop into PBIR format.

And yes, this is supported beyond demos. Microsoft explicitly describes PBIR as enabling manual or programmatic batch changes to report files, so this is a documented scenario, not just something shown in internal examples.

https://learn.microsoft.com/en-us/power-bi/developer/embedded/projects-enhanced-report-format

 

If none of that helps, it may also be worth testing with a brand-new PBIP created after the preview feature is enabled. That is usually the fastest way to tell whether the issue is with the current project’s conversion path or with the local Desktop environment.

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

3 REPLIES 3
Ritaf1983
Super User
Super User

Hi @Mesalome 

This should work outside of demos, but the most likely issue is that enabling the preview feature alone does not automatically convert an existing PBIP report into PBIR.

For an existing project, Power BI Desktop still has to perform the upgrade itself. According to Microsoft’s documentation, after enabling the PBIR preview feature, the PBIP needs to be opened in Desktop, saved, and then upgraded so the report is converted from the legacy single report.json structure into the PBIR definition\ structure.

https://learn.microsoft.com/en-us/power-bi/developer/projects/projects-report

So if the JSON was edited manually and the files now look like PBIR, but Desktop never actually completed the conversion, that would explain the error message. Microsoft also states that PBIR can be created or converted by using Power BI Desktop, not just by manually rearranging or editing files.

https://learn.microsoft.com/en-us/power-bi/developer/embedded/projects-enhanced-report-format

A few things to check:

Confirm the project was actually upgraded, not just that the preview option was enabled. Existing PBIPs are not converted automatically.
Check the report folder structure. PBIR-Legacy uses a single report.json, while PBIR uses a definition\ folder with separate files for pages, visuals, bookmarks, and related metadata.
Check the definition.pbir version. Version 1.0 supports PBIR-Legacy only, while version 4.0 or higher supports the PBIR definition\ folder format.
If any PBIR files or folders were renamed manually, restart Power BI Desktop before reopening the project.

Reference:
https://learn.microsoft.com/en-us/power-bi/developer/projects/projects-report

 

So the likely missing piece is not the JSON edit itself, but that the report was never fully upgraded by Desktop into PBIR format.

And yes, this is supported beyond demos. Microsoft explicitly describes PBIR as enabling manual or programmatic batch changes to report files, so this is a documented scenario, not just something shown in internal examples.

https://learn.microsoft.com/en-us/power-bi/developer/embedded/projects-enhanced-report-format

 

If none of that helps, it may also be worth testing with a brand-new PBIP created after the preview feature is enabled. That is usually the fastest way to tell whether the issue is with the current project’s conversion path or with the local Desktop environment.

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

I discovered that an older version of Microsoft Power BI Desktop was still affecting my environment. I fully uninstalled it, cleared the local cache, and then installed the latest version.

After that, I carefully enabled the preview features step by step (with restarts in between): first “Save as PBIP,” then “Save as PBIR.” I then re-saved the report as a PBIP, and the new PBIR folder structure was generated correctly.

Following this, I was able to modify the TMDL/script files, and the changes were successfully reflected in the report.

Can't be happier. Thank you.

MFelix
Super User
Super User

Hi @Mesalome,

 

I was able ti do the edit my own reprots using the JSON alongside with Visual Studio and Copilot Github and the PBIR format without any problems, of the nature you are refering to. What is the Power BI version that you are using?

 

Sorry for the silly question but before changing the JSON you are closing Power BI desktop correct?

 


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português





Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

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.