Cannot connect to <Google endpoint> (Access denied).
We tried to connect to the given Google API scope, but Google replied with "Access denied".
The two possible reasons for this are:
- The administrative authentication setup has not been completed.
- The account you are trying to migrate does not have the related service enabled (e.g., the calendar application is disabled).
Resolution:
- Make sure your administrative OAuth 2.0 authentication setup is correct by following the instructions in the article Enable access to G Suite using OAuth 2.0.
- Make sure that the user you are migrating has the related service enabled. For example, if we cannot authenticate the calendar API, make sure that Google calendar is enabled for this user.