We are delighted to share our new EIC Delivery Methodology for efficiently managing Saviynt Implementations and delivering quick time to value. CLICK HERE.

Rest Connector :Import entitlement mapping for Inactive account

mayankshah
New Contributor III
New Contributor III

Entitlment mapping for inactive active is not happeninig. Below is the account import JSON.

Version: 5.5 SP5

Below is accountimportJSON that I am using:

{
"accountParams": {
"connection": "acctAuth",
"processingType": "SequentialAndIterative",
"statusAndThresholdConfig": {
"statusColumn": "customproperty11",
"activeStatus": [
"A"
],
"deleteLinks": true,
"accountThresholdValue": 10000,
"correlateInactiveAccounts": true,
"inactivateAccountsNotInFile": true,
"deleteAccEntForActiveAccounts": true
},

"includeExistingInActiveAccounts": true,
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"http": {
"url": "http://xxxxxxxxxxxxxxxxxxxx",
"httpHeaders": {
"Authorization": "${access_token}",
"Accept": "application/json"
},
"httpContentType": "application/json",
"httpMethod": "GET"
},
"listField": "rdfs:member",
"keyField": "name",
"statusConfig": {
"active": "A",
"inactive":"T"
},

"colsToPropsMap": {
"accountID": "spi:maxuserid~#~char",
"name": "spi:userid~#~char",
"displayName": "spi:userid~#~char",
"status": "spi:status~#~char",
"customproperty1": "spi:status~#~char",
"customproperty11": "spi:status~#~char",
"customproperty31": "STORE#ACC#ENT#MAPPINGINFO~#~char" }
}
},
"acctEntMappings": {
"Groups": {
"listPath": "spi:groupuser",
"idPath": "spi:groupname",
"keyField": "entitlement_value"
}
}
},
"entitlementParams": {"connection": "acctAuth",
"processingType": "SequentialAndIterative",
"entTypes": {
"Groups": {
"entTypeOrder": 0,
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"http": {
"url": "xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"httpHeaders": {
"Authorization": "${access_token}",
"Accept": "application/json"
},
"httpContentType": "application/json",
"httpMethod": "GET"
},
"listField": "rdfs:member",
"keyField": "entitlementID",
"colsToPropsMap": {
"entitlementID": "spi:maxgroupid~#~char",
"entitlement_value": "spi:groupname~#~char",
"description": "spi:description~#~char"
},
"disableDeletedEntitlements": true
}
}
}
}},
"acctEntParams": {"processingType": "acctToEntMapping"}
}

Ideally this should be resolved by using includeExistingInActiveAccounts as per the Rest connector guide but no luck.

Any suggestion will be highly appreciated.

3 REPLIES 3

SB
Saviynt Employee
Saviynt Employee

Can you try with the below format once.

{
"globalSettings": {
"userSourceList": [
"1"
]
},
"accountParams": {
"connection": "acctAuth",
"processingType": "SequentialAndIterative",
"statusAndThresholdConfig": {
"statusColumn": "customproperty11",
"activeStatus": [
"A"
],
"deleteLinks": true,
"accountThresholdValue": 10000,
"correlateInactiveAccounts": true,
"inactivateAccountsNotInFile": true,
"deleteAccEntForActiveAccounts": true
},
"includeExistingInActiveAccounts": true,
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"http": {
"url": "http://xxxxxxxxxxxxxxxxxxxx",
"httpHeaders": {
"Authorization": "${access_token}",
"Accept": "application/json"
},
"httpContentType": "application/json",
"httpMethod": "GET"
},
"listField": "rdfs:member",
"keyField": "name",
"statusConfig": {
"active": "A",
"inactive": "T"
},
"colsToPropsMap": {
"accountID": "spi:maxuserid~#~char",
"name": "spi:userid~#~char",
"displayName": "spi:userid~#~char",
"status": "spi:status~#~char",
"customproperty1": "spi:status~#~char",
"customproperty11": "spi:status~#~char",
"customproperty31": "STORE#ACC#ENT#MAPPINGINFO~#~char"
}
}
},
"acctEntMappings": {
"Groups": {
"listPath": "spi:groupuser",
"idPath": "spi:groupname",
"keyField": "entitlement_value"
}
}
},
"entitlementParams": {
"connection": "acctAuth",
"processingType": "SequentialAndIterative",
"entTypes": {
"Groups": {
"entTypeOrder": 0,
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"http": {
"url": "xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"httpHeaders": {
"Authorization": "${access_token}",
"Accept": "application/json"
},
"httpContentType": "application/json",
"httpMethod": "GET"
},
"listField": "rdfs:member",
"keyField": "entitlementID",
"colsToPropsMap": {
"entitlementID": "spi:maxgroupid~#~char",
"entitlement_value": "spi:groupname~#~char",
"description": "spi:description~#~char"
},
"disableDeletedEntitlements": true
}
}
}
}
},
"acctEntParams": {
"processingType": "acctToEntMapping"
}
}


Regards,
Sahil

mayankshah
New Contributor III
New Contributor III

Thanks Sahil but still no luck. Only the active accounts entitlement are getting sync.

SB
Saviynt Employee
Saviynt Employee

This format should have worked but in case its not, can you open a ticket with Saviynt support for the issue as it will require further troubleshooting.


Regards,
Sahil