# Error 400: admin_policy_enforced

> **Note:** You may encounter an authorization error when connecting your Google account as a data source. This guide will help you understand the cause of this error and provide step-by-step instructions to resolve it, ensuring you can seamlessly integrate your Google data with our analytics tools.

## Error

When attempting to connect your Google account to PMA's Google connectors (such as Google Ads, Google Analytics 4, Google Business Profile, Google Search Console, or YouTube Analytics), you may encounter one of these error messages:

- **"Error 400: admin\_policy\_enforced"**
- **"Account restricted"**
- **"Access blocked: Authorization Error"**

## Cause

This error occurs because your Google Workspace administrator has set policies that prevent PMA from accessing the required permission scopes.

## Solution

To resolve this issue, your Google Workspace administrator needs to adjust the access settings for the Power My Analytics app. Here's a step-by-step guide for your administrator to follow:

1. Access the Google Workspace Admin console.
2. Navigate to: Security > Access and data control > API controls.
3. In the "API controls" section, find "App access control" and click "Manage Third-Party App Access."
4. Under "Configured apps," click "Add app," then select "OAuth App Name or Client ID."
5. Search for the Power My Analytics client ID `606653648723-k566fvtsbo079dgdtctekhuih0eiccnn.apps.googleusercontent.com`, then click "Select."
6. Check the box for the client ID and click "Select" again.
7. Choose "Trusted," then click "Configure" to apply the new settings.

Once your Google Workspace administrator has made these changes, return to your Power My Analytics Hub and reconnect your Google account as a data source.

> **Note:** Using the Power My Analytics add-on for Google Sheets? If your organization allows only approved Google Workspace Marketplace apps, your administrator also needs to allow the add-on in the Marketplace. See [Error: Authorization Is Required to Perform That Action](https://knowledge.powermyanalytics.com/application/troubleshooting/error-authorization-is-required-to-perform-that-action/#ask-your-google-workspace-administrator-to-allow-power-my-analytics).
