# Using SonarCloud for Azure DevOps

**URL:** <https://community.sonarsource.com/t/using-sonarcloud-for-azure-devops/10100>\
**Category:** SonarQube Cloud\
**Tags:** azure\
**Created:** [May 24, 2019, 4:50am UTC](https://community.sonarsource.com/t/using-sonarcloud-for-azure-devops/10100 "2019-05-24T04:50:03Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Le\_L\_i\_Hoang](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/le_l_i_hoang/32/4199_2.png) [@Le\_L\_i\_Hoang](https://community.sonarsource.com/u/Le_L_i_Hoang)\
**Post date:** [May 24, 2019, 4:50am UTC](https://community.sonarsource.com/t/using-sonarcloud-for-azure-devops/10100/1 "2019-05-24T04:50:03Z")

</div>

I want to use SonarCloud doing some code analytics in my project. I am not the administrator but i have already include SonarCloud as an extension for our teams.

When i read the document, i find thạt there exist a build task called **Run Code Analysis**. However, when i try to import it into azure Pipelines, i can not find it as something i can use.  
 ![image](https://europe1.discourse-cdn.com/sonarsource/uploads/sonarcommunity/original/2X/5/559d0ad5e64b7f281fdc6fad79d7d12a594757a8.png)

How can i import it into my pipelines? Many thanks

---

<div class="post-metadata">

**Author:** ![mickaelcaro](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/mickaelcaro/32/4147_2.png) [@mickaelcaro](https://community.sonarsource.com/u/mickaelcaro)\
**Post date:** [May 24, 2019, 5:45am UTC](https://community.sonarsource.com/t/using-sonarcloud-for-azure-devops/10100/2 "2019-05-24T05:45:12Z")

</div>

Hi,

Are you using the YAML editor for configuring your pipeline ?

---

<div class="post-metadata">

**Author:** ![Le\_L\_i\_Hoang](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/le_l_i_hoang/32/4199_2.png) [@Le\_L\_i\_Hoang](https://community.sonarsource.com/u/Le_L_i_Hoang)\
**Post date:** [May 24, 2019, 5:53am UTC](https://community.sonarsource.com/t/using-sonarcloud-for-azure-devops/10100/3 "2019-05-24T05:53:06Z")

</div>

yes, i try it but can not find how to add

---

<div class="post-metadata">

**Author:** ![mickaelcaro](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/mickaelcaro/32/4147_2.png) [@mickaelcaro](https://community.sonarsource.com/u/mickaelcaro)\
**Post date:** [May 24, 2019, 5:56am UTC](https://community.sonarsource.com/t/using-sonarcloud-for-azure-devops/10100/4 "2019-05-24T05:56:16Z")

</div>

We have a case opened at MS because this is an issue on their side (see [https://developercommunity.visualstudio.com/content/problem/549068/yaml-assistant-panel-doesnt-show-tasks-with-no-inp.html](https://developercommunity.visualstudio.com/content/problem/549068/yaml-assistant-panel-doesnt-show-tasks-with-no-inp.html))

In the mean time, you can use the classic editor, where your will find the task (both from the template we provide or manually)

---

<div class="post-metadata">

**Author:** ![Le\_L\_i\_Hoang](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/le_l_i_hoang/32/4199_2.png) [@Le\_L\_i\_Hoang](https://community.sonarsource.com/u/Le_L_i_Hoang)\
**Post date:** [May 24, 2019, 6:02am UTC](https://community.sonarsource.com/t/using-sonarcloud-for-azure-devops/10100/5 "2019-05-24T06:02:07Z")

</div>

![image](https://europe1.discourse-cdn.com/sonarsource/uploads/sonarcommunity/original/2X/7/78d93f8cfde79d0cffd7dd1217aa0a2d6b51a3fc.png)  
I try it here, however i cant find any Agent Pools to add

Why i try the manage interface, it shows that all availables pools have been added.

---

<div class="post-metadata">

**Author:** ![mickaelcaro](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/mickaelcaro/32/4147_2.png) [@mickaelcaro](https://community.sonarsource.com/u/mickaelcaro)\
**Post date:** [May 24, 2019, 6:06am UTC](https://community.sonarsource.com/t/using-sonarcloud-for-azure-devops/10100/6 "2019-05-24T06:06:15Z")

</div>

As you are not an admin, you probably need more privileges to do so ([https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/pools-queues?view=azure-devops#security](https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/pools-queues?view=azure-devops#security))
