Hi @jansi rani krishnan ,
the error is because the variable $resolvedByUserObj
is empty ( -Target $resolvedByUserObj
in LIne 32 in my script in Github).
And this is because the user with the username Jansi Krishnan_adm
is not found (Line 18 in my script in Github).
Is there a space in the username? Or it's a typo?
Please check the user Jansi Krishan_adm
(with or without the space, depending of what is the right spelling) is available in the SCSM Console -> Configuration Items -> Users
.
----------
(If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)
Regards
Andreas Baumgarten