The options are:
- SCSM -> "shoot sparrows with cannons"
- 3rd party solution -> not allowed
- Enter the user in the Initialize Data as a second input parameter
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi! Everyone,
I have hit another brick wall, but as usually, I'm clueless and hope I can get some knowledge here.
I have completed the creation of a Runbook to unlock AD User accounts following the workflow attached. The steps includes;
I test run this Runbook in 3 ways;
"$CurrentUserGroupObj = Get-ADUser -Identity $CurrentUser -Properties MemberOf"
Can someone shed some light what is going on?
Thank you and best regards.
Ronald
The options are:
Hi! XinGuo / Andreas / Leon / Stefan,
Good morning to all. Thank you once again for replying to my questions.
The objective of this "Group Check" is actually to determine if the user running this particular Runbook is the administrator for the account he is unlocking. IHence, we have not hardcoded the CurrentUser. Is there a way to get the Runbook user account in this case? If I were to configure the Services to Run As the Administrator, then this check will not serve any purpose then.
Thank you and appreciate any advice.
Best regards.
Ronald
Hi! Everyone,20520-get-user.txt
I have tried a few methods as per attached text file.
I am not too sure how to use or whether invoke powershell will work in my case and the other being the $output=powershell{} -args.
Is there really no solution to this?
Thank you for any kind advise.
Best regards.
Ronald
Hi XinGuo,
I am checking whether our infra has an existing SCSM. In the meantime, may I know if this is the only solution or there are other solutions. I know I can get the user to also enter their username but trying not to resort to this method for now.
Thank you and best regards.
Ronald
Hi! XinGuo,
Thanks for your reply. Noted with thanks.
Best regards.
Ronald