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.
1 Like
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?
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