Description
The InstallCognos.ps1 script fails with the following error when the service account is a member of an AD group that doesn't exist.
ERROR: The Flexera Analytics install script failed: An error occurred while enumerating through a collection: An error occurred while enumerating the groups. The group could not be found.
Workaround
- Open InstallCognos.ps1 in a text editor
- Search for the string "Test-LocalAdministrator"
- Comment out the following lines of code like so:
#if ($serviceUser -ne $null -and -not (Test-LocalAdministrator $serviceUser)) {
# throw "The specified service user, $serviceUser must exist and be a member of the local administrators group. The user's domain must also exist and be contactable.";
#}
- Execute InstallCognos.ps1 again
Resolution
This issue is being tracked under IOJ-1913873.