and more in a single search tool across platforms. Read the announcement here. |
06/23/2022 12:04 AM
Hi,
For active account, we are able to import the account-entitlement mapping for active accounts but the mapping is not happening for the inactive accounts. This is for REST connector.
Please find the below ImportAccountEntJSON :
{
"accountParams": {
"connection": "userAuth",
"processingType": "SequentialAndIterative",
"statusAndThresholdConfig": {
"inactivateAccountsNotInFile": true,
"correlateInactiveAccounts": true,
"accountThresholdValue": 1000
},
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"connection": "userAuth",
"http": {
"url": "https://{URL}/api/saviynt/users/",
"httpHeaders": {
"Authorization": "${access_token}",
"Accept": "application/json"
},
"httpContentType": "application/json",
"httpMethod": "GET"
},
"listField": "",
"keyField": "accountID",
"colsToPropsMap": {
"customproperty1": "firstName~#~char",
"customproperty2": "lastName~#~char",
"customproperty3": "email~#~char",
"customproperty31": "STORE#ACC#ENT#MAPPINGINFO~#~char",
"displayname": "name~#~char",
"name": "username~#~char",
"accountID": "id~#~char",
"status": "isActive~#~bool"
},
"statusConfig": {
"active": "true",
"inactive": "false"
}
}
},
"acctEntMappings": {
"Roles": {
"listPath": "roles",
"idPath": "",
"keyField": "entitlementID"
}
}
},
"entitlementParams": {
"processingType": "SequentialAndIterative",
"entTypes": {
"Roles": {
"entTypeOrder": 0,
"call": {
"call1": {
"connection": "userAuth",
"callOrder": 0,
"stageNumber": 0,
"http": {
"httpHeaders": {
"Authorization": "${access_token}"
},
"url": "https://{URL}/api/saviynt/roles/",
"httpContentType": "application/json",
"httpMethod": "GET"
},
"listField": "",
"keyField": "entitlementID",
"colsToPropsMap": {
"entitlementID": "name~#~char",
"entitlement_value": "name~#~char",
"customproperty1": "name~#~char"
}
}
}
}
}
},
"acctEntParams": {
"connection": "userAuth",
"entTypes": {
"Roles": {
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"processingType": "acctToEntMapping"
}
}
}
}
}
}
Solved! Go to Solution.
06/23/2022 03:52 AM
Remove statusAndThresholdConfig
07/11/2022 04:00 AM
Hi I already have status & Threshold in my Import JSON:
"statusAndThresholdConfig": {
"inactivateAccountsNotInFile": false,
"correlateInactiveAccounts": true,
"accountThresholdValue": 1000,
"deleteAccEntForActiveAccounts": true
},
"includeExistingInActiveAccounts": true,
07/11/2022 04:03 AM
07/11/2022 04:22 AM
Saviynt v5.5 SP5
11/09/2022 07:50 PM
Is this resolved? We're also seeing the same behavior. Entitlements are not being mapped to the inactive accounts. We are on v5.5 SP3.11. Any help here is much appreciated.
03/21/2023 02:34 AM
@naveenss - Did you resolved this issue? If Yes, how?
03/21/2023 02:50 AM
Yes. this is resolved. Include the below parameter in your importAccountJSON
"includeExistingInActiveAccounts": true,
05/17/2023 04:39 AM
HI @naveenss,
I have included the attribute "includeExistingInActiveAccounts": true under accountParams section but it seems the mapping does not happen for inactive accounts.
We are using below processing type,
"acctEntParams": {
"processingType": "acctToEntMapping"
}
@mayankshah also experiencing the same issue...
Could you please update
05/17/2023 04:44 AM
Does api return expected data
05/17/2023 04:49 AM
yes, we did get the mappings for cp31 for inactive accounts from target