Hi Ann,
I didnt use any quotes with the parameter values, so nothing to remove
In the meantime I tried executing the scan in Visual Studio 2022 and it worked (sonar.organization and sonar.projectKey must provided).
So current status is: Using the same command in Visual Studio 2022 and VS Code. VS 2022 works, VS Code results in the 401 error.
You’re pursing a use case we haven’t targeted. Analysis is meant to be run from a command line. The fact that you were able to get this working within Visual Studio () suggests to me that the problem is specific to VSCode.