In order to help you, we require more information about the issue you are facing. Could you please provide:
what is the dotnet analyzer version you are using ?
the verbose output of the command (please run SonarScanner.MSBuild.exe begin /k:“MyProject” /d:sonar.verbose=true as the begin step, and please attach the output of END step
Also, when exactly is your “coverageReport.html” file generated ? (I don’t see anything launching the tests from the command lines you reported).