Click HERE to see how Saviynt Intelligence is transforming the industry. |
04/12/2022 01:18 PM
Hi,
We are trying to build an Azure REST connector to import the accounts, groups and their mappings. We do not want to make use of the OOTB Azure connector as we need to filter out certain AAD groups.
We were successful in importing a test account and a group, but the account - group association is missing.
Can someone provide a sample working json for the Azure AD acctEntParams part.
Solved! Go to Solution.
04/12/2022 02:55 PM
Jesvin,
Pls try the following.
"acctEntParams": {
"entTypes": {
"AADGroup": {
"call": {
"call1": {
"processingType": "httpEntToAcct",
"connection": "userAuth",
"listField": "value",
"acctKeyField": "accountID",
"entKeyField": "entitlementID",
"acctIdPath": "id",
"http": {
"url": "https://graph.microsoft.com/v1.0/groups/${id}/members/microsoft.graph.user",
"httpMethod": "GET",
"httpContentType": "application/json",
"httpHeaders": {
"Authorization": "${access_token}"
}
},
"pagination": {
"nextUrl": {"nextUrlPath": "${(response?.completeResponseMap?.get('@odata.nextLink')==null)? null : response?.completeResponseMap?.get('@odata.nextLink')}"}
}
}
}
}
}
}
Regards,
Avinash Chhetri
04/12/2022 02:55 PM
Thanks Avinash. This worked.
Is there a way to do incremental account import using the REST connector.?
We keep getting the below error when the account import runs for more than an hour :
Message-{"error":{"code":"Authentication_ExpiredTo
ken","message":"Your access token has expired.
Please renew it before submitting the
request.
Is this something that you have seen before.? How do we overcome the token expiry issue.?