Skip to content

Logout-User doesn't work #1368

@Antonytm

Description

@Antonytm

Code:

Logout-User

Error:

2468 12 May 2025 01:55:18 WARN  Object reference not set to an instance of an object.At line:30 char:5
+     Logout-User
+     ~~~~~~~~~~~
Exception: System.NullReferenceException
Message: Object reference not set to an instance of an object.
Source: Spe
   at Spe.Commands.BaseCommand.RecoverHttpContext()
   at Spe.Commands.Security.Session.LogoutUserCommand.ProcessRecord()
   at System.Management.Automation.CommandProcessor.ProcessRecord()

Version:
Spe, Version=7.0.0.38088, Culture=neutral, PublicKeyToken=null

Docker Image:
scr.sitecore.com/xmcloud/sitecore-xmcloud-cm:1-ltsc2019

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions