Need help to run Powershell script at Midserver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday - last edited yesterday
I was trying to add attribute: ExpiryDate, which is date field to the Create AD Object in the Flow Designer and getting error as 'Invalid Type or unsupported attribute found in Object Data'.
When I checked with internal AD team, they confirmed it has Date and Time format.
So, I created one more variable single line text: ExpiryDate Test and added 11:59:59 PM to the date value, in the catalog item and tried to pass same variable to the Create AD Object in the Flow Designer
Still getting same error as 'Invalid Type or unsupported attribute found in Object Data'.
Submitted HI case for the same and they asked to run Powershell script at Midsever and check it the issue is still happening or not.
Found Execute Powershell Script from ServiceNow - ServiceNow Community, but not sure exactly how to run Powershell script at Midserver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Refer below knowledge article to resolve the issue,
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0784931
If this helped to answer your query, please mark it helpful & accept the solution.
Thanks,
Bhuvan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10 hours ago
Hi @Admin7267
You should run the PowerShell script on your MID Server host.
With assistance from your Active Directory (AD) admin team, log in to the MID Server host, open PowerShell, and execute the script manually.
Please validate the MID Server script file and try running it by manually passing the required values.
Regards,
Siva