Table of contents.
Issue
While authorizing the RH application, the error below occurs.
Potential Cause
The error message "400 admin_policy_enforced" means that the G Suite administrator's configuration restricts access to third-party apps to Google Workspace data.
Step-by-Step Solution
Login to your GSuite Admin portal.
Navigate to Security > Access and data control > API controls. On the API controls page, click on Manage Third-party App Access.
βClick on Add App and then select OAuth App Name Or Client ID.
Type or copy and paste the following Client ID in the search bar and click Search
Check the tick box of OAuth Client ID to select all the permissions.
βIn the Scope section, highlight your Domain. Do not select an organizational unit (OU).
Mark the Access as Trusted.
Click Continue and Submit it.
β
β