Forum Discussion

noahfox's avatar
noahfox
Advocate II
1 year ago
Solved

Power BI Workspace Source Control is Broken Again

  1. Changes does not open. 2. Unclear what the conflicts are as there weren't this many changes.  3. Did not happen on other workspaces that are synced to the same repo.     4. When we c...
  • Anonymous's avatar
    Anonymous
    1 year ago

    Hey noahfox ,


    Thanks for sharing the detailed screenshots  it looks like you're running into a known hiccup that started appearing recently after Microsoft introduced folder support for Git in Fabric. Fabric now reflects folder structures in Git, which can unexpectedly trigger a large number of false change/conflict detections, especially if you didn't make any recent manual updates. That’s probably because of,

    • You’re seeing 66 changes / 98 updates suddenly.
    • The system shows 52 conflicts, even though you didn't touch those items.
    • Clicking “Update All” shows a blank screen this seems to be a UI bug when the system can’t fully render large or malformed diffs.
    1. Avoid “Update All” until you review changes
      Since it’s blank, it’s risky  especially if you’re unsure what those changes are.
    1. Use the API or Git CLI to check what's changed
      You can compare your workspace’s current Git head vs the repo head to see if the structure change is causing the mismatch.
    1. If using the Power BI REST API, look out for this json.
    {
      "errorCode": "WorkspaceHeadMismatch",
      "message": "The workspace head does not match the current head."
    }

    That error means your workspace is out of sync with Git which fits the situation. Interestingly, in your case the update still succeeded, so it seems the backend accepted it after a force.

    1. Workaround if things remain broken
    • Export your artifacts (PBIX, datasets, etc.)
    • Disconnect Git from the workspace
    • Reconnect and resync to start fresh from the Git branch

    Also check whether any recent Fabric commits in the Git repo added .folders or changed file paths that’s often the root of these surprise sync issues.

    Regards,
    Akhil.