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.
936 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,338 questions
{count} votes

Accepted answer
  1. ajkuma 24,661 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. Paolo Ramos 0 Reputation points
    2024-01-16T03:06:38.08+00:00

    Same here but with Azure Repo. First, when I pushed a commit it showed in the log that it failed, but gave no further details. So I disconnected the deployment. When I tried to configure it again I get the message "Failed to set up deployment: Failed to retrieve auth identity properties"

    0 comments No comments

  2. Ridwan Ul Haq 0 Reputation points
    2024-01-16T07:35:34.4633333+00:00

    Yes, can confirm. I'm coming across the same issue with Azure Repos. I have been scratching my head for the past 24 hours and finally landed here. This is an issue with the App service itself, it seems. Hoping for a resolution!

    0 comments No comments

  3. Volodymyr Vahaiev 0 Reputation points
    2024-01-16T07:45:50.7866667+00:00

    Facing exactly the same problem with Azure Repos.

    0 comments No comments

  4. Barriquand, Valentin 5 Reputation points
    2024-01-16T09:11:24.5766667+00:00

    Exact same error here, trying to setup CICD with azure repo but nothing works

    0 comments No comments