7.4 Access to Intranet Site

Testing AGW with an AD User Account instead of Administrator

When testing AGW, it is important that the Windows machine is connected with an AD user account and not with the Administrator account. The AD user must have certain attributes to function correctly.

Requirements for the AD User

An AD user account is considered "incomplete" if one of the following three attributes is missing:

  • samaccountname
  • distinguishedname
  • displayname

Solution

To avoid this issue, a normal user account should be used that has all the required attributes.

Error when using the Administrator Account

If you log in to the Windows machine with the Administrator account, an error occurs. This is because the Administrator account does not have all the required attributes.

Workaround:

Set-ADUser -Identity "Administrator" -DisplayName "Administrator"