Our Azure DevOps PAT keeps going from Valid to Invalid and eventually back to Valid

I have a service account in AZDO with a PAT that is valid. In SonarQube Cloud, it keeps failing to analyze because Sonar is saying our PAT is invalid. After an undetermined amount of time, Sonar will eventually decide the PAT is valid again and the pipelines will work again. I have replaced the PAT with a brand new one and it still happens.
image

Hi,

Welcome to the community!

From the docs

(This section is collapsed by default, which I’ve raised internally.)

I can only guess that whatever user the PAT is tied to doesn’t log in regularly, causing the PAT to lock after 30 days and then be unlocked after the next login.

 
HTH,
Ann

Hey, I appreciate the response. It turns out that we had a new security policy put into place Monday that lowered session time. Once we got an exception, the issue resolved itself.

1 Like

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