You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"UsernamePasswordCredential.get_token failed: Authentication failed: AADSTS900144: The request body must contain the following parameter: 'client_id'
ISSUE TYPE
Bug Report
COMPONENT NAME
azure_rm_common.py
ANSIBLE VERSION
ansible [core 2.15.8]
COLLECTION VERSION
azure.azcollection 2.1.1
CONFIGURATION
CONFIG_FILE() = None
PAGER(env: PAGER) = cat%
OS / ENVIRONMENT
STEPS TO REPRODUCE
Set environment variables AZURE_AD_USER, AZURE_PASSWORD, AZURE_SUBSCRIPTION_ID
---
- name: "Azure Get Subscription Info test"hosts: localhostconnection: localtasks:
- name: "Get Newly Created Azure Subscription Info"azure.azcollection.azure_rm_subscription_info:
id: "<subscription_id>"register: sub_info_output
EXPECTED RESULTS
Playbook doesn't error with missing client_id missing in payload error.
ACTUAL RESULTS
Module fails with "UsernamePasswordCredential.get_token failed: Authentication failed: AADSTS900144: The request body must contain the following parameter: 'client_id'..."
"UsernamePasswordCredential.get_token failed: Authentication failed: AADSTS900144: The request body must contain the following parameter: 'client_id'..."
The text was updated successfully, but these errors were encountered:
kmj251
added a commit
to kmj251/azure
that referenced
this issue
Jan 17, 2024
@Fred-sun Would you consider making this a priority and releasing a bug release version soon? We use AWX to run playbooks and this bug is causing many of our playbooks to fail. Thanks for your consideration!
SUMMARY
"UsernamePasswordCredential.get_token failed: Authentication failed: AADSTS900144: The request body must contain the following parameter: 'client_id'
ISSUE TYPE
COMPONENT NAME
azure_rm_common.py
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
STEPS TO REPRODUCE
Set environment variables AZURE_AD_USER, AZURE_PASSWORD, AZURE_SUBSCRIPTION_ID
EXPECTED RESULTS
Playbook doesn't error with missing client_id missing in payload error.
ACTUAL RESULTS
Module fails with "UsernamePasswordCredential.get_token failed: Authentication failed: AADSTS900144: The request body must contain the following parameter: 'client_id'..."
The text was updated successfully, but these errors were encountered: