Powershell script to change login

Hey there.

Take a peak here to see one method of authorizing against SonarQube using Powershell.

Keep in mind you want to be using a SonarQube token, not a token from any other service (like Azure DevOps)

And pay close attention to the query parameters you use. It’s not newLogin, but newExternalIdentity.

Overall, you might find this guide helpful:

https://community.sonarsource.com/t/migrating-sonarqube-users-between-identity-providers-with-a-focus-on-ldap-saml/48653/2