Click HERE to see how Saviynt Intelligence is transforming the industry. |
09/20/2024 12:12 PM
Hi Team,
I’m working on the Miro Application using the Saviynt community connector for Miro utilizing integration document (https://docs-be.saviyntcloud.com/bundle/SSM-Connectors/page/Content/Resources/Attachments/MiroIntegr...).
I can import accounts and entitlements using the provided Import Account JSON under endpoint in Saviynt . but I'm not able to see entitlement and account relationship information under user account's entitlement hierachy or associated entitlements and neither in the account information under specific entitlements.
Another thing i want to highlight is that i only want users or group endpoints for populating entitlement or account relationship and not the users/id or groups/id due to the rate limitation from the Miro Application API.
How should I modify the ImportAccountJSON to start seeing entitlement and account relationship?
Below is the JSON that i'm currently using in the system.
{
"accountParams":{
"processingType":"SequentialAndIterative",
"connection":"acctAuth",
"call":{
"call1":{
"http":{
"url":"https://miro.com/api/v1/scim/Users",
"httpContentType":"application/json",
"httpMethod":"GET",
"httpHeaders":{
"Authorization":"${access_token}",
"Accept":"application/scim+json"
}
},
"listField":"Resources",
"keyField":"accountID",
"colsToPropsMap":{
"accountID":"id~#~char",
"name":"name.givenName~#~char",
"displayName":"displayName~#~char",
"customproperty1":"email.value~#~char",
"customproperty2":"active~#~char",
"customproperty3":"name.familyName~#~char",
"customproperty4":"name.givenName~#~char"
}
}
}
},
"entitlementParams":{
"processingType":"SequentialAndIterative",
"connection":"acctAuth",
"entTypes":{
"Teams":{
"call":{
"call1":{
"http":{
"url":"https://miro.com/api/v1/scim/Groups",
"httpContentType":"application/json",
"httpMethod":"GET",
"httpHeaders":{
"Authorization":"${access_token}",
"Accept":"application/scim+json"
}
},
"listField":"Resources",
"keyField":"entitlementID",
"colsToPropsMap":{
"entitlementID":"id~#~char",
"entitlement_value":"displayName~#~char",
"customproperty1":"id~#~char",
"customproperty2":"members.value~#~char",
"acctEntMappingInfoColumnFromEnt":"STORE#ACC#ENT#MAPPINGINFO~#~char"
}
}
},
"acctEntMappings":{
"listField":"Resources",
"idPath":"members.value",
"keyField":"entitlementID"
}
}
}
},
"acctEntParams":{
"processingType":"entToAcctMapping"
}
}
FYI Below is the Sample API response for groups endpoint, i got it from the Miro's official documentation
{ "schemas": [ "urn:ietf:params:scim:api:messages:2.0:ListResponse" ], "totalResults": 2, "Resources": [ { "schemas": [ "urn:ietf:params:scim:schemas:core:2.0:Group" ], "id": "3074457345620002842", "displayName": "Second team", "members": [ { "value": "3074457345619734493", "type": "User" }, { "value": "3074457345619443315", "type": "User" } ], "meta": { "resourceType": "Group", "location": "https://miro.com/api/v1/scim/Groups/3074457345620002842" } }, { "schemas": [ "urn:ietf:params:scim:schemas:core:2.0:Group" ], "id": "3074457345619443317", "displayName": "First team", "members": [ { "value": "3074457345619783626", "type": "User" }, { "value": "3074457345619577096", "type": "User" }, { "value": "3074457345618870303", "type": "User" }, { "value": "3074457345619734493", "type": "User" }, { "value": "3074457345619443315", "type": "User" }, { "value": "3074457345618796605", "type": "User" } ], "meta": { "resourceType": "Group", "location": "https://miro.com/api/v1/scim/Groups/3074457345619443317" } } ] }
FYI Below is the Sample API response for users endpoint, i got it from the Miro's official documentation
{ "schemas": [ "urn:ietf:params:scim:api:messages:2.0:ListResponse" ], "totalResults": 2, "Resources": [ { "schemas": [ "urn:ietf:params:scim:schemas:core:2.0:User" ], "id": "3074457345619443315", "userName": "max@test.com", "name": { "familyName": "", "givenName": "Maxim" }, "displayName": "Max", "active": true, "userType": "Full", "emails": [ { "value": "max@test.com", "display": "max@test.com", "primary": true } ], "groups": [ { "value": "3074457345620002842", "display": "Second team" }, { "value": "3074457345619443317", "display": "First team" } ], "meta": { "resourceType": "User", "location": "https://miro.com/api/v1/scim/Users/3074457345619443315" } }, { "schemas": [ "urn:ietf:params:scim:schemas:core:2.0:User" ], "id": "3074457345619734493", "userName": "oleg@test.com", "name": { "familyName": "", "givenName": "oleg@test.com" }, "displayName": "oleg@test.com", "active": true, "emails": [ { "value": "oleg@test.com", "display": "oleg@test.com", "primary": true } ], "groups": [ { "value": "3074457345620002842", "display": "Second team" }, { "value": "3074457345619443317", "display": "First team" } ], "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User" : { "employeeNumber" : "701984", "organization" : "Universal Studios", "costCenter" : "4130", "division" : "Theme Park", "department" : "Tour Operations", "manager" : { "displayName" : "John Smith", "value" : "32235455623567" } }, "meta": { "resourceType": "User", "location": "https://miro.com/api/v1/scim/Users/3074457345619734493" } } ] }
Your immediate attention to this issue is appreciated.
Thanks,
Sahana
09/20/2024 12:25 PM
Config "idPath":"members.value", is already exists Does mapping is not working ?
If yes share logs