Invalid azure URL or Personal Access Token in SonarQube - sonarqube

enter image description hereI am using SonarQube 8.9 LTS community edition, while configuring the azure devops server withSonarQube it is throwing error as invalid azure URL or PAT, I had tried multiple PAT's with defferent pat permissions.
The
Invalid azure URL or Personal Access Token in SonarQube

Related

How resolve error "Some or all identity references could not be translated" returned by DevOps 2019 console administration

I'm using windows server 2016 and Azure DevOps Server 2019 update 1.1.
I succesfully configured two trusted domain A and B. In DevOps console administration (installed on a server in domain A), when I try to add a user (from domain B), I obtain the error described below.
check name properly works:
but when I click on "Ok" to confirm user addition I obtain following error:
How can I resolve it?

Unable to login to sonarqube as admin/admin?

Have installed sonarqube and MYSQL database in linux server and able to access the sonar dashboard from windows machine. But when I try to login as admin/admin, it is throwing error as authentication failed and I am not able to login. But I can able to see the user admin in the USERS table. Could you please help me as what I am missing here ?

SonarQube - connecting to URL anonymously?

I have SonarLint plugin 3.4.0 installed in STS 3.8.1 - I am trying to connect to a URL for SonarQube which I can connect to fine through a browser(Access is provided to anyone). Is there anyway to do this through the Eclipse plugin? It's asking me for a token or user/password which I do not have and just want to connect to it anonymously as I do via a web browser.
Is this possible ?
You need to create a token to access to the SonarQube server, even if project is public.
To do that, you need to create a token from your user page : My Account -> Security -> Generate Tokens.

SonarLint authentication not working when using Azure Active Directory

My set up is the following SonarQube 6.0 + Nginx (two docker containers) hosted on a machine on azure.
I've configured the sonar-auth-aad and it's working like a charm in the browser.
I've added the self signed certificate to the store of the local machine so I don't get an error anymore.
My machine has Vs2015 update 3 and the latest version as of today for sonarlint.
When I try to connect to the server using my AAD logins, doesn't work, although it works with plain sonarqube credentials.
Is it something not supported yet or can I configure something in order to make it work?
Thanks!
We're providing the ability from SonarLint to connect to a SonarQube server with a standard login/password just for backward compatibility reasons with SonarQube 4.5. But the official way to establish this connection is by :
Generating a user authentication token in SonarQube (See http://docs.sonarqube.org/display/SONAR/User+Token)
Configure SonarLint to use this token (and not a login/password)
From there you'll manage to have SonarLint for Visual Studio establishing a connection with your SonarQube server.

How to integrate sonarqube with Azure active directory?

I tried using sonarqube's openid plugin. But it does not work with google accounts as google has migrated to openid connect and has stopped support for openid.
Please suggest ways as how to can I integrate with Azure AD as there are no plugins provided in sonarqube update center for openid connect and saml.
From a quick sweep on the Sonarqube site, the product does not appear to support any protocol that would be compatible with Azure AD today. The only page I found was http://docs.sonarqube.org/display/SONAR/Security - and it does not list any of the protocols that could be used with Azure AD (OpenID Connect, SAML, WS-Federation)
here it is.
Create an app on azure portal and follow steps as listed below
worked for me
https://github.com/hkamel/sonar-auth-aad/wiki/Setup
also
https://www.emtec.digital/think-hub/blogs/sonarqube-integration-azure-active-directory/

Resources