Problems with ActiveSync

Михаил Андросов 456 Reputation points
2022-03-10T17:24:59.213+00:00

Suddenly there was a problem with the ActiveSync connection. Exchange Server 2013 is used.
When trying to set up an account on the mobile version of Outlook, an error occurs:
The connection time to your mail server has expired. Check your email settings.
Attempt to connect at https://mail.ffm.com/Microsoft-Server-ActiveSync leads to an error:
Server Error in '/Microsoft-Server-ActiveSync' Application.
DeviceIdMissingOrInvalid:''
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: Microsoft.Exchange.AirSync.AirSyncPermanentException: DeviceIdMissingOrInvalid:''

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[AirSyncPermanentException: DeviceIdMissingOrInvalid:'' ]
Microsoft.Exchange.AirSync.AirSyncRequest.BuildDeviceIdentity() +1942
Microsoft.Exchange.AirSync.AirSyncRequest.Microsoft.Exchange.AirSync.IAirSyncRequest.get_DeviceIdentity() +23
Microsoft.Exchange.AirSyncHandler.Handler.AddRequestToCache(Guid requestId) +136
Microsoft.Exchange.AirSyncHandler.Handler.EndProcessRequest(IAsyncResult result) +1396
System.Web.CallHandlerExecutionStep.InvokeEndHandler(IAsyncResult ar) +212
System.Web.CallHandlerExecutionStep.OnAsyncHandlerCompletion(IAsyncResult ar) +166
Everything worked until today. No changes were made on the mail servers. The connection goes fine via the web interface. Desktop versions of Outlook continue to work.
Maybe who knows what the reason might be?

Exchange | Exchange Server | Management
Exchange | Exchange Server | Management
The administration and maintenance of Microsoft Exchange Server to ensure secure, reliable, and efficient email and collaboration services across an organization.
{count} votes

Answer accepted by question author
  1. Andy David - MVP 159.7K Reputation points MVP Volunteer Moderator
    2022-03-11T11:54:44.367+00:00
    1 person found this answer helpful.
    0 comments No comments

4 additional answers

Sort by: Most helpful
  1. Andy David - MVP 159.7K Reputation points MVP Volunteer Moderator
    2022-03-10T18:49:51.067+00:00
    0 comments No comments

  2. Михаил Андросов 456 Reputation points
    2022-03-10T20:56:08.07+00:00

    Thanks for the answer.
    I implemented the steps from the above article, but it didn't help.

    0 comments No comments

  3. Михаил Андросов 456 Reputation points
    2022-03-11T06:00:46.927+00:00

    On the iphone, the regular mail client connects to the server in exchange mode. Only mobile Outlook has problems. Desktop Outlook, web access to mail work without problems.

    0 comments No comments

  4. Михаил Андросов 456 Reputation points
    2022-03-11T07:17:41.417+00:00

    Our company has introduced a strict firewall setting that allows access to mail only from certain IP addresses. Can mobile Outlook proxy requests through external sites, which ultimately leads to such a problem?

    0 comments No comments

Your answer

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