AD Account expiration date from custom powershell activity

VivekSattanatha
Mega Sage
Mega Sage

Hi All

Anyone able to set account expiration date from Orchestration? We are trying to set it from custom PowerShell activity but it is not working. Please find the below command we used.

find_real_file.png

Our Target host is MID Server, AD server and MID server both are on the same network. Even though the commands are not working, the activity is running for a long time without showing any error or success. I had to cancel the activity all the time. Do you find any issue in this command?

bawiskar

Regards,

Vivek

1 ACCEPTED SOLUTION

Hi All,



The issue is resolved now. I tried running MID Server service with the Credential which I am using in ServiceNow. After that, it worked.



Regards,


Vivek


View solution in original post

10 REPLIES 10

Hitesh targe
Tera Expert

I have the same issue. can anyone suggest me



Create AD user catalog item workflow failed