Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

ImportAccountEntJSON of Azure AD rest connection is not importing group members

Gaurav29
New Contributor
New Contributor

We're utilizing ImportAccountEntJSON for the Azure AD Rest connection to bring in Azure AD group members. However, it's not transferring the group members to Saviynt. Do we need to adjust any settings or modify the provided JSON?

Please find the below JSON: 

"acctEntParams": {
"connection": "userAuth",
"processingType": "SequentialAndIterative",
"entTypes": {
"AADGroup": {
"call": {
"call2": {
"callOrder": 0,
"stageNumber": 0,
"processingType": "httpEntToAcct",
"http": {
"url": "https://graph.microsoft.com/beta/groups/${id}/members",
"httpHeaders": {
"Authorization": "${access_token}",
"Accept": "application/json",
"ConsistencyLevel": "eventual"
},
"httpContentType": "application/json",
"httpMethod": "GET"
},
"listField": "value",
"entKeyField": "entitlementID",
"acctIdPath": "id",
"acctKeyField": "accountID",
"pagination": {
"nextUrl": {
"nextUrlPath": "${(response?.completeResponseMap?.get('@odata.nextLink')==null)? null : response?.completeResponseMap?.get('@odata.nextLink')}"
}
}
}
}
}
}
}

I tried the below URLs as well: 

https://graph.microsoft.com/beta/groups/${id}/members

https://graph.microsoft.com/v1.0/groups/${id}/members/microsoft.graph.user

https://graph.microsoft.com/beta/groups/${id}/members/microsoft.graph.user

https://graph.microsoft.com/beta/groups/${id}/members

Can you please help here to solve this issue? 

 

Thanks,

Gaurav

 

5 REPLIES 5

NM
Regular Contributor III
Regular Contributor III

Hi @Gaurav29, do you see response API response in logs?

1)Try changing "call2" to "call1"

2) acctIDpath value right? I don't remember correctly but I have used principalID for azureAD account in of the API call

Gaurav29
New Contributor
New Contributor

Hi @NM,

Thank you for your response.

I attempted both options, but unfortunately, neither of them resolved the issue. Additionally, there are no errors reported in the import job logs.

Thanks

Gaurav

rushikeshvartak
All-Star
All-Star

Refer https://forums.saviynt.com/t5/identity-governance/azure-rest-connection-giving-error-error-error-ill...


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

Hi @rushikeshvartak ,

Thank you for your reply. 

I tried updating the Url to '${entitlementID}' and '${entitlementValue.entitlementID}' but unfortunately, neither of them resolved the issue. Additionally, there are no errors reported in the import job logs.

Thanks

Gaurav

Please share logs


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