Need some help with OAuth setup Exchange 2019 Hybrid

Caspar - ABO 271 Reputation points
2024-12-24T12:51:28.8533333+00:00

I'm in the process of setting up a functioning Hybrid Minimal setup between a single Exchange 2019 server and a M365 tenant. The customer uses Exchange on-premise and wishes to keep it that way. Some of their users are synced to the M365 tenant using the Entra Connect tool. These users want to use OneDrive and Teams. They can login with their UPN and passwords are synced correctly. They want the calendar function to work in Teams, at the moment that function doesn't work.

I ran the Hybrid Configuration Wizard, minimal setup, and now it has finally completed succesfully without errors. On previous tries it threw an error regarding MRSProxy that has now been fixed manually and then tested. After running the wizard again all steps now completed without error.

Problem is the wizard did not do anything with OAuth it seems and i'm not sure if this wizard is supposed to handle that automatically. When i run the Teams Exchange Integration test from Microsofts website it fails due to possible OAuth settings being incorrect or missing.

1 "Verifying if the user's mailbox is discoverable by the Teams service.

The user's mailbox is not discoverable by the Teams service. Please ask your administrators to verify the user has a mailbox and to confirm the connectivity between Teams and Exchange."

2 "Testing the Exchange API endpoint.

The Exchange API endpoint request was not successful.

Additional Details

The Bearer response header did not contain the expected trusted issuer 00000001-0000-0000-c000-000000000000@<tenant GUID>. Please check that your on-premises environment meets the minimum requirements for OAuth authentication and try running the latest version of the Hybrid Configuration Wizard again. You may also inspect the OAuth configuration yourself by using the Get-AuthServer cmdlet in the on-premises Exchange Management Shell."

When i run the command Get-AuthServer i get no result at all. Nothing. I believe this is the reason the Teams integration might not be working.

Does anyone know what to do next exactly as guides online all seem different. I don't know the impact of me messing with these settings. It confuses me so much I'm a little stuck

Exchange Server
Exchange Server
A family of Microsoft client/server messaging and collaboration software.
1,384 questions
Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,725 questions
Microsoft Exchange
Microsoft Exchange
Microsoft messaging and collaboration software.
604 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.