Overview
The "Error 400: admin_policy_enforced" error occurs when Google Admin policies restrict Guardz from accessing the necessary permissions. Follow these steps to resolve it:
Steps
Log in to the Google Admin Console: Visit https://admin.google.com and sign in as an administrator.
Go to API Controls: Navigate to 'Security > Access and data control > API controls.'
Manage Third-Party App Access: Within 'API controls,' select 'MANAGE THIRD-PARTY APP ACCESS.'
Add Guardz Client ID: Click on the 'Add app' dropdown, select 'OAuth App Name Or Client ID,' and enter the Client ID:
โ223950200780-7g4b4rcltj4m28thovgg9fb7b4aeevmd.apps.googleusercontent.com
Then, click 'Search.'Set Permissions: When the Guardz app appears, select it, check the 'OAuth Client ID' checkbox, and click 'SELECT.'
Under 'Scope,' choose your organization's 'all users' (or the relevant org units) and click on 'CONTINUE.'
Select 'Trusted' and click on 'CONTINUE' again.Save Changes: Review the settings and click on "FINISH."