How to allow a third-party application access in Google Workspace.


Error 400: admin_policy_enforced

You may run into Error 400: admin_policy_enforced when signing in with the CubeBackup Service Account Generator using Google accounts. This can be related to restrictions on Google Cloud Platform access or third-party access in your Google Workspace. You can choose to manually create the CubeBackup service account in Google Cloud Platform, or follow the instructions below to add the CubeBackup Service Account Generator to your trusted app list.

Error 400: admin_policy_enforced

Manage CubeBackup Service Account Generator on your allowlist

  1. Sign in to the Google Admin Console using an administrator account.

  2. From the main menu in the top-left corner, select Security > Access and data control > API controls.

  3. Click MANAGE THIRD-PARTY APP ACCESS in the App access control section.

  4. On the App Access Control page, click Add app > OAuth App Name Or Client ID.

    add an App in App Access Control

  5. On the Configure an OAuth app page, search for the OAuth app name CubeBackup Service Account Generator. You can also copy and paste the following client ID for the CubeBackup Service Account Generator and search for that directly.

    245460226182-qmvicortr8j8ol2qri0kkb6pik8odipb.apps.googleusercontent.com

    Then click Select on the result.

    Search for CubeBackup Service Account Generator

  6. Follow the prompt to tick the checkbox for the OAuth Client ID of the CubeBackup Service Account Generator, then click SELECT.

    Configure OAuth client ID

  7. Configure the user access Scope, then click CONTINUE.

    Configure access scopes

  8. Select Trusted and click CONTINUE.

    Select Trusted for CubeBackup Service Account Generator

  9. Finally, review all the information and click FINISH.

    Review and Finish

  10. Now you return to the CubeBackup Service Account Generator to create a service account. After successfully completing this step, you may, if you wish, remove the CubeBackup Service Account Generator from the allow list for the Google Workspace.