Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

SAV 4 SAV Connection - Unable to map SAVRole Entitlements with SAV Account

Uzair
New Contributor
New Contributor

Hello,

We have a SAV4SAV REST connection that makes three calls in the ImportAccountEntJSON - accountParams, entitlementParams and acctEntParams. The first two calls are working as expected and validated this with new SAV4SAV accounts being created for new users and New roles being added too, but the third call which provides the SAVRole entitlement to the sav4sav account isn't happening.

Please can you help in figuring this out? Attaching the ImportAccountEntJSON below.

Thanks in advance.

{
  "accountParams": {
    "connection": "userAuth",
    "processingType": "SequentialAndIterative",
    "statusAndThresholdConfig": {
      "statusColumn": "customproperty11",
      "activeStatus": [
        1
      ],
      "deleteLinks": true,
      "accountThresholdValue": 30000,
      "correlateInactiveAccounts": false,
      "inactivateAccountsNotInFile": true,
      "deleteAccEntForActiveAccounts": true
    },
    "call": {
      "call1": {
        "callOrder": 0,
        "stageNumber": 0,
        "http": {
          "httpHeaders": {
            "Authorization": "${access_token}",
            "Accept": "application/json"
          },
          "httpContentType": "application/json",
          "httpMethod": "GET"
        },
        "listField": "results",
        "keyField": "accountID",
        "colsToPropsMap": {
          "accountID": "username~#~char",
          "name": "username~#~char",
          "displayName": "displayname~#~char",
          "customproperty2": "email~#~char",
          "customproperty11": "statuskey~#~char",
          "status": "active~#~char"
        },
        "pagination": {
          "offset": {
            "offsetParam": "offset",
            "batchParam": "max",
            "batchSize": 500,
            "totalCountPath": 999999999
          }
        }
      }
    }
  },
  "entitlementParams": {
    "connection": "userAuth",
    "processingType": "SequentialAndIterative",
 
    "entTypes": {
 
      "SAVRoles": {
        "entTypeOrder": 0,
        "call": {
          "call1": {
            "callOrder": 0,
            "stageNumber": 0,
            "http": {
              "url": "https://abc.com/ECMv6/api/userms/savroles",
              "httpHeaders": {
                "Authorization": "${access_token}",
                "Accept": "application/json"
              },
              "httpContentType": "application/json",
              "httpMethod": "GET",
              "successResponses": {
                "statusCode": [
                  200,
                  201
                ]
              }
            },
            "listField": "savroles",
            "keyField": "entitlementID",
            "colsToPropsMap": {
              "entitlementID": "ROLENAME~#~char",
              "entitlement_value": "ROLENAME~#~char"
            }
          }
        }
      }
    }
  },
  "acctEntParams": {
 
    "entTypes": {
      "SAVRoles": {
        "call": {
          "call1": {
            "connection": "userAuth",
            "acctKeyField": "accountID",
            "callOrder": 0,
            "stageNumber": 1,
            "processingType": "httpEntToAcct",
            "http": {
              "httpHeaders": {
                "Authorization": "${access_token}"
              },
              "httpContentType": "application/json",
              "httpMethod": "GET"
            },
            "listField": "users",
            "entKeyField": "entitlementID",
            "acctIdPath": "username"
          }
        }
      }
    }
  }
}






1 REPLY 1

rushikeshvartak
All-Star
All-Star

Refer JSON from below post

https://forums.saviynt.com/t5/identity-governance/sav-role-import-for-sav4sav-rest-connector/m-p/351...


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.