Using the get specified group api to get users within it but in all groups getting members field as empty array

I am using the Orchestrator - Get Specific Group endpoint to fetch the users within a group but in every group i am getting members field as empty array which i supposed would be the users info inside that group.There are users in these groups but i am getting it as empty array.

@Varun_Sharma1

Please refer below thread

Regards
Sonali

1 Like

Hi @Varun_Sharma1

use the HTTP Request activity to call the GET /groups/{id}/users API with proper authentication to get the users of a group. Parse the JSON response to access user details.
If you found helpful please mark as a solution. Thanks
Happy Automation with UiPath

Can you give the complete api endpoint like do i need to include the tenant or just till the organization name in the remaining url?

Hi @Varun_Sharma1

Use this endpoint in the HTTP Request activity like this

https://cloud.uipath.com/organizationName/tenantName/identity_/api/Groups/groupId/users

Replace organizationName, tenantName, and groupId with actual values. Ensure the Authorization header contains the Bearer token.

If you found helpful please mark as a solution. Thanks
Happy Automation with UiPath