BranchDeploy / Docs /

Troubleshooting

”BranchDeploy is not configured”

Cause: No configuration has been saved for this project, or all configured environments are disabled.

Fix:

  1. Go to Project Settings → BranchDeploy.
  2. Ensure at least one environment is filled in with a valid Pipeline ID.
  3. Click Save settings.
  4. Try the deploy action again.

”No linked branch found”

Cause: The work item has no Azure Repos branch or pull request linked in its Development section.

Fix:

  1. Open the work item.
  2. In the Development section (right panel), click create a branch or link an existing branch.
    • Alternatively, open the Azure Repos pull request and link the work item from the PR’s work item section.
  3. Once a branch or PR is linked, retry the deploy action.

BranchDeploy only reads links from the Development section of the work item. Links added in the Related Work or Links tabs are not used.


”Branch is not allowed”

Cause: The branch linked to the work item does not match any of the allowed branch patterns configured in Project Settings → BranchDeploy.

Fix:

  1. Go to Project Settings → BranchDeploy.
  2. Update the Allowed branch patterns field to include the branch pattern you need.
    • For example, add hotfix/* to allow hotfix branches.
  3. Save, then retry.

If you intentionally want to allow all branches, enter * as the only pattern — but be aware this removes the safety guard.


”Pipeline run failed”

Cause: The Azure Pipelines Run API returned an error after BranchDeploy tried to queue the run.

Common reasons:

SymptomLikely cause
Error message mentions permissionsYour account lacks Queue builds permission on the pipeline
Error mentions branch filterThe pipeline has a branch filter that excludes the linked branch
Error mentions resource authorisationThe service connection or resource used by the pipeline is not authorised for the branch
Error mentions invalid definitionThe Pipeline ID in BranchDeploy settings is wrong

Fix for permissions:

Fix for invalid Pipeline ID:

  1. Open Pipelines in your Azure DevOps project.
  2. Open the correct pipeline.
  3. Copy the definitionId from the URL (e.g. .../_build?definitionId=42).
  4. Update the Pipeline ID in Project Settings → BranchDeploy.

”Permission denied” or “Unauthorised”

Cause: BranchDeploy is making API calls using your Azure DevOps session, and your account does not have access to the project or repository.

Fix:

  1. Confirm you have Basic or Stakeholder access to the project.
  2. Confirm you have Read access to the Azure Repos repository.
  3. Confirm you have Queue builds permission on the pipeline.
  4. If you recently changed roles or joined the project, try refreshing your browser session.

Multiple branches linked to the work item

Cause: Two or more branches or pull requests are linked to the work item. BranchDeploy cannot safely choose one automatically.

Free tier behaviour: BranchDeploy shows an error message listing the candidate branches and asks you to unlink all but one, then retry.

Pro behaviour: A picker lets you select which branch to deploy from the list of candidates.

Fix (free tier):

  1. Open the work item.
  2. In the Development section, remove the extra branch links until only one remains.
  3. Retry the deploy action.

BranchDeploy action does not appear on the work item

Cause: The extension is not installed, or it was installed but not enabled for this project.

Fix:

  1. Confirm BranchDeploy is installed. Go to Organisation Settings → Extensions and check that BranchDeploy appears in the installed list.
  2. If BranchDeploy is installed but the action is not visible, try refreshing the page (Azure DevOps extensions sometimes need a hard refresh after installation).
  3. If you are using a custom work item type, the action may not render in all views. Try opening the work item in its full-page form.

Settings page is blank or fails to load

Cause: The extension’s settings component failed to initialise.

Fix:

  1. Open your browser’s developer console (F12) while on the BranchDeploy settings page.
  2. Look for JavaScript errors. Report them to support@branch-deploy.dev with the error text and your organisation URL.
  3. Try a different browser to rule out browser-specific issues.

Still stuck?

Open a support request at branch-deploy.dev/support and include: