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

connectionName acctAuth not found

Rajatlm10
New Contributor III
New Contributor III

Hi , i am running the recon and getting the error as 

Rajatlm10_0-1717068681952.png

i am using the below connection JSON. 

{
"authentications":{
"userAuth":{
"authType":"oauth2",
"url":"https://xxx",
"httpMethod":"POST",
"httpParams":{
"client_id": "xxx",
"client_secret": "xxx",
"grant_type": "client_credentials"
},
"httpHeaders":{
"contentType":"application/x-www-form-urlencoded"
},
"httpContentType":"application/x-www-form-urlencoded",
"expiryError":"ExpiredAuthenticationToken",
"retryFailureStatusCode":[
401
],
"authError":[
"Unauthorized"
],
"timeOutError":"Read timed out",
"errorPath":"error",
"maxRefreshTryCount":5,
"tokenResponsePath":"access_token",
"tokenType":"Bearer",
"accessToken":"<Token>"
}
}
}

 

 

IMPORT  Account  JSON:]

{
"accountParams": {
"connection": "acctAuth",
"processingType": "SequentialAndIterative",
"statusAndThresholdConfig": {
"statusColumn": "customproperty8",
"status": [
"ACTIVE"
],
"deleteLinks": true,
"accountThresholdValue": 1000,
"correlateInactiveAccounts": false,
"inactivateAccountsNotInFile": true,
"deleteAccEntForActiveAccounts": true
},
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"http": {
"url": "https://xxx/users",
"httpHeaders": {
"Authorization": "${access_token}",
"Accept": "application/json"
},
"httpContentType": "application/json",
"httpMethod": "GET"
},
"listField": "items",
"keyField": "accountID",
"colsToPropsMap": {
"accountID": "username~#~char",
"name": "username~#~char",
"displayName": "username~#~char",
"customproperty1": "first_name~#~char"
}
},
"acctEntMappings": {
"Role": {
"importAsEntitlement": false,
"listPath": "roles",
"idPath": "primary_role.role",
"keyField": "entitlementID"
}
}
},

"acctEntParams": {
"processingType": "acctToEntMapping"
}
}

 

Has anyone faced the same error before?

 

3 REPLIES 3

adriencosson
Valued Contributor
Valued Contributor

Hi @Rajatlm10,

Try with "connection":"userAuth".

You need to use the name between your ConnectionJSON and your ImportAcctEntJSON.

Hope this helps !

Regards,
Adrien COSSON

rushikeshvartak
All-Star
All-Star

Connection name in connection json should match with all subsequent jsons

 

{
"accountParams": {
"connection": "userAuth",
"processingType": "SequentialAndIterative",
"statusAndThresholdConfig": {
"statusColumn": "customproperty8",
"status": [
"ACTIVE"
],
"deleteLinks": true,
"accountThresholdValue": 1000,
"correlateInactiveAccounts": false,
"inactivateAccountsNotInFile": true,
"deleteAccEntForActiveAccounts": true
},
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"http": {
"url": "https://xxx/users",
"httpHeaders": {
"Authorization": "${access_token}",
"Accept": "application/json"
},
"httpContentType": "application/json",
"httpMethod": "GET"
},
"listField": "items",
"keyField": "accountID",
"colsToPropsMap": {
"accountID": "username~#~char",
"name": "username~#~char",
"displayName": "username~#~char",
"customproperty1": "first_name~#~char"
}
},
"acctEntMappings": {
"Role": {
"importAsEntitlement": false,
"listPath": "roles",
"idPath": "primary_role.role",
"keyField": "entitlementID"
}
}
},

"acctEntParams": {
"processingType": "acctToEntMapping"
}
}

 


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

pmahalle
All-Star
All-Star

@Rajatlm10 ,

Make sure the name of you connection json is same which you are using different jsons in your connection.

In your connection json name is userAuth and you are using acctAuth in your import json. It should be same on both the places like below:

Connection JSON:

{
"authentications":{
"acctAuth":{
"authType":"oauth2",
"url":"https://xxx",
"httpMethod":"POST",
"httpParams":{
"client_id": "xxx",
"client_secret": "xxx",
"grant_type": "client_credentials"
},
"httpHeaders":{
"contentType":"application/x-www-form-urlencoded"
},
"httpContentType":"application/x-www-form-urlencoded",
"expiryError":"ExpiredAuthenticationToken",
"retryFailureStatusCode":[
401
],
"authError":[
"Unauthorized"
],
"timeOutError":"Read timed out",
"errorPath":"error",
"maxRefreshTryCount":5,
"tokenResponsePath":"access_token",
"tokenType":"Bearer",
"accessToken":"<Token>"
}
}
}

IMPORT  Account  JSON:

{
"accountParams": {
"connection": "acctAuth",
"processingType": "SequentialAndIterative",
"statusAndThresholdConfig": {
"statusColumn": "customproperty8",
"status": [
"ACTIVE"
],
"deleteLinks": true,
"accountThresholdValue": 1000,
"correlateInactiveAccounts": false,
"inactivateAccountsNotInFile": true,
"deleteAccEntForActiveAccounts": true
},
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"http": {
"url": "https://xxx/users",
"httpHeaders": {
"Authorization": "${access_token}",
"Accept": "application/json"
},
"httpContentType": "application/json",
"httpMethod": "GET"
},
"listField": "items",
"keyField": "accountID",
"colsToPropsMap": {
"accountID": "username~#~char",
"name": "username~#~char",
"displayName": "username~#~char",
"customproperty1": "first_name~#~char"
}
},
"acctEntMappings": {
"Role": {
"importAsEntitlement": false,
"listPath": "roles",
"idPath": "primary_role.role",
"keyField": "entitlementID"
}
}
},

"acctEntParams": {
"processingType": "acctToEntMapping"
}
}

 


Pandharinath Mahalle(Paddy)
If this reply helps your question, please consider selecting Accept As Solution and hit Kudos 🙂