03/06/2023 02:17 AM - edited 03/06/2023 02:28 AM
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.
03/06/2023 09:24 AM
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"
}
}
03/06/2023 10:05 PM
Thanks Sahil but still no luck. Only the active accounts entitlement are getting sync.
03/07/2023 07:13 AM
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.