Skip to content

Failed to enter menu "Show-IcingaForWindowsManagementConsoleManageJEA" while enabling JEA #487

@CHOOH1992

Description

@CHOOH1992

Hi,
was just updating an testserver to Icinga for Windows Version 1.8.0. So i performed this:
Update-Icinga -confirm

Next i wanted to enabled JEA.
Icinga -m
[2] Settings
[4] JEA
[0] Install JEA profile with managed user "icinga"
[1] Yes

After adding the user, the console goes back to the main screen of the management console, showing this:
[Error]: Failed to enter menu "Show-IcingaForWindowsManagementConsoleManageJEA". Error "Ein Objekt im angegebenen Pfad "C:\Users\C7AB7~1.OHL" ist nicht vorhanden.

As I'm not shure if this could be related to UAC, Defender, Anti-Virus or anything else we we're testing on this server I wanted to see the result of this command in the icinga shell.

Current Behavior

icinga> Show-IcingaForWindowsManagementConsoleManageJEA
Die Eigenschaft "LastValues" wurde für dieses Objekt nicht gefunden. Vergewissern Sie sich, dass die Eigenschaft
vorhanden ist und festgelegt werden kann.
In C:\Program Files\WindowsPowerShell\Modules\icinga-powershell-framework\1.8.0\cache\framework_cache.psm1:11613
Zeichen:13
+             $global:Icinga.InstallWizard.LastValues = @();
+             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : PropertyNotFound

Die Eigenschaft "Menu" wurde für dieses Objekt nicht gefunden. Vergewissern Sie sich, dass die Eigenschaft vorhanden
ist und festgelegt werden kann.
In C:\Program Files\WindowsPowerShell\Modules\icinga-powershell-framework\1.8.0\cache\framework_cache.psm1:11619
Zeichen:13
+             $global:Icinga.InstallWizard.Menu = $LastCommand;
+             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : PropertyNotFound

Es ist nicht möglich, eine Methode für einen Ausdruck aufzurufen, der den NULL hat.
In C:\Program Files\WindowsPowerShell\Modules\icinga-powershell-framework\1.8.0\cache\framework_cache.psm1:12112
Zeichen:9
+     if ($global:Icinga.InstallWizard.Config.ContainsKey($InstallerSte ...
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : InvokeMethodOnNull

Es ist nicht möglich, eine Methode für einen Ausdruck aufzurufen, der den NULL hat.
In C:\Program Files\WindowsPowerShell\Modules\icinga-powershell-framework\1.8.0\cache\framework_cache.psm1:12138
Zeichen:9
+     if ($global:Icinga.InstallWizard.Config.ContainsKey($Step) -eq $F ...
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : InvokeMethodOnNull

Es ist nicht möglich, einen Index auf ein NULL-Array anzuwenden.
In C:\Program Files\WindowsPowerShell\Modules\icinga-powershell-framework\1.8.0\cache\framework_cache.psm1:12142
Zeichen:9
+     if ($null -eq $global:Icinga.InstallWizard.Config[$Step].Values)  ...
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : NullArray

Es ist nicht möglich, einen Index auf ein NULL-Array anzuwenden.
In C:\Program Files\WindowsPowerShell\Modules\icinga-powershell-framework\1.8.0\cache\framework_cache.psm1:12146
Zeichen:12
+     return [array]($global:Icinga.InstallWizard.Config[$Step].Values) ...
+            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : NullArray

Die Eigenschaft "ParentConfig" wurde für dieses Objekt nicht gefunden. Vergewissern Sie sich, dass die Eigenschaft
vorhanden ist und festgelegt werden kann.
In C:\Program Files\WindowsPowerShell\Modules\icinga-powershell-framework\1.8.0\cache\framework_cache.psm1:11631
Zeichen:5
+     $global:Icinga.InstallWizard.ParentConfig = $ParentConfig;
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : PropertyNotFound

Die Eigenschaft "LastInput" wurde für dieses Objekt nicht gefunden. Vergewissern Sie sich, dass die Eigenschaft
vorhanden ist und festgelegt werden kann.
In C:\Program Files\WindowsPowerShell\Modules\icinga-powershell-framework\1.8.0\cache\framework_cache.psm1:11632
Zeichen:5
+     $global:Icinga.InstallWizard.LastInput    = $null;
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : PropertyNotFound

Steps to Reproduce (for bugs)

  1. Open icinga management
  2. Go to jea
  3. Enable jea with manage user icinga

Your Environment

  • PowerShell Version used ($PSVersionTable.PSVersion):
Major  Minor  Build  Revision
-----  -----  -----  --------
5      1      20348  320
  • Operating System and version (Get-IcingaWindowsInformation Win32_OperatingSystem | Select-Object Version, BuildNumber, Caption):
Version    BuildNumber Caption
-------    ----------- -------
10.0.20348 20348       Microsoft Windows Server 2022 Standard

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions