
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-16-2017 12:24 AM
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.
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?
Regards,
Vivek
Solved! Go to Solution.
- Labels:
-
Orchestration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-21-2017 06:12 AM
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-16-2017 03:25 AM
Hi David,
I am using Administrator credential so I am not sure it is a permission issue. In fact, I can able run these command directly from Powershell. It is not working from ServiceNow only.
Regards,
Vivek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-16-2017 03:34 AM
A quick search on "PowerShell error 8344" uncovers quite a number of articles on permissions issues. For example:
Have you tried running a different, more simpler, PowerShell command to confirm the account can perform PowerShell operations okay?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-16-2017 03:37 AM
Thanks David,
I will try this out and let you know.
Regards,
Vivek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-21-2017 06:12 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-22-2022 04:08 AM
Hi Ankur,
I have tried this same commad and getting below error. Please help