Symptoms
While adding a new Domain Controller according to Windows Hosting Infrastructure Deployment Guide, task Prepare node to PA agent installation
fails with:
User credentials being provided for 'x.x.x.x' are incorrect. (Response code is 401).
Cause
The task failure is caused by the fact that the node had already been added to the domain. In such cases local Administrator
account is getting removed from Domain Controllers.
Resolution
Make sure that you can login to the node with Domain Administrator Credentials.
- Reschedule the task with new parameter
<DOMAIN>\Administrator
asusername
using pem.tasks.rescheduleTask API Method.