PARTNERS - Please join us for our upcoming webinar:
Leveraging Intelligent Recommendations for Operational Transformation.
AMS Partners Click HERE | EMEA/APJ Click HERE

Windows PowerShell connection for exchange mailbox, saviynt task in pending with error v5.5sp3.17

rajsannidhi
New Contributor III
New Contributor III

we have a windows PowerShell REST connection for exchange mailbox, request is processed successfully in the target system, but Saviynt task is in pending state with error, issue started after upgrade to 5.5 sp3.17 in DEV & QA, the same connection is working fine in our PROD 5.5sp3.9.

Error code – 408 it's a request timeout error, I’m not sure why, even though the request is processed and completed successfully in the target system.

rajsannidhi_0-1688059026653.png

Create account JSON

{
"accountIdPath": "accountName",
"responseColsToPropsMap": {
 
},
"call": [{
"name": "call1",
"connection": "entAuth",
"httpMethod": "POST",
"httpParams": "{\"Script\":\"cd C:\\\\\\\\SaviyntWinCon\\\\\\\\ExecutePS;.\\\\\\\\New-EXOMailbox.ps1 -UserID  \\'${user.systemUserName}\\' -UserCompany  \\'${user.orgunitid}\\' -UserType  \\'${user.employeeType}\\'  \"}",
"httpHeaders": {
"Authorization": "${access_token}"
},
"httpContentType": "application/x-www-form-urlencoded",
"SuccessResponses": {
"response[0].response": ["Success"]
},
"unsuccessResponses": {
"response[1].response": ["\"Fail\"", "\"Powershell script failed \""]
}
}
 
]
}
3 REPLIES 3

rajsannidhi
New Contributor III
New Contributor III

Hello Smitha,

Thank you for the information, currently we do not have anything configured for configJSOn in the connection.

As per documentation I tried both below JSON's, tasks are still pending with same error, retry happens for 10 times, then tasks are moved to completed state with error. are these JSON configs supported in 5.5sp3.17 ?

{
  "connectionTimeoutConfig": {
    "connectionTimeout": 10,
    "readTimeout": 60,
    "writeTimeout": 60,
    "retryWait": 2,
    "retryCount": 3
  }
}
{
  "showLogs": true,
  "provisioningLimit": {
    "types": {
      "NEWACCOUNT": 100,
      "UPDATEACCOUNT": 100,
      "ENABLEACCOUNT": 100,
      "DISABLEACCOUNT": 100,
      "REMOVEACCOUNT": 100,
      "ADDACCESS": 100,
      "REMOVEACCESS": 100,
      "UPDATEUSER": 100,
      "CHANGEPASSWORD": 100
    },
    "waitTimeMillis": 1000
  }
}

 

rajsannidhi_0-1688144858400.png

 

rajsannidhi
New Contributor III
New Contributor III

Adding below configJson fixed the issue, tasks are completing successfully now.

{
  "connectionTimeoutConfig": {
    "connectionTimeout": 10,
    "readTimeout": 60,
    "writeTimeout": 60,
    "retryWait": 2,
    "retryCount": 3
  }
}