Encrypted connection to the server is not available

Андрей Михалевский 3,396 Reputation points
2024-12-13T14:34:44.2333333+00:00

Hi. Windows 11 and Office 2016 pro plus. All the latest updates. Exchange 2016 LAST SU, LAST CU.

1

Client can't connect via mapi. imap works, owa works.

I have not found any information on the code for this error. What can I do ?

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
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Jake Zhang-MSFT 7,850 Reputation points Microsoft Vendor
    2024-12-16T06:46:56.67+00:00

    Hi @Андрей Михалевский,

    Welcome to the Microsoft Q&A platform!

    Based on your description, if your client can't connect to Exchange 2016 using MAPI but can connect using IMAP and OWA, there could be several potential issues. Here are a few steps to help troubleshoot and resolve the problem:

    1. Ensure that MAPI over HTTP is enabled on both the Exchange server and the client side. You can check and enable MAPI over HTTP in Exchange Management Shell with the following command:
    Get-OrganizationConfig | ft MapiHttpEnabled
    

    If it's not enabled, you can enable it using:

    Set-OrganizationConfig -MapiHttpEnabled $true
    
    1. Ensure that your Autodiscover service is properly configured and accessible. You can test Autodiscover by using the Test E-mail AutoConfiguration feature in Outlook.
    • Hold down the Ctrl key, right-click the Outlook icon in the system tray, and select Test E-mail AutoConfiguration.
    • Enter the email address and password and click Test.

    Ensure that the Autodiscover service returns the correct settings, including the MAPI endpoint.

    1. Make sure that your SSL/TLS certificates on the Exchange server are correctly configured and not expired. MAPI over HTTP relies on proper SSL/TLS configuration.
    2. Ensure that your firewall or network settings are not blocking the MAPI/HTTP protocol. Verify that the necessary ports (typically 443 for HTTPS) are open and not being blocked.
    3. Try creating a new Outlook profile to rule out corruption in the existing profile. Sometimes, profile issues can prevent proper MAPI connectivity.
    4. Make sure all the necessary Exchange services are running. You can restart the relevant services related to MAPI connectivity:
    Restart-Service MSExchangeRPC 
    Restart-Service MSExchangeAB
    

    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.