Forum Discussion
Git sync error after reconnecting cleared Fabric workspace
I disconnected the Git integration from an existing Fabric workspace and manually deleted all items. Afterwards, I reconnected the Git repository, but I keep getting this error when trying to sync
Cluster URI https://wabi-north-europe-h-primary-redirect.analysis.windows.net/
Request ID xxx
Workload Error Code PowerBIMetadataWorkspaceArtifactsQuotaExceededException
Time Wed Aug 05 2026 10:01:32 GMT+0200 (Central European Summer Time)
Hi,
That error actually has nothing to do with Git: PowerBIMetadataWorkspaceArtifactsQuotaExceededException is the 1000-item-per-workspace limit (Fabric + Power BI combined) kicking in.
"But the workspace is empty, I deleted everything manually!" — and that's exactly where it gets you. If Item Recovery / the workspace Recycle bin is enabled in your tenant, deleted items don't actually go away, they sit in a soft-deleted state for 7–90 days. And Microsoft's own API docs state it plainly: soft-deleted items still count toward the workspace item limit.
So here's what happens: the workspace looks empty but still "weighs" the same as before, then the Git sync tries to recreate every item from scratch → double the count → over quota → boom.
How to fix it:
- Open the workspace → Recycle bin (in the left-hand nav)
- Select everything → Delete permanently (needs Workspace Admin). ⚠️ irreversible, so make sure everything you care about is in the repo first
- Re-run the Git update
If there are too many items to do by hand, use the API:
httpDELETE https://api.fabric.microsoft.com/v1/workspaces/{workspaceId}/recoverableItems/{itemId}For next time, when you empty a workspace just hard delete directly and skip the whole problem:
httpDELETE https://api.fabric.microsoft.com/v1/workspaces/{workspaceId}/items/{itemId}?hardDelete=TrueIf the recycle bin is already empty and you're still getting quota exceeded, check for the "ghost" items that don't show up in the list but count anyway:
- Dataflow Gen2 staging artifacts (DataflowsStagingLakehouse / DataflowsStagingWarehouse)
- SQL analytics endpoints + default semantic models auto-created with every Lakehouse/Warehouse
- Usage Metrics reports and their semantic models
To see the real count: GET https://api.fabric.microsoft.com/v1/workspaces/{workspaceId}/items, or the Admin Monitoring workspace → Feature adoption and usage report, Inventory section.
One last practical note: if that workspace has no special permissions/settings/capacity assignments you'd have to rebuild, it's often easier to just spin up a new one and connect the repo there — 5 minutes instead of chasing dirty metadata. And if the workspace had nowhere near 1000 items and none of the above explains the number, then it's stuck metadata on the backend: open a support ticket with that Request ID.
Hope that helps, let us know how it goes 👍
2 Replies
- 98mdenFrequent Visitor
Hi,
That error actually has nothing to do with Git: PowerBIMetadataWorkspaceArtifactsQuotaExceededException is the 1000-item-per-workspace limit (Fabric + Power BI combined) kicking in.
"But the workspace is empty, I deleted everything manually!" — and that's exactly where it gets you. If Item Recovery / the workspace Recycle bin is enabled in your tenant, deleted items don't actually go away, they sit in a soft-deleted state for 7–90 days. And Microsoft's own API docs state it plainly: soft-deleted items still count toward the workspace item limit.
So here's what happens: the workspace looks empty but still "weighs" the same as before, then the Git sync tries to recreate every item from scratch → double the count → over quota → boom.
How to fix it:
- Open the workspace → Recycle bin (in the left-hand nav)
- Select everything → Delete permanently (needs Workspace Admin). ⚠️ irreversible, so make sure everything you care about is in the repo first
- Re-run the Git update
If there are too many items to do by hand, use the API:
httpDELETE https://api.fabric.microsoft.com/v1/workspaces/{workspaceId}/recoverableItems/{itemId}For next time, when you empty a workspace just hard delete directly and skip the whole problem:
httpDELETE https://api.fabric.microsoft.com/v1/workspaces/{workspaceId}/items/{itemId}?hardDelete=TrueIf the recycle bin is already empty and you're still getting quota exceeded, check for the "ghost" items that don't show up in the list but count anyway:
- Dataflow Gen2 staging artifacts (DataflowsStagingLakehouse / DataflowsStagingWarehouse)
- SQL analytics endpoints + default semantic models auto-created with every Lakehouse/Warehouse
- Usage Metrics reports and their semantic models
To see the real count: GET https://api.fabric.microsoft.com/v1/workspaces/{workspaceId}/items, or the Admin Monitoring workspace → Feature adoption and usage report, Inventory section.
One last practical note: if that workspace has no special permissions/settings/capacity assignments you'd have to rebuild, it's often easier to just spin up a new one and connect the repo there — 5 minutes instead of chasing dirty metadata. And if the workspace had nowhere near 1000 items and none of the above explains the number, then it's stuck metadata on the backend: open a support ticket with that Request ID.
Hope that helps, let us know how it goes 👍
- mstoegererFrequent Visitor