PowerShell Explicit Remoting Step Permissions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2024 09:12 AM
Hello all,
I recently started diving into PowerShell Explicit Remoting Steps however I am struggling to find documentation on exactly what is needed for a process to run.
The PowerShell script I am trying to run is very simple however I keep getting the messages "Access Denied", when I sign into the Mid Server and open PowerShell ISE with the credentials and emulate ServiceNow triggering it using the Invoke-Command I get a "Success" response.
try
{
$result = Start-ADSyncSyncCycle -PolicyType Delta
$status = "Success"
}
catch
{
$result = $_.Exception.Message
$status = "Error"
}
$response = @{
status = $status
body = $result
} | convertTo-Json
Write-Output $response

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2024 11:28 AM
In the navigator, search for ECC queue. ECC queue holds all the outbound and inbound transactions which is triggered via a mid server.
Please mark this response as correct or helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2024 11:58 AM - edited 07-02-2024 11:58 AM
unfortunately there was no Orchestration tab but I found it by going to the ecc_queue_list.do there was nothing there that had details on the error.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2024 01:01 PM
You should probably try the powershell script utility which is easier to debug,.
Please mark this response as correct or helpful if it assisted you with your question.