How to get the partitionGlobalId in API Query in Automation Cloud?
To use API to realize user and group management in Automation Cloud, parameter partitionGlobalId is not found in the request body.
The definition of partitionGlobalId is 'The ID of the organization you want to retrieve the robot accounts for.' And on getting it through admin--tenants--orchestrator--API access--Organization ID, this one failed when trying to send API request, error message '{"errors":{"partitionGlobalId":["The value 'DatacomGroup' is not valid."]} '.
Actually, on trying to login to cloud.uipath.com, before the url jumped to https://cloud.uipath.com/tenant/portal_/home, it will display the following url for few seconds https://cloud.uipath.com/tenant/portal_/cloudrpa?organizationId=xxxxxx&ecommerceRedirect=false&isAuth0=true .The organisationID used in the url is the partitionGlobalID.
Another option to get the Partition ID, because the URL might load too fast to catch it,
- Open the developer tool on the browser before logging in, switch to Network tab and turn on the recording
- Log in the browser and select the tenant.
- After the page is loaded on the welcome screen, check the developer tool and copy the Request URL value.
- Paste on a notepad, extract the value and use it on the API call.