Error when trying to create Azure AD account via REST connector

LeeEG
New Contributor
New Contributor

The goal is to create new accounts in Azure AD, and have been unable to do so. See below for details. Can anyone help with this?

Saviynt v5.5SP3

Error after running WSRETRY in the comments of the pending task pane for the account:

{"auditDetails":{"call1":[{"headers":null,"message":"","statusCode":null,"description":null,"status":"Failed"}]},"call1":{"headers":null,"message":"","statusCode":null,"description":null,"status":"Failed"}}

Create Account JSON:

{
"accountIdPath": "call1.message.id",
"dateFormat": "yyyy-MM-dd'T'HH:mm:ssXXX",
"responseColsToPropsMap": {
"displayName": "call1.message.displayName~#~char",
"name": "call1.message.userPrincipalName~#~char"
},
"call": [{
"name": "call1",
"connection": "userAuth",
"url": "https://graph.microsoft.com/v1.0/users",
"httpMethod": "POST",
"httpParams": "{\"accountEnabled\":true,\"userPrincipalName\":\"${user.username}@mdc9292.com\",\"passwordProfile\":{\"forceChangePasswordNextSignIn\":true,\"password\":\"P@ssword123!\"}}",
"httpHeaders": {
"Authorization": "${access_token}"
},
"httpContentType": "application/json",
"successResponses": {
"statusCode": [
200,
201,
204,
205
]
}
}]
}

 

1 REPLY 1

sahil
Saviynt Employee
Saviynt Employee

Can you also share the connection JSON.


Regards,
Sahil