not able to add mailbox to apple mail

Lech DZIERŻAWSKI 41 Reputation points
2026-05-31T19:00:50.23+00:00

I can' add my O365 mailbox [Moderator note: Personally Identifiable Information removed] to Apple Mail.

Error "The operation couldn’t be completed. (com.apple.accounts error 3.)"

Microsoft 365 and Office | Subscription, account, billing | For business | MacOS
0 comments No comments

Answer accepted by question author
Alexis-NG 18,070 Reputation points Microsoft External Staff Moderator
2026-05-31T19:28:49.3766667+00:00

Hi @Lech DZIERŻAWSKI,

Apple Mail on macOS uses Exchange Web Services (EWS) to connect to Microsoft 365 mailboxes. In many organizations, EWS may be disabled at the tenant level, which can prevent account setup from completing successfully.

To resolve this issue, your IT administrator will need to be involved, as the required configuration changes must be performed in the Microsoft 365 Admin Center using administrative privileges.

During initial Microsoft 365 configuration, it is recommended to disable EWS due to its planned deprecation. As a result, it is possible that EWS has been turned off both at the organization level and for individual users. Even if EWS appears enabled for a user under mailbox settings, it can still be disabled at the organization level.

Your administrator can re-enable EWS organization-wide using the following PowerShell command:

Set-OrganizationConfig -EwsEnabled $true

To verify that the setting has been successfully applied:

Get-OrganizationConfig | fl EwsEnabled

The expected result should be:

EwsEnabled : True

After making this change, please allow approximately 15–30 minutes for the update to propagate. Then, restart your Mac and attempt to add the account again.

I hope this provides enough clarity and helps you stay inform with your current situation.

In the meantime, if you see my replies bring helpful information, please kindly accept it as an answer and vote it up by your original account, which raised this question. Once marked, it will automatically pin to top. As other users will also search information in this community, your valuable vote up will definitely also help other users who have similar queries easily to find the correct channel and useful information more quickly.   

 

Thank you for your patience and your understanding. If you have any questions or need further assistance, please feel free to share them in the comments on this post so I can continue to support you.   


Note: Follow the steps in this documentation to enable email notifications if you want to receive email notifications related to this topic.

Was this answer helpful?

2 people found this answer helpful.
0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Lech DZIERŻAWSKI 41 Reputation points
    2026-06-01T06:25:53.5166667+00:00

    problem solved.

    helpful links:

    Baseline mode:

    PowerShell:

    Check the current execution policy

    Run:

    Get-ExecutionPolicy -List

    Temporary fix (current PowerShell session only)

    This is usually the safest option:

    Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
    

    Then try:

    Import-Module ExchangeOnlineManagement
    
    

    Permanent fix for your user account

    If the temporary fix works, set the policy for your user profile:

    Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy RemoteSigned
    

    Answer Y when prompted.

    Then reopen PowerShell and run:

    Import-Module ExchangeOnlineManagement
    

    If you’re in a corporate environment

    Many organizations enforce execution policies through Group Policy. If you get an error like:

    Windows PowerShell updated your execution policy successfully, but the setting is overridden by a policy defined at a more specific scope.
    

    then check:

    Get-ExecutionPolicy -List
    

    and look for MachinePolicy or UserPolicy values. If either is defined, you’ll need your IT administrator to change the policy.

    After the module loads

    You can connect to Exchange Online with:

    Connect-ExchangeOnline -UserPrincipalName ******@yourdomain.com
    
    

    Enable EWS at the tenant level

    To enable EWS at the tenant level in Exchange Online, use Exchange Online PowerShell.

    Set-OrganizationConfig -EwsEnabled $true
    
    

    Verify that EWS is enabled:

    Get-OrganizationConfig | Select EwsEnabled
    

    If the output is

    true
    

    EWS is enabled, but you must wait a few hours to add your mailbox to Apple Mail client.

    Was this answer helpful?


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.