This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Flexera Community
- :
- FlexNet Manager
- :
- FlexNet Manager Knowledge Base
- :
- InstallCognos.ps1 script fails if service account is a member of an AD group that doesn't exist
Subscribe
- Mark as New
- Mark as Read
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
InstallCognos.ps1 script fails if service account is a member of an AD group that doesn't exist
InstallCognos.ps1 script fails if service account is a member of an AD group that doesn't exist
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.
Replication Scenario
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
Version Fix Target
Resolution
This issue is being tracked under IOJ-1913873.
0
1131
No ratings