Forum Discussion
Git Integration PR and Tags
Hi
I'm seeing that in Fabric, from UI, is possible to connect to a PR or Tag branch, in photo we can see branches.
When i try to connect to it, it give me error 400 saying that the branch not exists ... but for example the PR is still in Azure DevOps.
Can we currently Git integrate with these kind of "branches" or not
{
"error": {
"code": "Git_BranchDeleted",
"pbi.error": {
"code": "Git_BranchDeleted",
"parameters": {},
"details": [],
"exceptionCulprit": 1
}
}
}
Regards
The answer is NO, because this is not a "regular" branch, rather, a temporary, system-generated reference that represents what the result of merging the PR branch into the target branch (usually main or develop)
Can it be used like a branch? mmm Yes — to some extent and under certain conditions, but definetly NOT in Fabric workspace because:
- It’s read-only and it can disappear if the PR is closed or updated.
- You cannot push to it.
Microsoft Fabric (and Power BI Git integration) expects a real, pushable branch to track changes and sync with the workspace, therefore won’t allow you to use it as a workspace branch, even if it appears in the list.
Quesion answered! Hope you mark this as a solution/answer to your question, kudos if you found this information useful ... best of lucks mate!!! Cheers.
1 Reply
- svenchio
Super User
The answer is NO, because this is not a "regular" branch, rather, a temporary, system-generated reference that represents what the result of merging the PR branch into the target branch (usually main or develop)
Can it be used like a branch? mmm Yes — to some extent and under certain conditions, but definetly NOT in Fabric workspace because:
- It’s read-only and it can disappear if the PR is closed or updated.
- You cannot push to it.
Microsoft Fabric (and Power BI Git integration) expects a real, pushable branch to track changes and sync with the workspace, therefore won’t allow you to use it as a workspace branch, even if it appears in the list.
Quesion answered! Hope you mark this as a solution/answer to your question, kudos if you found this information useful ... best of lucks mate!!! Cheers.