# Azure: no action detected in task

**URL:** <https://forum.ansible.com/t/azure-no-action-detected-in-task/23934>\
**Category:** Ansible Project\
**Tags:** azure, ubuntu\
**Created:** [March 10, 2017, 11:08pm UTC](https://forum.ansible.com/t/azure-no-action-detected-in-task/23934 "2017-03-10T23:08:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Frank\_Montyne](https://avatars.discourse-cdn.com/v4/letter/f/fbc32d/32.png) [@Frank\_Montyne](https://forum.ansible.com/u/Frank_Montyne)\
**Post date:** [March 10, 2017, 11:08pm UTC](https://forum.ansible.com/t/azure-no-action-detected-in-task/23934/1 "2017-03-10T23:08:18Z")

</div>

I installed the Azure Python SDK 2.0.0rc5 using pip and ansible 2.0.0.2 using apt on a Ubuntu 16.04 machine. I also created a Azure AD service principle and added the information to ~/.azure/credentials. When I try to run a playbook that uses one of the Azure rm module I always get the same error.

For example when I run the following playbook :

---

<div class="post-metadata">

**Author:** ![Kai\_Stian\_Olstad](https://avatars.discourse-cdn.com/v4/letter/k/e19adc/32.png) [@Kai\_Stian\_Olstad](https://forum.ansible.com/u/Kai_Stian_Olstad)\
**Post date:** [March 12, 2017, 7:38am UTC](https://forum.ansible.com/t/azure-no-action-detected-in-task/23934/2 "2017-03-12T07:38:50Z")

</div>

On top of the documentation  
[https://docs.ansible.com/ansible/azure\_rm\_virtualnetwork\_facts\_module.html](https://docs.ansible.com/ansible/azure_rm_virtualnetwork_facts_module.html)  
it says "New in version 2.1."

But you are using Ansible 2.0.
