User Problem
Organisation administrators would like to create scripts that add specific product access or permissions to users. The Add user to group request on the Organisation Rest API requires the Atlassian Account ID, which can't be retrieved if the users can't access any products.
Suggested Solutions
Create an API that would return the Atlassian Account ID of a user based on their email address, irrespective of the user's product access.
Org Admins can retrieve this information from the UI by searching in the user's view, but no corresponding API exists.
Current Workarounds
It will be added when a workaround is found.
If you have SCIM configured, there is a Get Users API that supports filtering by userName. Param = filter, value = userName eq "first.last@example.com"
https://developer.atlassian.com/cloud/admin/user-provisioning/rest/api-group-users/#api-scim-directory-directoryid-users-get