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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
PowerBITestingG
Advocate II
Advocate II

Power BI GIT everything is suddenly uncommitted

Today the entire workspace appears uncommited. I am sensing its because of the latest Fabric/PBI update?

 

Has this happened to anyone?

PowerBITestingG_1-1711539074573.png

 

1 ACCEPTED SOLUTION

Microsoft product team confirmed, that unfortunately, we do not have a choice. The only way to move on is to accept the changes and commit them: a) all Workspaces one by one into Git, or b) from the March 2024 PBI Desktop -> Git -> Workspaces, as I mentioned above.

The fastest way is option (a), but If your Git branch connected to the workspaces (e.g. main branch) doesn't allow direct commits (only Pull Requests) then you'll have to disable the commit policy, commit all from workspaces, enable the commit policy back and then resolve all conflicts that the developers will have.

View solution in original post

21 REPLIES 21
v-tianyich-msft
Community Support
Community Support

Hi all,

 

This problem is due to new changes introduced by the new git system files. The current workaround is to commit the changes and resolve the conflict.

We have seen on the internal platform that other engineers have reported this issue and submitted it.
The engineers on the product team are now aware and will do their best to resolve the issue. I will update here if there is any progress, so please be patient.

 

Best regards.
Community Support Team_Scott Chang

alexgor87
Advocate II
Advocate II

Hi all, we have the same issue. It is caused by March 2024 Power BI update:
https://powerbi.microsoft.com/en-us/blog/power-bi-march-2024-feature-summary/#post-26258

alexgor87_0-1711626825837.png

@wiSama is right, I compared the updated files in Power BI service with Git repo, and it seems that Power BI service has changed all files in all workspaces connected to Git automatically by removing files item.metadata.json and item.config.json and adding new .platform file.

Depending on your branching strategy there are some options:
1. Commit all changes from workspaces into Git, but it might create conflicts which you will need to resolve manually.
2. Undo all changes in the workspace, open all reports in March version of PBI Desktop, commit changes and sync Git into all workspaces. This is something similar to what @powerbiplatypus suggested, but without disconnecting from Git.

We have dozens of workspaces and hundreds of datasets and reports. I raised MS support ticket to find the best way of how to resolve this.

Will be really helpful if you can post Microsoft response 🙂

Microsoft product team confirmed, that unfortunately, we do not have a choice. The only way to move on is to accept the changes and commit them: a) all Workspaces one by one into Git, or b) from the March 2024 PBI Desktop -> Git -> Workspaces, as I mentioned above.

The fastest way is option (a), but If your Git branch connected to the workspaces (e.g. main branch) doesn't allow direct commits (only Pull Requests) then you'll have to disable the commit policy, commit all from workspaces, enable the commit policy back and then resolve all conflicts that the developers will have.

powerbiplatypus
New Member

I believe we found a fix. It is a pain, but we disconnected the repository from the workspace, opened all the reports in the March update of the PowerBI Desktop, saved each report (so that it could edit the PBIP folder structrure) and saved + committed. Then we re-connected the workspace to the repository and were back up and running.

 

After this, we tested adding a new report and it seemed to work. Wonder if MSFT did their testing with cleaned environments with this latest release...

ElyatanVencesla
New Member

Estou passando pelo mesmo problema aqui

Johag
Frequent Visitor

Same issue here. Appeared a couple of hours ago. 

I tried to checkout to a new branch, commit and then switch back to main. But I received same error. One of the report throw error: "PowerBIMetadataArtifactDisplayNameInUseException"

 

Johag
Frequent Visitor

We have several workspaces in my organisation and for one it worked to just "Update all". Word of advice, then repo will update to version 4.0 and you will need latest Power BI version to open files after sync. If your company/organisation have their own version that might be a couple of versions behind you won't be able to open files after update. 

 

For one of our workspaces I can't sync, still get error message "PowerBIMetadataArtifactDisplayNameInUseException". 

Anyone experienced same and have any suggestion how to fix? 

Johag
Frequent Visitor

If anyone get same error message as I did, I fixed by disconnect Git from workspace and then connect to same repo and then finally made a sync. 

EvanSkam
Frequent Visitor

I just wanted to comment here to share my experience.

Yesterday afternoon around 3pm MST I noticed several new untracked files in my local git repo after I saved a pbip file (I've been using the Git integration with successfully with this, and other files for ~1 month).

These files were introduced over 2 saves:
*/definition.pbism
*.Report/.platform
*.Report/semanticModelDiagramLayout.json

When I attempted to sync changes in my workspace, I received this error:

Error message:

Workload Error Code Workload_FailedToParseFile

Workload Error Message Error while reading 'definition.pbidataset'. DatasetDefinition: Required artifact is missing.

This morning I'm seeing a bit different behavior with the request to merge and override the objects in my workspace.

Just now, I created a new workspace and synced my changes there without an issue. For reference, I was unable to do this yesterday evening (see above error). This seems to be a good signal for continuing in our prd env, however I will continue testing in the test workspace to ensure there won't be breaking changes.

To close the loop:

Seems like the issues of yesterday have been fixed. I did have to merge/override my semantic model, which is not something that has been necessary up until this morning.

Having rehersed it a couple of time, it seems to be stable again.

Are you using the new TMDL preview feature in PBI Desktop ?

Negative. We have not made the switch over as of this point.

Romuald1973
New Member

Same here also.
Someone in PowerBI / Fabric Team, please advise ?

Nadjib
Frequent Visitor

Same here ! It's probably due to the new update.

KEBUD
Regular Visitor

Same here, have to publish reports directly to the workspace for now I guess?

wiSama
Advocate I
Advocate I

Same here, unable to publish changes from git to Workspace and also the other way around. Everything that was published is now uncommited, and when I tried to remove the git integration and redo it, it won't sync anymore. This is one of the errors I receive.

Workload Error Code PowerBIMetadataArtifactDisplayNameInUseException

Same here! Did Microsoft comment on this?
What are we supposed to do now? just wait? Or commit everything?
I this it has to do with new Git version, as it says now version 4.0 instead of 1.0, deleted 2 json files and added a "platform" file to the report folder...

Just saw the update removing 2 json files, but they said in the Power BI March 2024 Feature Summary site: Beyond these adjustments, there will be no impact on your Git workflow.

 

Currently, I'm just waiting a little bit, but I think I might try to update the model and commit it to the service

joaogalhardo
Regular Visitor

Same here, probably some problem with the new fabric update

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors