Mac Teams client not able to connect to Calendar - Exchange On-Premise

Mike Prager 1 Reputation point
2025-01-06T23:44:25.3366667+00:00

Hi,

We have Exchange On-Premise and 6 employees on Windows and one on Mac OS. We have been using Teams with no issues for years. Recently, the Mac user cannot connect to their calendar in Teams. All the Windows users have no issues. When I run the remote Connectivity Analyzer on their machine, it fails at "Verifying if the users mailbox is discoverable by the Teams Service" and I get this.

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. Error Message: Could not fetch user exchange mailbox endpoint using AutoDV2. Error details: Failed to execute AutoDiscover request. Exception: Unexpected character encountered while parsing value: <. Path '', line 0, position 0.Unexpected character encountered while parsing value: <. Path '', line 0, position 0.

If I try this on my machine with his credentials, it works fine.

On his machine, If I browse to https://fqdn/EWS/Exchange.asmx I can enter his credentials and get back the "Service" page which I originally thought was the issue.

I have looked at the IIS logs on Exchange and and event log but I can't see anything that would indicate any issue.

Any ideas as I've run out of them?

Thanks in advance

Mike

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,637 questions
Office Mac
Office Mac
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Mac: A family of Apple personal computers that run the macOS operating system.
521 questions
Microsoft Exchange
Microsoft Exchange
Microsoft messaging and collaboration software.
621 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Jake Zhang-MSFT 8,010 Reputation points Microsoft Vendor
    2025-01-07T02:02:04.27+00:00

    Hi @Mike Prager ,

    Welcome to the Microsoft Q&A platform!

    Based on your problem description, you can try the following steps to resolve the issue:

    1. Make sure the Autodiscover service is correctly configured and accessible from your Mac. The error message indicates that there is a problem parsing the Autodiscover response, which may be caused by incorrect configuration or malformed response format.
    2. On your Mac, try clearing the Teams cache. You can do this by exiting Teams and then deleting the contents of the following folders:

    ~/Library/Application Support/Microsoft/Teams

    ~/Library/Caches/com.microsoft.teams

    ~/Library/Cookies/com.microsoft.teams.binarycookies

    ~/Library/Preferences/com.microsoft.teams.plist

    1. Verify that the DNS settings on your Mac correctly resolve the AutoDiscover service. Incorrect DNS settings can cause service discovery issues.
    2. Make sure there are no firewall or proxy settings on your Mac that may block AutoDiscover requests.
    3. As a temporary workaround, you can try manually configuring the Exchange Web Services (EWS) URL in Teams. This can sometimes bypass AutoDiscover issues.
    4. If you are in a hybrid Exchange environment, ensure that the hybrid configuration is set up correctly and that OAuth authentication is configured correctly.

    If these steps do not resolve the issue, it may be helpful to capture the network traffic on the Mac using a tool such as Wireshark to see if there are any anomalies in the AutoDiscover response.


    Please feel free to contact me for any updates. And if this helps, don't forget to mark it as an answer.

    Best,

    Jake Zhang


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.