Click HERE to see how Saviynt Intelligence is transforming the industry. |
11/05/2024 03:51 AM
Hi,
I am trying to import a few AAD Groups using the REST Connector. I have used the filter display name to get one of them(https://graph.microsoft.com/v1.0/groups?$filter=displayName eq 'XXX').
Is there Possible way to get multiple groups in a single call?
If yes, please provide a solution
Solved! Go to Solution.
11/05/2024 04:23 AM
Hi,
Exactly which groups you want to import? Is there any criteria you have?
11/05/2024 04:39 AM - edited 11/05/2024 04:40 AM
https://graph.microsoft.com/v1.0/groups?$filter=displayName eq 'Group1' or displayName eq 'Group2' or displayName eq 'Group3'
Filter Groups by Common Prefix
https://graph.microsoft.com/v1.0/groups?$filter=startswith(displayName, 'Team')
Filter Groups Containing a Substring
https://graph.microsoft.com/v1.0/groups?$filter=contains(displayName, 'Project')
Complex Patterns Using and / or Conditions
https://graph.microsoft.com/v1.0/groups?$filter=startswith(displayName, 'Team') or contains(displayName, 'Project')
11/05/2024 06:51 AM
Thank you, Its working!