How to configure Office 365 in mail server settings?

This document will explain you the steps involved in configuring Office 365 in Mail Server Settings.

  • OAuth Authentication
  • Basic Authentication
    • Login to Central server and click Admin tab-> UEM tab -> on the web console. 

    • Under Server Settings, click Mail Server Settings

    • Server Name : smtp.office365.com

    • Port : 587

    • Sender Email Address: Any email address with an independent mailbox (not a shared one)

    • Test Email Address: Any Email Address

    • Email Type: SMTP

    • Enable TLS: Yes

    • Navigate to this link

    • Login using your microsoft credentials and navigate to App Registrations and click on New registration.

    • Enter the name and choose the supported account type.

    • Obtain the redirect URL from the Central server by navigating to Mail Server Settings -> OAuth -> Authorization Server Settings->Redirect URL.[Note: Authorization URL, Token URL and scope are automatically filled in based on the server name.]

    •  

     

    • Choose the type of platform and paste the Redirect URL.

    •  

     

    • Click Register

    • You have successfully obtained the Client ID.

    •  

     

    • To create a Client secret, Navigate to Certificates and Secrets and click on New client secret.

    •  

     

    • Enter description and expiry period for secret and click Add to obtain client secret.

    • Enter Client ID and Client Secret in Central server console and click Save

    • You have successfully configured OAuth Authentication for mail server settings. 

    •  
 

Basic Authentication

  1. Click Admin tab -> UEM tab on the web console
  2. Under Server Settings, click Mail Server Settings
  3. Specify the following information:
    1. Server Name : smtp.office365.com
    2. Port : 587
    3. Sender Email Address: Any email address with an independent mailbox (not a shared one)
    4. Test Email Address: Any Email Address
    5. Email Type: SMTP
    6. Enable TLS: Yes
    7. Username: Any email address of the user with Send on Behalf permission
    8. Password: Specify your password

You have successfully configured Office 365 in the Mail Server Settings.