# Error: To use the property "sonar.branch.name" and analyze branches

**URL:** <https://community.sonarsource.com/t/error-to-use-the-property-sonar-branch-name-and-analyze-branches/11962>\
**Category:** SonarQube Server / Community Build\
**Tags:** azuredevops-server, sonarqube, scanner\
**Created:** [July 17, 2019, 7:18am UTC](https://community.sonarsource.com/t/error-to-use-the-property-sonar-branch-name-and-analyze-branches/11962 "2019-07-17T07:18:15Z")\
**Posts on this page:** 1\
**Showing post:** 31

<div class="post-metadata">

**Author:** ![wilbit](https://avatars.discourse-cdn.com/v4/letter/w/bc8723/32.png) [@wilbit](https://community.sonarsource.com/u/wilbit)\
**Post date:** [June 15, 2020, 2:14pm UTC](https://community.sonarsource.com/t/error-to-use-the-property-sonar-branch-name-and-analyze-branches/11962/31 "2020-06-15T14:14:15Z")

</div>

Today I also faced that issue.  
I resolved it by creating the next step in my YAML file

> <https://gist.github.com/wilbit/4eba5b9bbf9dced260fdde7e8242964c>

Put it somewhere between your SonarQubePrepare and SonarQubeAnalyze tasks.  
Of course you can use it as PowerShell task in Azure Classic Pipeline

---

_[View the full topic](https://community.sonarsource.com/t/error-to-use-the-property-sonar-branch-name-and-analyze-branches/11962)._
