Windows integrated authentication failure on platform host

Symptoms:

The installation continually rolls back with the following error:

Info: RunCommand: Trying to authenticate with default Windows credentials... Error: RunCommand: Device code flow using default credentials failed. Error: RunCommand: System.InvalidOperationException: Device code flow using default credentials failed. Error: RunCommand: Application terminated at Connect command.

Possible causes:

  • In the case of an upgrade, the user who runs the installer is not an Identity Administrator of the Platform.

  • In the case of a network alias or a DNS CNAME being specified as an FQDN that differs from the actual hostname, a security mechanism called Loopback Check blocks the authentication. Refer to Microsoft Security Bulletin MS08-068:

    https://docs.microsoft.com/en-us/security-updates/securitybulletins/2008/ms08-068

Resolution: