# Not able to load the credentials

**URL:** <https://forum.ansible.com/t/not-able-to-load-the-credentials/22865>\
**Category:** Ansible Project\
**Tags:** azure\
**Created:** [October 24, 2016, 12:09pm UTC](https://forum.ansible.com/t/not-able-to-load-the-credentials/22865 "2016-10-24T12:09:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Girish\_Kumar\_Mayigow](https://avatars.discourse-cdn.com/v4/letter/g/49beb7/32.png) [@Girish\_Kumar\_Mayigow](https://forum.ansible.com/u/Girish_Kumar_Mayigow)\
**Post date:** [October 24, 2016, 12:09pm UTC](https://forum.ansible.com/t/not-able-to-load-the-credentials/22865/1 "2016-10-24T12:09:47Z")

</div>

Hi,

I am trying to create a storage account and below is the play book and the error, please let me know what am missing.  
i have created a file credentials.ini under etc/home/.azure

`

---

<div class="post-metadata">

**Author:** ![Alexander\_H\_Laughlin](https://avatars.discourse-cdn.com/v4/letter/a/ce7236/32.png) [@Alexander\_H\_Laughlin](https://forum.ansible.com/u/Alexander_H_Laughlin)\
**Post date:** [October 24, 2016, 11:43pm UTC](https://forum.ansible.com/t/not-able-to-load-the-credentials/22865/2 "2016-10-24T23:43:30Z")

</div>

Hello,

I believe something like the below would solve your problem:

`

---

<div class="post-metadata">

**Author:** ![Girish\_Kumar\_Mayigow](https://avatars.discourse-cdn.com/v4/letter/g/49beb7/32.png) [@Girish\_Kumar\_Mayigow](https://forum.ansible.com/u/Girish_Kumar_Mayigow)\
**Post date:** [October 25, 2016, 9:28am UTC](https://forum.ansible.com/t/not-able-to-load-the-credentials/22865/3 "2016-10-25T09:28:32Z")

</div>

Thank you for your response, after running the below code am receiving a new error.

Below is the error:

` TASK [Create VM with defaults] ************************************************* task path: /etc/ansible/playbooks/azurestorage.yml:10 <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: ubuntu <127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /tmp/ansible-tmp-1477387147.54-45261078249986 `" && echo ansible-tmp-1477387147.54-45261078249986="` echo /tmp/ansible-tmp-1477387147.54-45261078249986 `" ) && sleep 0' <127.0.0.1> PUT /tmp/tmpiax_gt TO /tmp/ansible-tmp-1477387147.54-45261078249986/azure_rm_storageaccount <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /tmp/ansible-tmp-1477387147.54-45261078249986/ /tmp/ansible-tmp-1477387147.54-45261078249986/azure_rm_storageaccount && sleep 0' <127.0.0.1> EXEC /bin/sh -c 'LANG=C LC_ALL=C LC_MESSAGES=C /usr/bin/python /tmp/ansible-tmp-1477387147.54-45261078249986/azure_rm_storageaccount; rm -rf "/tmp/ansible-tmp-1477387147.54-45261078249986/" > /dev/null 2>&1 && sleep 0' fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "invocation": {"module_args": {"account_type": "Standard_LRS", "ad_user": null, "append_tags": true, "client_id": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "custom_domain": null, "force": false, "kind": "Storage", "location": null, "name": "testaccount001", "password": null, "profile": null, "resource_group": "Testing", "secret": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "state": "present", "subscription_id": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "tags": null, "tenant": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER"}, "module_name": "azure_rm_storageaccount"}, "msg": "Parameter error: resource group Testing not found"} `

But i have a resource group with the name “testing” below is the screen shot, Please let me know if am missing something.

 ![](https://us1.discourse-cdn.com/ansible/original/2X/f/f20ac60a4407c015b5cd2c6c57b538035d7a72b2.png)

Thanks,  
Girish

---

<div class="post-metadata">

**Author:** ![Girish\_Kumar\_Mayigow](https://avatars.discourse-cdn.com/v4/letter/g/49beb7/32.png) [@Girish\_Kumar\_Mayigow](https://forum.ansible.com/u/Girish_Kumar_Mayigow)\
**Post date:** [October 26, 2016, 5:38am UTC](https://forum.ansible.com/t/not-able-to-load-the-credentials/22865/4 "2016-10-26T05:38:29Z")

</div>

Appreciate if anyone could correct my mistake

Thanks,  
Girish
