Error when trying to setup up CI/CD with Bitbucket

Alexandru Mester 115 Reputation points
2024-01-15T19:05:10.76+00:00

Hello,

I am encountering a persistent issue when trying to set up a CI/CD pipeline in the Azure Deployment Center with a Bitbucket repository. Despite numerous attempts with different Bitbucket accounts and even after changing login credentials, the process fails with the error message: "Failed to set up deployment. Failed to retrieve auth identity properties." This occurs right after selecting the repository and branch details in the Deployment Center and clicking the save button.

The issue has been replicated across multiple Azure accounts (including our main corporate account), with various repositories, and in different browsers (including incognito mode to avoid cache/cookie issues). We've also recreated the App Service multiple times without success. We suspect this might be a wider issue with Azure's Bitbucket integration, as this error appears consistently for different users and setups. Here are the steps we've followed:

  1. Navigate to the Azure Deployment Center.
  2. Select Bitbucket as the source and authenticate with the Bitbucket account.
  3. Choose the repository and branch for deployment.
  4. Upon clicking save, the error message appears.

Our attempts to resolve this include:

  • Clearing browser caches and using different browsers.
  • Re-authenticating and changing Bitbucket account passwords.
  • Creating new App Services.
  • Attempting the process with different Bitbucket repositories and accounts.
  • Verification from a superior's account to ensure it's not isolated to a single Azure subscription.

Is there a known issue with Azure's Bitbucket integration currently, or are there any suggested steps we could take to troubleshoot this further? Any insights or assistance with this matter would be greatly appreciated.

Microsoft Configuration Manager Deployment
Microsoft Configuration Manager Deployment
Microsoft Configuration Manager: An integrated solution for for managing large groups of personal computers and servers.Deployment: The process of delivering, assembling, and maintaining a particular version of a software system at a site.
976 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,758 questions
{count} votes

Accepted answer
  1. ajkuma 26,131 Reputation points Microsoft Employee
    2024-01-17T05:53:14.65+00:00

    To update:

    Our product engineering team rolled out a fix to address this issue.

    We sincerely apologize for any inconvenience it may have caused and value your patience and feedback.

    1 person found this answer helpful.

14 additional answers

Sort by: Most helpful
  1. Stefan Racota 5 Reputation points Microsoft Employee
    2024-01-16T14:32:00.6133333+00:00

    Please use the documentation below to set up the Deployment center with the Azure CLI https://video2.skills-academy.com/en-us/azure/app-service/scripts/cli-continuous-deployment-vsts az webapp deployment source config --name $webapp --resource-group $resourceGroup \ --repo-url $gitrepo --branch master


  2. Paolo Ramos 0 Reputation points
    2024-01-17T02:25:06.87+00:00

    Problem is fixed, I just tested with Azure Repo


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.