Azure / azure_preview_modules

Azure preview modules for Ansible
https://galaxy.ansible.com/azure/azure_preview_modules
43 stars 49 forks source link

400 Bad Request- Authorization Header Missing , Azure-rm_resource #287

Open jlagarda opened 5 years ago

jlagarda commented 5 years ago

I am using the generic azure_rm_resource module to use the Azure Rest API to create CosmosDb Databases/Containers,

MerchantContainer: { "id": "{{containers[0]}}", }

When debugging I see that the Authorization Header is Missing, but I am have tried logging in as Service Principal and Active Directory with the same result on both occasions.

Any help would be appreciated

Fred-sun commented 5 years ago

@jlagarda Thanks for your open this issue. We will investigate this issue and share any update with you.

Fred-sun commented 5 years ago

@zikalino Please help take a look this issue when you're free! Thanks a lot!

Fred-sun commented 5 years ago

@MyronFanQiu Could you take a look this issue? which one will pay attention on this module? Thank you very much!

mmyyrroonn commented 5 years ago

@jlagarda Hello. Sorry for the delay due to low bandwidth. I'm not sure which kind of authorization method this endpoint url:https://{{db_account_name}}.documents.azure.com/dbs supports. Usually, service principal works for url: management.azure.com

Fred-sun commented 5 years ago

@jlagarda Can MyronFanQiu's comments solve your question? Is there anything else you need to know? Thanks a lot!

Fred-sun commented 5 years ago

kindly ping

Fred-sun commented 5 years ago

@jlagarda Please share your full playbook, I will try again. Once it reproduce, Will be of great help to solve this problem. Thank you very much!

Fred-sun commented 4 years ago

@jlagarda Could you make this more clear? I don't quite understand the problem of your report? Thank you very much!

Fred-sun commented 4 years ago

@gavinfish @haiyuazhang Can you help me with this problem? Thank you very much!

Fred-sun commented 4 years ago

@gavinfish @haiyuazhang

Fred-sun commented 4 years ago

@jlagarda Thank you very much for your interest in Ansible. This repo is no longer maintained in this repository and has been migrated to https://github.com/ansible-collections/azure Please re-submit this Issue in the above repository and closed this. Thank you very much!