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

  1. Make sure that you can login to the node with Domain Administrator Credentials.

  2. Reschedule the task with new parameter <DOMAIN>\Administrator as username using pem.tasks.rescheduleTask API Method.

Internal content

Link on internal Article