Unable to rebind SonarCloud after Azure DevOps organization URL change

Hi,

I need assistance updating the Azure DevOps organization binding for our SonarCloud organization.

Context

We moved our Azure DevOps organization URL from:

  • https://dev.azure.com/OrgA
    to
  • https://dev.azure.com/OrgB

What I already changed in SonarCloud

In Organization Settings, I updated:

  • Organization Name
  • Organization URL
  • Organization Key

Current issue

The Azure DevOps binding still fails.
When I attempt to create/import a new project, I receive:

error_message_with_reason AZURE_DEVOPS_UNABLE_TO_FETCH_REQUESTED_RESOURCE

Request

Could you confirm the correct procedure to fully rebind SonarCloud to the new Azure DevOps organization (OrgB)?

Thank you.

Hi @Chris28,

Thanks for reaching out.

The settings you’ve already updated (Organization Name, URL, Key) are SonarCloud’s own metadata, they don’t affect the underlying Azure DevOps connection. The AZURE_DEVOPS_UNABLE_TO_FETCH_REQUESTED_RESOURCE error means SonarQube Cloud is still trying to reach your old ADO URL ( Azure DevOps Services | Sign In ).

The ADO connection is stored separately. To update it:

  1. Go to Organization → Administration → Organization settings → DevOps Platform Integration
  2. Find the Azure DevOps connection record
  3. Update the ADO organization URL from dev.azure.com/OrgA to dev.azure.com/OrgB
  4. Provide a fresh Personal Access Token with the required permissions on OrgB

See Changing the token used to connect to Azure DevOps organization for the exact steps.

Once updated, project imports should work again. Note: this is specifically supported for renames of the same ADO organization (same org, new URL), it’s distinct from moving to a wholly different ADO organization, which SonarQube Cloud doesn’t support without creating a new SonarCloud organization.

Let us know if you hit any issues after updating the integration settings.

Best regards,

Stevan

Hi @stevan.vanderwerf,

Thanks for your reply.

However, I couldn’t find the DevOps Platform Integration section. I’m attaching screenshots of my SonarCloud views.

Could you please help me locate this option exactly?

Thank you.

Hi @Chris28,

Thanks for the update.

I need to correct my previous response, I confused the steps for SonarQube Server vs SonarQube Cloud. The Organization binding setting only allow updating the Personal Access Token, not the ADO organization URL.

SonarQube Cloud doesn’t have a mechanism at the moment for changing ADO binding (which includes the organization URL). There is no self-service UI path to update it from dev.azure.com/OrgA to dev.azure.com/OrgB.

The only supported path is to create a new SonarCloud organization, bind it to dev.azure.com/OrgB, and recreate/re-analyze your projects. Note, this does mean losing previous analysis history.

Best regards,

Stevan

Hi @stevan.vanderwerf ,

Thank you for your reply.

I understand. Could you please let me know the process for transferring credits purchased under the Team plan from one organization to another?

Kind regards,

Christian.