Community Build v26.10.0.133078
- how is SonarQube deployed: zip
- delete azure configuration, restore project permissions
Hello,
We are experiencing an issue with our SonarQube Community Edition instance.
I noticed that, even though I am a platform administrator, I was unable to access some projects.
I tried to restore permissions from Projects > Management, but when performing the operation SonarQube redirected me to the login page.
I then tried to delete one of the affected projects from the same page, but I experienced the same behavior and was redirected to the login page again.
After checking the SonarQube web logs, I found the following error:
Plain Text
ERROR web[][o.s.a.c.a.AzureDevOpsHttpClient]
Unable to contact Azure DevOps server for request
[https://dev.azure.com//_apis/projects?api-version=3.0]:
Invalid personal access token
The error is repeated periodically in the logs.
I therefore suspected that the issue could be related to an existing Azure DevOps integration configured with an expired or invalid Personal Access Token.
I tried to remove the Azure DevOps configuration from Administration > Configuration > DevOps Platform Integrations, but this operation also redirects me to the SonarQube login page, and the same Invalid personal access token error appears in the logs.
At the moment, the invalid Azure DevOps configuration therefore seems to prevent us from performing administrative operations such as:
- restoring project permissions;
- deleting projects;
- removing the Azure DevOps integration itself.
How can we remove or disable this Azure DevOps integration if it cannot be removed from the SonarQube UI?
Is there a supported alternative procedure or API that can be used to delete/reset the configuration without requiring a valid Azure DevOps PAT?
Thank you for your support.
Best regards,
Bruna