Skip to content

Login-User doesn't work #1367

Description

@Antonytm

Code:

Login-User -Identity "sitecore\admin" -Password "b"

Error:

1616 12 May 2025 01:29:29 WARN  Object reference not set to an instance of an object.At line:30 char:5
+     Login-User -Identity "sitecore\admin" -Password "b"
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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.LoginUserCommand.ProcessRecord()
   at System.Management.Automation.CommandProcessor.ProcessRecord()

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions