-
-
Notifications
You must be signed in to change notification settings - Fork 71
Import-Role throw exception on wrong parameters #1372
Copy link
Copy link
Closed as not planned
Labels
area-commandsInvolves functions and cmdlets.Involves functions and cmdlets.area-platform🐞 bugOops! Sorry for the inconvenience.Oops! Sorry for the inconvenience.🔥 response-wontfix🚧 response-workaround-available🤷♂️ response-no-issue-found
Milestone
Description
Code:
Import-User -Identity sitecore\Author1
Error:
1568 12 May 2025 03:01:08 WARN Object reference not set to an instance of an object.At line:30 char:5
+ Import-User -Identity sitecore\Author1
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Exception: System.NullReferenceException
Message: Object reference not set to an instance of an object.
Source: Sitecore.Kernel
at Sitecore.Data.Serialization.Manager.LoadUser(String path)
at Spe.Commands.Serialization.ImportUserCommand.DeserializeUserFile(String userName, String file)
at Spe.Commands.Serialization.ImportUserCommand.DeserializeUser(String userName)
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-commandsInvolves functions and cmdlets.Involves functions and cmdlets.area-platform🐞 bugOops! Sorry for the inconvenience.Oops! Sorry for the inconvenience.🔥 response-wontfix🚧 response-workaround-available🤷♂️ response-no-issue-found