Closed PrzemyslawKlys closed 2 years ago
In the script here: https://github.com/lithnet/access-manager/wiki/Creating-a-service-account-for-the-Access-Manager-Service has a typo
$amsServerName = "$(env.MachineName)" # Set this to the name of the server you are installing AMS on,
It should be "$env:COMPUTERNAME"
"$env:COMPUTERNAME"
Also for lines, 26-34 will give a better answer what is wrong.
try { $ComputerExists = Get-ADComputer -Identity $amsServerName -ErrorAction Stop } catch { Write-Warning "Computer account $amsServerName not found. Error: $($_.Exception.Message). Terminating." return }
Fixed! Thankyou!
In the script here: https://github.com/lithnet/access-manager/wiki/Creating-a-service-account-for-the-Access-Manager-Service has a typo
It should be
"$env:COMPUTERNAME"
Also for lines, 26-34 will give a better answer what is wrong.