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.
In a browser, navigate to https://portal.azure.com, then go to Azure Active Directory > App registrations.
On the right-hand side, select the app you are using in PeopleSync.
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