Unlink organization form Azure DevOps after move to GitHub

Hello

We just moved our repo from Azure DevOps to GitHub. Our organization in SonarCloud is still linked to Azure DevOps and we would like to have it unlinked so that we can then link it to GitHub. This would allow us to keep the history and billing in place.

I found some other topics where you did the unlink for other users.

Thanks in advance,
Martin

Hi,

Welcome to the community!

Unfortunately, it’s currently not possible to unbind an organization that’s bound to ADO and bind it to something else. You can vote for adding this feature here.

The only way to have your organization bound to a different DevOps Platform currently is to create a new organization and re-import your repositories there. Unfortunately, that means you’ll lose the results of previous analyses on these projects.

If you have a yearly subscription for your current organization, a new coupon can be issued for your new organization by reaching out to your sale representative.
If you have a monthly subscription by credit card, you can simply stop your subscription on the old organization and re-subscribe on the new one.

Sorry for the inconvenience.

 
Ann

Hello, thank you for your answer. Creating a new organization and re-import my repositories would mean loosing previous analysis history, which would be very bad.

Is there any safe way, to move a project without loosing its analysis history to the new organization?

I found some other threads where the support helps with the unbinding to be able to rebind, like here: Unlink organization from Azure DevOps after move to GitHub and Please unbind ADO from my Organization (moving to Github)

Please remember, we just moved our git-repo from azure devops to github, so we only want to change the source where the source code lies, so that the sonar scanner could access the source from the changed repo-url.

I do not understand, why there is a change of organization necessary for that.

Best regards,

Martin

Hi Martin,

Those threads are from 2022. We don’t do this manually any more, and unfortunately there’s no way for you to do it from ADO.

 
:frowning:
Ann

Thank you for your reply. That’s really not pleasing, but one more question: Is there a way to keep read-only access to the analysis history in the old organization?

Best regards,

Martin

Hi Martin,

You’re not going to like this answer either: You can keep it as long as you’re willing to pay for it. :melting_face:

There is no “read only” status in SonarQube Cloud. Either it’s live (and charged for) or it’s… gone. (The third option would be to make all the projects public, but I’m sure that’s not an option here.)

 
:frowning:
Ann