Troubleshooting Graph API connectivity

This article covers the most common errors related to Graph API connectivity. 

Code: Authorization_RequestDenied Message: Insufficient privileges to complete the operation.

CodeTwo Office 365 Migration doesn't have the necessary permissions to perform that operation. Make sure to follow these steps in order to grant all the required permissions in your Azure AD.

The wrong application (public or confidential) is being used with this authentication flow.

You will get this error if you enter an incorrect Certificate thumbprint / Client secret (app password) in the Application details step, if that certificate / client secret no longer exists in your Azure AD, or if it has expired.

AADSTS700016: Application with identifier '<Client ID>' was not found in the directory '<Tenant ID>'.

This error occurs if:

  • CodeTwo Office 365 Migration has been deleted from your Azure AD. If so, make sure to register it again (automatically or manually),
  • you have provided incorrect Client ID and/or Tenant ID in the Application details step of the server connection wizard. Make sure that you have provided correct registration details and try again.
  • the application has just been registered, but not all changes have been propagated in your Azure AD. Wait awhile and try configuring the connection again (in the server configuration wizard, click Back, then Next to return to the Configuration step and click Configure).

Was this information useful?