We encountered this error while authenticating via our G-Suite for a www.DialPad.com installation - The solution follows…
The error message « Error 400 : admin_policy_enforced » is caused by changes in permissions that haven’t been accepted. This error appears when trying to sign in DialPad.com or other G-Suite authenticated apps, while these permissions are out of sync.
Solving Google Authorization Error 400: admin_policy_enforced
Login as the G-Suite Admin and goto:
Apps / Additional Google services / Settings for Web and App Activity
By default this option is off for everyone, Turn on
If the above does not work… (while logged in as a GSuite Admin)
Security / API Controls / App Access Control / Dialpad
Find Dialpad for IOS - option for Trusted
Find Dialpad for web application - option Allow Access to All google apps vs Limited
Added information and resources to resolve:
I found some helpful articles from Google:
You may need to reach out to your IT team in order to accomplish the steps in the link above.
Below is a Google article that covers permissions. A Google Admin will need to lift the restrictions for the Dialpad App. Below is an article that covers this information: