and more in a single search tool across platforms. Read the announcement here. |
08/17/2023 02:09 AM
Hi team,
we are trying below syntax to enable remote mailbox in winconnector
{
"CREATEACC": ["Script=\$pw = convertto-securestring '${PSSCRIPT_PASSWORD}' -asplaintext -force;\$mycred = new-object -typename System.Management.Automation.PSCredential -argumentlist 'Hi\\\\svc_saviynt_win',\$pw;Invoke-Command -ComputerName 'localhost' -Credential \$mycred -ScriptBlock {C:/Saviynt/SAVPSScript/EnableMailUser.ps1 ${user.username}}"],
"SuccessResponses": ["isMailboxEnabled"]
}
Please help with syntax as this is not working by putting the values of hostname, script location.
Let me know if you need anything more.
Solved! Go to Solution.
08/21/2023 12:57 PM
Can you confirm the error you are getting in the logs when you run the job.
08/22/2023 03:14 AM
It's fixed through REST connector.
08/24/2023 07:18 PM
Please share JSON
08/24/2023 01:11 AM
Hi @asharma ,
Thanks for updating the forum post with the issue fix status. Could you please update the post with more information on the solution so that other users facing the same or similar problem can benefit?
10/19/2023 07:21 AM
Hi @asharma - How did you mapped the success & unsuccess response for REST using ["isMailboxEnabled"]