Click HERE to see how Saviynt Intelligence is transforming the industry. |
08/31/2022 02:35 PM
Hello,
We are trying to provision accounts to our Gitlab application. We have already managed to import accounts, entitlement and projects from Gitlab.
But when we make a task for a new account in the Gitlab environment and run the WSRETRYJOB, we get a failed task back. Our JSON looks like this.
{
"accountIdPath": "accountName",
"responseColsToPropsMap": {
"displayname": "call1.message.username~#~char",
"name": "call1.message.username~#~char"
},
"call": [
{
"name": "call1",
"connection": "acctAuth",
"url": "https://DNS NAME/api/v4/users",
"httpMethod": "POST",
"httpParams": "{\"username\": \"${user.username}\",\"force_random_password\":\"false\",\"name\": \"${user.firstname}\"}",
"httpHeaders": {
"Authorization": "${access_token}",
"Accept": "application/json"
},
"httpContentType": "application/json",
"successResponses": {
"statusCode": [
201
]
},
"unsuccessResponses": {
"statusCode": [
404
]
}
}
]
}
We don't get any provisioning comments in our task viewer like we did when we provisioned AD and the application logs don't show valuable errors.
08/31/2022 04:25 PM
{
"accountIdPath":"call1.message.id",
"responseColsToPropsMap":{
"displayName":"call1.message.username~#~char",
"name":"call1.message.name~#~char"
},
"call":[
{
"name":"call1",
"connection":"acctAuth",
"url":"https://domain.gitlab.com/api/v4/users",
"httpMethod":"POST",
"httpParams":"{\"email\": \"${user.email}\",\"username\": \"${user.username}\",\"password\":\"${user.password}\",\"name\": \"${user.firstname}\"}",
"httpHeaders":{
"Authorization":"${access_token}",
"Accept":"application/json"
},
"httpContentType":"application/json",
"successResponses":{
"statusCode":[
201
]
}
}
]
}
Can you try above
08/31/2022 11:09 PM
This does not work either.
08/31/2022 11:19 PM - edited 08/31/2022 11:20 PM
Please share logs & screenshot from pending task
Does automated provisioning enabled under security system?
08/31/2022 11:37 PM - edited 08/31/2022 11:38 PM
Automated provisioning is enabled under the security system. We have also tried disabling it.
Logs:
Screenshot of pending task:
09/01/2022 02:11 AM
What is the expected API response on success. Could you share that?
09/01/2022 02:20 AM - last edited on 09/01/2022 09:13 AM by Dave
I can't really tell you the expected API response but what i can show you is how postman would give a response.
All of the required parameters are filled in.
[This post has been edited by a Moderator to improve the clarity of the post.]