Unreachable: The Specified credentials were rejected by the server

I setup my new AWX which is running on RHEL 8 and then when I try to run a sample job to my windows machine it is saying "Unreachable: The Specified credentials were rejected by the server ", can anyone please suggest what could be the reason or how can I solve this.

  • I have created a local user in windows machine and the same credentials I used for this template for host authentication.
  • Installed winrm on the server by using “ConfigureRemotingForAnsible.ps1”
  • Installed pywinrm on RHEL

I setup below variables: -

It sounds that it didn’t like the credentials that were provided

What transport/port are you using on the Windows server? HTTPS or HTTP?
check the windows winrm service to be sure.

Also ansible_winrm_user & password are wrong: should be ansible_user and ansible_password