Error: Cannot connect to <endpoint> (Access denied)

​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).


  • ​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.
  • M​​ake 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.
Was this article helpful?
1 out of 1 found this helpful