OAuth Authentication Failure - Tenant not found

 Problem

An agent using an app registration for OAuth fails with the following error message:

Exception occurred in Exchange Folder Agent:
AADSTS90002: Tenant '<GUID>' not found. Check to make sure you have the correct tenant ID and are signing into the correct cloud. Check with your subscription administrator, this may happen if there are no active subscriptions for the tenant.

 Solution

The client secret configured in the agent’s app registration does not match the client secret in Azure Portal.

  1. In a browser, navigate to https://portal.azure.com, then go to Azure Active Directory > App registrations.

  2. On the right-hand side, select the app you are using in PeopleSync.

  3. In the overview screen, verify that the tenant id and application (client) ID displayed are used in the app registration in PeopleSync Console.

 Related articles

© 2010-2024 messageconcept GmbH / messageconcept software GmbH
Legal Notice / Imprint