Issue with ADOP Integration and SonarCloud Quality Gate Results

Template for a good new topic, formatted with Markdown:

  • ALM used Azure DevOps
  • CI system used Azure DevOps
  • Languages of the repository: C#
  • Error observed:
  • I have set up an ADOP integration with SonarCloud. In ADOP, I generated a PAT token which expires in 1 year.

  • In SonarCloud, I configured the PAT token under Administration -> Pull Request -> Integration with Azure DevOps Services. The integration initially works, and the quality gate results are sent back to the PR in ADOP successfully.

  • However, after a few weeks, the quality gate results are no longer able to send back to ADOP. The PR in ADOP shows “waiting for quality gate.” If I generate a new PAT token and update it, everything works again.

What could be causing this issue?

Hey there.

Azure requires that a user log in every 30 days, or it automatically kills a PAT; this action may cause your related pipeline to fail. Here is an Azure Q&A on this topic.

So you’re probably running into that.

Thank you Colin
I believe that is the root cause.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.