Activesync Issues Exchange 2016

Vitalii Mishchenko 25 Reputation points
2023-07-05T16:17:29.6233333+00:00

Hi guys.

I have Exchange Server 2016, with ActiveSync enabled.

Through Outlook on PC and through OWA, everything works perfectly.

If I go into my account via outlook app on android, it syncs the emails, there are all incoming and they come in, but I can't send the email, it comes back with an error:

"EasSendFailedPermanentException: An EAS Send command failed: The EAS command failed with Status MailSubmissionFailed, Code ='120' and HttpStatus OK. --> The EAS command failed with Status MailSubmissionFailed, Code ='120' and HttpStatus OK. Failure code: da97".

Who can help with the problem?

Exchange Server
Exchange Server
A family of Microsoft client/server messaging and collaboration software.
1,350 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,686 questions
0 comments No comments
{count} votes

Accepted answer
  1. Konstantinos Passadis 19,251 Reputation points MVP
    2023-07-06T11:58:14.23+00:00

    Hello @Vitalii Mishchenko !

    Please check this : ------->

    User principal name check

    Most Exchange ActiveSync devices request the email address and password to set up the device. This combination only works when the user principal name value matches the email address for the user. Verify these two attributes have the same value. To do this, follow these steps:

    Open the Exchange Management Shell.

    1. Run the following cmdlet to retrieve the attribute values:

    PowerShellCopy

    Get-Mailbox user | fl UserPrincipalName,PrimarySmtpAddress
    

    Screenshot shows an example of running the Get-Mailbox cmdlet.

    Does the UserPrincipalName match the PrimarySmtpAddress for the user?

    Domain suffix check

    Verify that the appropriate domain suffix is available for the UserPrincipalName attribute. To do this, follow these steps:

    Open Active Directory Users and Computers.

    Locate the user object and double-click to view the properties.

    Go to the Account tab and select the drop-down list for the User logon name.

    Screenshot of the drop-down list for the User logon name section under the Account tab.

    Is the SMTP address domain listed in drop-down?

    Add UPN suffix; Modify the User Principal Name

    Add UPN suffix

    To resolve this issue, you will need to add the primary SMTP address domain to the UPN suffix list. To do this, follow these steps:

    Open Active Directory Domains and Trusts.

    Right-click on Active Directory Domains and Trusts and select Properties.

    Enter the primary SMTP address domain and select Add and then select OK.

    Screenshot of the U P N Suffixes tab in the Active Directory Domains and Trusts window.

    Modify User Principal Name

    To resolve this issue, modify the UserPrincipalName attribute for the user. To do this, follow these steps:

    Open the Exchange Management Shell.

    1. Run the following cmdlet to modify the UserPrincipalName:

    PowerShellCopy

    Set-Mailbox user -UserPrincipalName user@fabrikam.com
    

    Did modifying the UserPrincipalName resolve the issue?

    • If yes, congratulations, your ActiveSync issue is resolved.
    • If no, see Policy error.

    Modify the User Principal Name

    To resolve this issue, modify the UserPrincipalName attribute for the user. To do this, follow these steps:

    Open the Exchange Management Shell.

    1. Run the following cmdlet to modify the UserPrincipalName:

    PowerShellCopy

    Set-Mailbox user -UserPrincipalName user@fabrikam.com
    

    Did modifying the UserPrincipalName resolve the issue?

    • If yes, congratulations, your ActiveSync issue is resolved.
    • If no, see Policy error.

    Policy error

    Exchange ActiveSync includes the use of ActiveSync mailbox policies. The available device settings are dependent on each device and not all settings work with all devices. To determine if the ActiveSync mailbox policy is an issue, create a new ActiveSync mailbox policy and assign it to the user. To do this, follow these steps:

    Open the Exchange Management Shell.

    1. Run the following cmdlet to create a new ActiveSync mailbox policy:

    PowerShellCopy

    New-ActiveSyncMailboxPolicy -Name "Test ActiveSync Policy"
    
    1. Run the following cmdlet to assign this new policy to the mailbox:

    PowerShellCopy

    Set-CASMailbox user -ActiveSyncMailboxPolicy "Test ActiveSync Policy"
    
    
    
    
    

    I hope this helps!

    Kindly mark the answer as Accepted and Upvote in case it helped!

    Regards

    1 person found this answer helpful.

3 additional answers

Sort by: Most helpful
  1. Konstantinos Passadis 19,251 Reputation points MVP
    2023-07-05T16:24:49.07+00:00

    Hello

    Welcome to Microsoft QnA!

    First please try the Poweshell

    Test-ActiveSyncConnectivity

    https://learn.microsoft.com/en-us/powershell/module/exchange/test-activesyncconnectivity?view=exchange-ps

    If everything checks out then

    Try another Device

    Update the App

    Apply all latest Updates to the Exchange Servers

    Research this link

    https://support.microsoft.com/en-us/topic/current-issues-with-microsoft-exchange-activesync-and-third-party-devices-53a1ffbe-504c-a424-012a-cb4456e94ba9

    It has a lot of details , scroll down there is a mention

    Issue 2.12 - Android device cannot synchronize with Exchange

    After the ActiveSync profile is configured, the device receives new items for an undetermined time and then stops updating.

    Cause

    The ActiveSync mailbox policy has a refresh policy defined. The device receives a response with status 143 - Error:PolicyRefresh. The device does not send a provision command as needed.

    IIS log example:

    Cmd=Sync&User=contoso%5Ce15&DeviceId=android1362622918557&DeviceType=Android&Log=PrxFrom:10.0.1.151_
    V141_HH:mail.contoso.com_SmtpAdrs:e15%40contoso.com_NMS1_Fet78_TmTr:TID%3a18%3e%3e%5bID%3aH%5FEPR%2c
    Start%3a2%3a40%3a30+PM%2cEnd%3a2%3a40%3a30+PM%2cExcl%3a0+ms%2cChild%3a%5bNONE%5d%2c%5dTID%3a50%3e%3e
    %5bID%3aH%5FBPR%2cStart%3a2%3a40%3a30+PM%2cEnd%3a2%3a40%3a30+PM%2cExcl%3a15+ms%2cChild%3a%5bID%3aH%5
    FRMBP%2cStart%3a2%3a40%3a30+PM%2cEnd%3a2%3a40%3a30+PM%2cExcl%3a0+ms%2cChild%3a%5bNONE%5d%2c%5d%2c%5d
    _Pk3609689902_DevOS:Android+4.1.2_S143_Error:PolicyRefresh_As:AllowedG_Mbx:CLT-E15-MBX1.contoso.local
    _Throttle0 
    

    Solution

    Set the refresh interval for the ActiveSync mailbox policy to Unlimited.

    Send us your feedback and more details like what Device is this , Android , iOS , etc

    Any recent changes in your config ?

    Do you have Hybrid Exchange ?


    I hope this helps!

    Kindly mark the answer as Accepted and Upvote in case it helped!

    Regards


  2. Azaz Naeem 0 Reputation points
    2024-07-11T08:50:00.58+00:00

    Not Solved the proble,

    0 comments No comments

  3. Azaz Naeem 0 Reputation points
    2024-07-11T08:50:37.2833333+00:00

    still persisting the same problem

    0 comments No comments

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.