# Azure dynamic inventory default to SSH even for win\_ping

**URL:** <https://forum.ansible.com/t/azure-dynamic-inventory-default-to-ssh-even-for-win-ping/32077>\
**Category:** Ansible Project\
**Tags:** azure, windows\
**Created:** [January 28, 2020, 8:42pm UTC](https://forum.ansible.com/t/azure-dynamic-inventory-default-to-ssh-even-for-win-ping/32077 "2020-01-28T20:42:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aravind\_Sivaraman](https://avatars.discourse-cdn.com/v4/letter/a/919ad9/32.png) [@Aravind\_Sivaraman](https://forum.ansible.com/u/Aravind_Sivaraman)\
**Post date:** [January 28, 2020, 8:42pm UTC](https://forum.ansible.com/t/azure-dynamic-inventory-default-to-ssh-even-for-win-ping/32077/1 "2020-01-28T20:42:34Z")

</div>

I am testing the Azure Dynamic Inventory plugin, have a windows VM in one of the resource group, when i am trying to do win\_ping it default the connection to SSH. How do I specify to use by windows credentials here?

---

<div class="post-metadata">

**Author:** ![Aravind\_Sivaraman](https://avatars.discourse-cdn.com/v4/letter/a/919ad9/32.png) [@Aravind\_Sivaraman](https://forum.ansible.com/u/Aravind_Sivaraman)\
**Post date:** [January 29, 2020, 5:17pm UTC](https://forum.ansible.com/t/azure-dynamic-inventory-default-to-ssh-even-for-win-ping/32077/2 "2020-01-29T17:17:03Z")

</div>

UPDATE:

Update dynamic inventory with keyed group matching group\_vars, then it picked up the winrm connection and it works fine
