Click HERE to see how Saviynt Intelligence is transforming the industry. |
10/13/2024 07:09 PM
Hi Team,
I have reconed all the accounts and entitlements from the target application but the account entitlement association is not happening. Below is my json for the association.
"acctEntParams": {
"acctEntParams": {
"connection": "userAuth",
"entTypes": {
"Roles": {
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"processingType": "httpAcctToEnt",
"http": {
"httpHeaders": {
"Authorization": "${access_token}"
},
"url": "({BaseUrl})startIndex=1&count=100&p_filter_property=Id&p_filter_operator=gt&p_filter_value=0&p_include_Inactive=true&p_include_members=true",
"httpMethod": "GET"
},
"listField": "groups",
"entKeyField": "entitlementID",
"entIdPath": "id",
"acctIdPath": "members.id",
"acctKeyField": "accountID"
Postman response screenshot
I have showlogs true and it's not showing any error.
Can someone help on this please.
Regards,
Aadhithyan.S
10/13/2024 09:23 PM
@AadhithyanS share API postman screenshot also consisting of URL
10/13/2024 09:37 PM
Please share postman screenshot and curl command [Refer https://codingnconcepts.com/postman/how-to-generate-curl-command-from-postman/ ]
⚠️‼️‼️Do not upload any attachments that contain sensitive information, such as IP Addresses, URLs, Company/Employee Names, Email Addresses, etc.‼️‼️⚠️
Also share full JSON and logs in text file
10/14/2024 02:32 AM - edited 10/14/2024 02:35 AM
Please find the screenshot and json below
ImportAccEnt Json:
{
"accountParams": {
"connection": "userAuth",
"processingType": "SequentialAndIterative",
"statusAndThresholdConfig": {
"deleteLinks": true,
"accountThresholdValue": 3000,
"correlateInactiveAccounts": false,
"inactivateAccountsNotInFile": true,
"deleteAccEntForActiveAccounts": true
},
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"http": {
"url": "{BaseURl}?p_filter_property=Id&p_filter_operator=gt&p_filter_value=1&p_include_Inactive=true",
"httpHeaders": {
"Authorization": "${access_token}",
"Accept": "application/json"
},
"httpContentType": "application/json",
"httpMethod": "GET"
},
"listField": "users",
"keyField": "accountID",
"statusConfig": {
"active": "true",
"inactive": "false"
},
"colsToPropsMap": {
"accountID": "id~#~char",
"name": "userName~#~char",
"displayName": "name~#~char",
"customproperty2": "email~#~char",
"customproperty3": "phonenumber~#~char",
"customproperty4": "id~#~char",
"customproperty5": "displayname~#~char",
"status": "active~#~char",
"customproperty6": "created~#~char",
"customproperty7": "userName~#~char"
},
"pagination": {
"offset": {
"offsetParam": "startIndex",
"batchParam": "count",
"batchSize": 500,
"totalCountPath": 20000
}
}
}
}
},
"entitlementParams": {
"connection": "userAuth",
"processingType": "SequentialAndIterative",
"entTypes": {
"Roles": {
"entTypeOrder": 1,
"call": {
"call1": {
"callOrder": 1,
"stageNumber": 1,
"http": {
"url": "{BaseURl}?p_filter_property=Id&p_filter_operator=gt&p_filter_value=0&p_include_Inactive=true&p_include_members=true",
"httpHeaders": {
"Authorization": "${access_token}",
"Accept": "*/*",
"Content-Type": "application/json"
},
"httpContentType": "application/json",
"httpMethod": "GET"
},
"listField": "groups",
"keyField": "entitlementID",
"colsToPropsMap": {
"entitlementID": "id~#~char",
"entitlement_value": "#CONST#${String data1 = response.applicationName; String data2 = response.name; ret = data1 + \" _\" + data2; return ret}~#~char",
"customproperty1": "id~#~char",
"customproperty2": "name~#~char",
"customproperty3": "applicationName~#~char",
"description": "description~#~char",
"status": "active~#~boolean"
},
"pagination": {
"offset": {
"offsetParam": "startIndex",
"batchParam": "count",
"batchSize": 100,
"totalCountPath": 1000
}
}
}
}
}
}
},
"acctEntParams": {
"acctEntParams": {
"connection": "userAuth",
"entTypes": {
"Roles": {
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"processingType": "httpAcctToEnt",
"http": {
"httpHeaders": {
"Authorization": "${access_token}"
},
"url": "{BaseURl}?startIndex=1&count=100&p_filter_property=Id&p_filter_operator=gt&p_filter_value=0&p_include_Inactive=true&p_include_members=true",
"httpMethod": "GET"
},
"listField": "groups",
"entKeyField": "entitlementID",
"entIdPath": "id",
"acctIdPath": "members.id",
"acctKeyField": "accountID"
}
}
}
}
}
}
}
The pasted screenshot here from postman gives the groups and the associatied accounts details. We have seperate url to pull accounts
10/14/2024 10:44 AM
Please share the logs in text format for easier debugging. Additionally, provide the task ID, error details, or specific line numbers where the issues occur to help us review the relevant sections efficiently.
⚠️ Important: Do not upload attachments containing sensitive information, such as IP addresses, URLs, company/employee names, or email addresses. For more information, refer to the Saviynt PII Policy.