- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
04-08-2025 01:36 PM
I am getting the bearer token using the <tenantid>.my.idaptive.app/oauth2/token/<appid> url. When I attempt to get policies url for SCA I receive the `Human entities not allowed to use public api` error. We are using a service account.
I have found this doc but the url in it does not work with the tenant id. Unable to https://docs.cyberark.com/sca/latest/en/content/automation/sca-api-authentication.htm
Are there any issues with using a legacy tenant and SCA when accessing the APIs?
Also, I am not a CyberArk admin. I am working with our CyberArk team to deploy SCA. They have opened a ticket with CyberArk and I am here to check if its something anyone else has ran into.
04-09-2025 12:41 PM
Can you confirm that there is a custom OAuth2 Server configured to serve the tokens? You can details on the setup at CyberArk Docs.
If so, check the scope of the tokens in the OAuth2 Server to ensure SCA APIs are authorized (scope of 'full' or 'sca').
Also confirm the permissions of the OAuth2 Server to an SCA API Role that grants access to public API (CS Admin, SCAApiFullAccess, etc.).
04-29-2025 03:29 AM
Hello @Jacob Day
Have you received an answer to your question? If so, we kindly encourage you to share it with us.
Your insights could be valuable to other community members in the future.
Thank you, Liad.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!

