Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Powershell Script REST connector to create mailbox

New Contributor III
New Contributor III

Hi All,

I am trying to call a powershell file in the IIS server and getting 404 not found error. Can anyone help? 

I am not able to call from postman on the IIS server too. Not sure what is missing. I have checked the configs based on other forum posts and confirmed that everything is in place.

Here is my createaccount json


"accountIdPath": "accountName",
"responseColsToPropsMap": {},
"call": [
"name": "call1",
"connection": "acctAuth",
"url": "https://xxxxx/SaviyntApp/PS/ExecutePSScript",
"httpMethod": "POST",
"httpParams": "{\"Script\":\"Powershell.exe C:\\\\\\\\inetpub\\\\\\\\wwwroot\\\\\\\\SaviyntApp\\\\\\\\PS\\\\\\\\ExecutePSScript\\\\\\\\TestCommand.ps1 -UserEmail ${}\"}",
"httpHeaders": {
"Authorization": "Basic ________________"
"httpContentType": "application/x-www-form-urlencoded",
"SuccessResponses": {
"": [
"unsuccessResponses": {
"responseMessage": [
"\"Powershell script taking too long Sample input: Invoke-Command -ComputerName \\\"\\\" -ScriptBlock {command to execute} -Credential $Cred\""



[This message has been edited by moderator to mask sensitive info]


Saviynt Employee
Saviynt Employee

Hello @PratithShetty,

Are you able validate it in the postman.


If you find the above response useful, Kindly Mark it as "Accept As Solution".