Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Rest Connector :Import entitlement mapping for Inactive account :

prachi
Regular Contributor II
Regular Contributor II

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"
}
}
}
}
}
}

10 REPLIES 10

rushikeshvartak
All-Star
All-Star

Remove statusAndThresholdConfig


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

prachi
Regular Contributor II
Regular Contributor II

Hi I already have status & Threshold in my Import JSON:

"statusAndThresholdConfig": {
"inactivateAccountsNotInFile": false,
"correlateInactiveAccounts": true,
"accountThresholdValue": 1000,
"deleteAccEntForActiveAccounts": true
},
"includeExistingInActiveAccounts": true,

 

sahajranajee
Saviynt Employee
Saviynt Employee

Hello @prachi 

Which app version are you on?


Regards,
Sahaj Ranajee
Sr. Product Specialist

prachi
Regular Contributor II
Regular Contributor II

Saviynt v5.5 SP5

naveenss
All-Star
All-Star

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.

Regards,
Naveen Sakleshpur
If this reply answered your question, please click the Accept As Solution button to help future users who may have a similar problem.

mayankshah
New Contributor III
New Contributor III

@naveenss  - Did you resolved this issue? If Yes, how?

Yes. this is resolved. Include the below parameter in your importAccountJSON

"includeExistingInActiveAccounts": true,

Regards,
Naveen Sakleshpur
If this reply answered your question, please click the Accept As Solution button to help future users who may have a similar problem.

Micky16
New Contributor III
New Contributor III

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

Does api return expected data


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

Micky16
New Contributor III
New Contributor III

yes, we did get the mappings for cp31 for inactive accounts from target