Organization binding

Template for a good new topic, formatted with Markdown:

  • ALM used (Azure DevOps)
  • CI system used (Azure DevOps)
  • Languages of the repository (Python, HTML)
  • Only if the SonarCloud project is public (its not)
  • Error observed (wrap logs/code around with triple quotes ``` for proper formatting)
10:51:52.270 INFO  Check ALM binding of project 'xxxxxxxxxxxxxxxx_DEVOPS-Tools' (done) | time=232ms
10:51:52.274 INFO  Load project pull requests
10:51:52.358 INFO  Load project pull requests (done) | time=84ms
10:51:52.359 INFO  Load branch configuration
##[error]10:51:52.959 ERROR Could not find the pullrequest with key '143'
10:51:52.959 ERROR Could not find the pullrequest with key '143'
10:51:53.285 INFO  EXECUTION FAILURE

  • Steps to reproduce
    • You have an organisation bindded to your Azure Devops (ADO)
    • You Migrate to another ADO (been acquired so mergining into 1 ADO)
    • update Tokens and service connections in ADO
    • Run pipeline in the new ADO - then got the error
    • Expected to work as normal
    • I expect this to be the binding to be the issue
  • Potential workaround
    • I tried to add a Personal Token to the project but to no Avail
    • Would it be a case of creating a new organisation in Sonar Cloud and migrating over the projects?

Looking at other items in the community it looks like we cant unbind, - however we were wondering if the suggested work around will work before we commit ?

Thanks
Jon

Hey there.

You’ll need to create a new SonarQube Cloud org that is correctly bound to your new Azure DevOps. :confused: Unfortunately, there’s no other solution.