# SCM provider autodetection failed warning

**URL:** <https://community.sonarsource.com/t/scm-provider-autodetection-failed-warning/91096>\
**Category:** SonarQube Server / Community Build\
**Tags:** docker, dotnet\
**Created:** [May 18, 2023, 6:27am UTC](https://community.sonarsource.com/t/scm-provider-autodetection-failed-warning/91096 "2023-05-18T06:27:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ran055](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/ran055/32/45180_2.png) [@ran055](https://community.sonarsource.com/u/ran055)\
**Post date:** [May 18, 2023, 6:27am UTC](https://community.sonarsource.com/t/scm-provider-autodetection-failed-warning/91096/1 "2023-05-18T06:27:23Z")

</div>

Hi,  
I’m using Sonarqube Developer Edition Version 10.0 (build 68432)  
I run the sonarscanner:  
environment Net6, docker

SCM provider autodetection failed. Please use “sonar.scm.provider” to define SCM of your project, or disable the SCM Sensor in the project settings.

the azure pipline that runs the docker file doesnt send the .git folder,  
so how can I overcome the warning ?

---

<div class="post-metadata">

**Author:** ![Colin](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/colin/32/55255_2.png) [@Colin](https://community.sonarsource.com/u/Colin)\
**Post date:** [May 19, 2023, 6:52am UTC](https://community.sonarsource.com/t/scm-provider-autodetection-failed-warning/91096/2 "2023-05-19T06:52:56Z")

</div>

You can either disable SCM entirely (`sonar.scm.disabled=true`) or… make sure that the `.git` folder is transferred over.

Some functionality is limited without the Git folder, like detecting new lines for pull requests and assigning issues.
