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

Need pointers in ImportAccountEntJSON

prajakta
New Contributor III
New Contributor III

Hi,

We have a requirement of pulling only accounts of odd 100 groups Saviynt. The REST API supported by application returns groups and their membership in below format. The users API will end up in returning all application accounts which ~25k however the requirement is only pulling the defined  group members. Is it feasible requirement to achieve in ImportAccountEntJSON configuration? 

{
"groups": [
{
"groupName": "Group1",
"displayName": "Group1",
"members": [
{
"userid": "user1",
"emailId": "user1@company.com"
},
{
"userid": "user2",
"emailId": "user2@company.com"
}
]
},
{
"groupName": "Group2",
"displayName": "Group2",
"members": [
{
"userid": "user3",
"emailId": "user3@company.com"
}
]
}
]
}

5 REPLIES 5

adarshk
Saviynt Employee
Saviynt Employee

Are you able to achieve this in Postman? 

If yes, please share the postman call and response. 

Hi Adarsh,

Will send you the response.

Regards,

Hi @Akankshahanda , @prajakta ,

Use the below API to filter the group membership in graph API

https://graph.microsoft.com/v1.0/groups/{group_id}/members/microsoft.graph.user?$count=true&$orderby=displayName&$search="displayName:Naveen"

Replace the {group_id} with the actual id of the group. Refer to below documentation from Microsoft for more info. 

https://learn.microsoft.com/en-us/graph/api/group-list-members?view=graph-rest-1.0&tabs=http

 

Regards,
Naveen Sakleshpur
If this reply answered your question, please click the Accept As Solution button to help future users who may have a similar problem.

prajakta
New Contributor III
New Contributor III

Hi Naveen,

We dont want to hardcode group name as there are 700+ groups.  Is there is alternative approach to reference members of each group

Thanks,

Prajakta

Hi @prajakta 

In case of bulk users, I would recommend you to identify an attribute to filter out the groups into Saviynt. 

 

Regards,
Naveen Sakleshpur
If this reply answered your question, please click the Accept As Solution button to help future users who may have a similar problem.