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

Account-Entitlement mapping issue with SAP Analytics Cloud Tenant API

maniboinapally
New Contributor
New Contributor

Hi Everyone,

I'm trying to onboard SAP Analytics Cloud Tenant into Saviynt. Was able to get accounts and Entitlement into Saviynt but Entitlement<-->Account mappings were missing.

 

Import JSON I was using:

{
"accountParams": {
"connection": "acctAuth",
"processingType": "SequentialAndIterative",
"statusAndThresholdConfig": {
"activeStatus": [
"true"
],
"deleteLinks": true,
"correlateInactiveAccounts": true,
"inactivateAccountsNotInFile": false
},
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"http": {
"url": "https://oururl/api/v1/scim/Users/?startIndex=1&count=9999",
"httpHeaders": {
"Authorization": "Bearer token",
"x-csrf-token": "fetch",
"x-sap-sac-custom-auth": "true"
},
"httpContentType": "application/json",
"httpMethod": "GET"
},
"listField": "Resources",
"keyField": "accountID",
"colsToPropsMap": {
"name": "userName~#~char",
"accountID": "id~#~char",
"status": "active~#~char",
"customproperty1": "active~#~char",
"displayname": "displayName~#~char",
"customproperty15": "meta.created~#~char"
}
}
}
},
"entitlementParams": {
"connection": "acctAuth",
"processingType": "SequentialAndIterative",
"entTypes": {
"Group": {
"entTypeOrder": 0,
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"http": {
"url": "https://oururl/api/v1/scim/Groups",
"httpHeaders": {
"Authorization": "Bearer token",
"Accept": "application/json",
"x-csrf-token": "fetch",
"x-sap-sac-custom-auth": "true",
"Content-type": "application/json"
},
"httpMethod": "GET"
},
"listField": "Resources",
"keyField": "entitlementID",
"colsToPropsMap": {
"entitlementID": "id~#~char",
"entitlement_value": "displayName~#~char"
},
"disableDeletedEntitlements": true
}
}
}
}
},
"acctEntParams": {
"connection": "acctAuth",
"entTypes": {
"Group": {
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"processingType": "httpEntToAcct",

"http": {
"url": "https://oururl/api/v1/scim/Groups",
"httpHeaders": {
"Authorization": "Bearer token",
"Accept": "application/json",
"x-csrf-token": "fetch",
"x-sap-sac-custom-auth": "true",
"Content-type": "application/json"
},
"httpMethod": "GET"
},
"listField": "members",
"acctIdPath": "value",
"entKeyField": "entitlementID",
"acctKeyField": "accountID"
}
}
}
}
}
}

2 REPLIES 2

rushikeshvartak
All-Star
All-Star

Can you share postman api response 


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

{
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0"
],
"totalResults": 7,
"itemsPerPage": 50,
"startIndex": 1,
"Resources": [
{
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:Group",
"urn:ietf:params:scim:schemas:extension:sap:group-custom-parameters:1.0"
],
"id": "SampleGroup",
"displayName": "SampleGroup",
"meta": {
"created": "2023-03-22T14:20:38.860Z",
"location": "/api/v1/scim/Groups/SampleGroup",
"resourceType": "Group"
},
"members": [
{
"type": "User",
"value": "User1",
"$ref": "/api/v1/scim/Users/User1"
},
{
"type": "User",
"value": "User01",
"$ref": "/api/v1/scim/Users/User01"
},
{
"type": "User",
"value": "User02",
"$ref": "/api/v1/scim/Users/User02"
},
{
"type": "User",
"value": "User03",
"$ref": "/api/v1/scim/Users/User03"
},
{
"type": "User",
"value": "User04",
"$ref": "/api/v1/scim/Users/User04"
},
{
"type": "User",
"value": "User05",
"$ref": "/api/v1/scim/Users/User05"
},
{
"type": "User",
"value": "User06",
"$ref": "/api/v1/scim/Users/User06"
},
{
"type": "User",
"value": "User07",
"$ref": "/api/v1/scim/Users/User07"
},
{
"type": "User",
"value": "User08",
"$ref": "/api/v1/scim/Users/User08"
}
],
"roles": [
"PROFILE:t.A:Y_SAC_CONTENT_VIEW"
],
"urn:ietf:params:scim:schemas:extension:sap:group-custom-parameters:1.0": {}
},
{
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:Group",
"urn:ietf:params:scim:schemas:extension:sap:group-custom-parameters:1.0"
],
"id": "SampleGroup2",
"displayName": "SampleGroup2",
"meta": {
"created": "2023-03-22T14:57:35.153Z",
"location": "/api/v1/scim/Groups/SampleGroup2",
"resourceType": "Group"
},
"members": [
{
"type": "User",
"value": "User2",
"$ref": "/api/v1/scim/Users/User2"
}
],
"roles": [
"PROFILE:t.A:Y_SAC_BI_SUPPORT"
],
"urn:ietf:params:scim:schemas:extension:sap:group-custom-parameters:1.0": {}
},
{
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:Group",
"urn:ietf:params:scim:schemas:extension:sap:group-custom-parameters:1.0"
],
"id": "SampleGroup3",
"displayName": "SampleGroup3",
"meta": {
"created": "2023-11-17T17:47:01.708Z",
"location": "/api/v1/scim/Groups/SampleGroup3",
"resourceType": "Group"
},
"members": [],
"roles": [
"PROFILE:t.I:Y_SAC_CONT_VIEW_PP"
],
"urn:ietf:params:scim:schemas:extension:sap:group-custom-parameters:1.0": {}
},
{
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:Group",
"urn:ietf:params:scim:schemas:extension:sap:group-custom-parameters:1.0"
],
"id": "SampleGroup4",
"displayName": "SampleGroup4",
"meta": {
"created": "2023-11-17T17:47:02.838Z",
"location": "/api/v1/scim/Groups/SampleGroup4",
"resourceType": "Group"
},
"members": [],
"roles": [
"PROFILE:t.I:Y_SAC_CONT_VIEW_PP"
],
"urn:ietf:params:scim:schemas:extension:sap:group-custom-parameters:1.0": {}
},
{
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:Group",
"urn:ietf:params:scim:schemas:extension:sap:group-custom-parameters:1.0"
],
"id": "SampleGroup5",
"displayName": "SampleGroup5",
"meta": {
"created": "2023-11-17T17:47:03.842Z",
"location": "/api/v1/scim/Groups/SampleGroup5",
"resourceType": "Group"
},
"members": [],
"roles": [
"PROFILE:t.I:Y_SAC_SECUR_ADM_PP"
],
"urn:ietf:params:scim:schemas:extension:sap:group-custom-parameters:1.0": {}
},
{
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:Group",
"urn:ietf:params:scim:schemas:extension:sap:group-custom-parameters:1.0"
],
"id": "SampleGroup2",
"displayName": "SampleGroup2",
"meta": {
"created": "2023-11-17T17:47:04.862Z",
"location": "/api/v1/scim/Groups/SampleGroup2",
"resourceType": "Group"
},
"members": [],
"roles": [
"PROFILE:t.I:Y_SAC_BI_SUPPORT_PP"
],
"urn:ietf:params:scim:schemas:extension:sap:group-custom-parameters:1.0": {}
},
{
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:Group",
"urn:ietf:params:scim:schemas:extension:sap:group-custom-parameters:1.0"
],
"id": "SampleGroup6",
"displayName": "SampleGroup6",
"meta": {
"created": "2023-11-17T17:47:05.907Z",
"location": "/api/v1/scim/Groups/SampleGroup6",
"resourceType": "Group"
},
"members": [],
"roles": [
"PROFILE:t.I:Y_SAC_CONT_VIEW_PP"
],
"urn:ietf:params:scim:schemas:extension:sap:group-custom-parameters:1.0": {}
}
]
}