Click HERE to see how Saviynt Intelligence is transforming the industry. |
07/25/2024 12:54 AM
Hi Team,
We have one Azure connection which imports accounts. Now we created another REST connection to import same accounts. The mapping is same. But when to run a job using the new REST connection its creating a new entry for the same old account & deleting(marking suspended from import) the same account. (Here target details are same). Both accounts have same Account Name(if we do not consider the deleted part after the old account is deleted), account ID & both have accountenabled true which is showing in accounts.
ACCOUNT_ATTRIBUTES for Azure Connection:
{ "colsToPropsMap":{ "accountID": "id~#~char", "name": "userPrincipalName~#~char", "status":"accountEnabled~#~char", "displayName": "displayName~#~char", "customproperty21": "employeeId~#~char", "customproperty22": "givenName~#~char", "customproperty25": "surname~#~char", "customproperty23": "mail~#~char", "customproperty10": "accountEnabled~#~char" } } |
ImportAccountEntJSON for AZURE REST Connection:
{ "accountParams": { "connection": "<name>", "processingType": "SequentialAndIterative", "statusAndThresholdConfig": { "deleteLinks": true, "accountThresholdValue": 10, "inactivateAccountsNotInFile": true, "activeStatus": [ "true" ], "statusColumn": "customproperty10" }, "call": { "call1": { "callOrder": 0, "stageNumber": 0, "http": { "url": "https://graph.microsoft.com/beta/users/<tenant id>/?$select=id,userPrincipalName,accountEnabled,employeeId,signInActivity", "httpHeaders": { "Authorization": "${access_token}" }, "httpContentType": "application/x-www-form-urlencoded", "httpMethod": "GET" }, "listField": "value", "keyField": "accountID", "colsToPropsMap": { "accountID": "id~#~char", "name": "userPrincipalName~#~char", "status": "accountEnabled~#~char", "customproperty10": "accountEnabled~#~char", "customproperty21": "employeeId~#~char", "customproperty24": "signInActivity.lastSignInDateTime~#~char" } } } }, "entitlementParams": {}, "acctEntParams": {} } |
07/25/2024 02:12 AM - edited 07/25/2024 02:22 AM
@tuhink try
{
"accountParams": {
"connection": "<name>",
"processingType": "SequentialAndIterative",
"statusAndThresholdConfig": {
"deleteLinks": false, // Prevent deletion of existing links
"accountThresholdValue": 10,
"inactivateAccountsNotInFile": false, // Prevent inactivation of accounts not in the import file
"activeStatus": [
"true"
],
"statusColumn": "customproperty10",
"correlateInactiveAccounts": true // Ensure inactive accounts are correlated properly
},
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"http": {
"url": "https://graph.microsoft.com/beta/users/<tenant id>/?$select=id,userPrincipalName,accountEnabled,employeeId,signInActivity",
"httpHeaders": {
"Authorization": "${access_token}"
},
"httpContentType": "application/json",
"httpMethod": "GET",
"expiryError": [
"token_expired",
"session_timeout"
],
"authError": [
"invalid_token",
"unauthorized"
],
"retryFailureStatusCode": [
500,
502,
503,
504
],
"timeOutError": [
"timeout_error"
],
"errorPath": "error",
"maxRefreshTryCount": 3
},
"listField": "value",
"keyField": "id", // Ensure this field uniquely identifies the account
"colsToPropsMap": {
"accountID": "id~#~char", // Ensure proper correlation using a unique identifier
"name": "userPrincipalName~#~char",
"status": "accountEnabled~#~char",
"customproperty10": "accountEnabled~#~char",
"customproperty21": "employeeId~#~char",
"customproperty24": "signInActivity.lastSignInDateTime~#~char"
}
}
}
},
"entitlementParams": {},
"acctEntParams": {}
}
07/25/2024 02:17 AM
No not working
07/25/2024 09:50 PM
What is purpose of REST Connector ?
07/25/2024 09:54 PM
To import sign in information from azure
07/25/2024 09:57 PM
That is supported with Azure AD connector also.
07/25/2024 10:45 PM
Hi @rushikeshvartak thank you for letting me know that the sign in information can be fetched by OOTB Azure connection. Actually I had searched few articles where you have only mentioned that it only fetches the delta attributes. So I thought it doesn't work with OOTB azure connection. By the way, can you please still provide some insights about that issue & whether it is a valid scenario.
07/29/2024 11:54 AM
I have validated in 24.4 and it works now with OOTB Azure AD connector
08/18/2024 11:52 PM
Hi @rushikeshvartak did you get the signin-info in connection 'Pre-import Review' or by running the account import job? I am getting the details using connection 'Pre-import Review' . But when I am running the import job, I am getting the below error.
ResponseStatusCode-400, Failed url-https://graph.microsoft.com/v1.0/users/delta?$select=id,userPrincipalName,givenName,surname,displayName,employeeId,accountEnabled,mail,signInActivity&$deltaToken=latest, Error Message - {"error":{"code":"BadRequest","message":"Invalid request for delta query: for this entity set, $expand/$select is not supported for the following properties: signInActivity","innerError"
08/19/2024 02:25 AM
Yes can you share configs.
08/19/2024 02:40 AM
ACCOUNT_ATTRIBUTES:
{
"colsToPropsMap": {
"accountID": "id~#~char",
"name": "userPrincipalName~#~char",
"status": "accountEnabled~#~char",
"displayName": "displayName~#~char",
"customproperty21": "employeeId~#~char",
"customproperty22": "givenName~#~char",
"customproperty25": "surname~#~char",
"customproperty23": "mail~#~char",
"customproperty10": "accountEnabled~#~char",
"customproperty31": "signInActivity.lastSignInDateTime~#~char",
"LASTLOGONDATE": "signInActivity.lastSignInDateTime~#~date"
}
}
ACCOUNT_IMPORT_FIELDS:
id,userPrincipalName,givenName,surname,displayName,employeeId,accountEnabled,mail,signInActivity
Yes I am running the full account import.
08/19/2024 02:49 AM
What is subversion of saviynt 24.4 you are using
08/19/2024 02:59 AM
When I click on the Pre-import Review button in connection its showing the lastlogon data. But when I am running the jobs its throwing that error.
08/19/2024 02:54 AM
Release-24.4.5
08/19/2024 03:33 AM
08/19/2024 06:23 AM
I have tested on 24.4.10
Please upgrade version to latest and validate .
08/19/2024 06:39 AM
Hi @rushikeshvartak thats helpful...thank you. Actually our production sub-version is Release-24.4.11, but dev is Release-24.4.5
Any idea whether Saviynt provides patch update so that we can match the dev & prod sub-version...because the full version upgrade will take some time
08/19/2024 06:41 AM
08/19/2024 06:43 AM
Business Use Case: Some functionality is not working in a in a lower environment. and to keep all environments on the same version, and to match production versions with non-production versions.