SonarQube 7.9 Dotnet Command Failed with Non-Zero Exit Code

I installed SonarQube 7.9 in an Azure App Service according to: https://github.com/vanderby/SonarQube-AzureAppService

I am able to queue the build, however, upon running, the build fails with the following error:

Could this be due to me missing a step or task?
Any assistance is greatly appreciated.

 ##[section]Starting: dotnet tool - dotnet-sonarscanner
==============================================================================
Task         : .NET Core
Description  : Build, test, package, or publish a dotnet application, or run a custom dotnet command
Version      : 2.155.0
Author       : Microsoft Corporation
Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/build/dotnet-core-cli
==============================================================================
[command]C:\windows\system32\chcp.com 65001
Active code page: 65001
[command]"C:\Program Files\dotnet\dotnet.exe" tool install --global dotnet-sonarscanner --version 4.6.2
Tool 'dotnet-sonarscanner' is already installed.
##[error]Error: The process 'C:\Program Files\dotnet\dotnet.exe' failed with exit code 1
##[error]Dotnet command failed with non-zero exit code on the following projects : 
##[section]Finishing: dotnet tool - dotnet-sonarscanner

Hi,

For information, the dotnet scanner is embedded in the Scanner for MSBuild (in the Prepare analysis on SonarQube), so you don’t need to install it manually (except if you are just using the scanner alone, not in a CI build)

So, to me, you can simply drop the failing dotnet tool installation task, and you should be good !

ok Mickael, I will try dropping the installation task. Thank you