With my DevOps CI pipeline, I am able to run the build_wrapper around my msbuild command that builds my C++ project. I then am able to successfully run the sonar-scanner.bat (locally from my PC, but also from the DevOps pipeline). After the analysis is run the test results/report are uploaded to our private project on sonarcloud.io. Once there I see the message when I click on an issue, and it should show me the corresponding code.
After investigation from our side. I think you have this issue because your logged user doesn’t have “See Source Code” permission in your project => Administration => Permissions.
I invite you to check this and tell me if it’s ok or if you need any extra help.