O365 Configuration

Created by Alfie Jennings, Modified on Mon, 25 Nov at 4:22 PM by Alfie Jennings

O365 Configuration


There are two points for configuration which will need to be undertaken by your MS Entra administrator: -

 

  1. An O365 account is required to send and receive emails, this needs to be a full user in within an O365 tenant, not a shared mailbox.  
    1. From O365, Admin> User > Mail > Manage email apps.  Enable ‘Authenticated SMTP’.



A screenshot of a computer

Description automatically generated


         b. Multi Factor Authentication (MFA) for this account must not be enforced but can be enabled or disabled.


From O365, Admin> User > Account.  Should be set to Enabled not Enforced.



A red arrow pointing to a white background

Description automatically generated



            2. Microsoft Graph API- .


An Enterprise Application is required within the O365 tenant to ensure the appropriate authentication to receive and send emails.

  1. Within Manage Microsoft Entra ID, go to Enterprise Applications, ‘Create your own application’.   Specify option ‘Integrate any other application you don’t find in the gallery (Non gallery)




       b. Once the application is created, assign the appropriate users and groups as required.

 

       c. Grant the following API Permissions


Manage > API Permissions – configure the following Microsoft Graph permissions :-




Mail.ReadBasic.All – Application

Mail.Send – Application or Delegated

User.Read.All - Application

 

 

Please note at this point, from App Registrations,

 

Overview  > Application (client) ID

Overview > Directory (tenant) ID



Manage > Certificates & Secrets > Client secrets > Value



MCS - Account Configuration


Go to Administration > Mail > Accounts > Email

  1. The O365 account can must be set as ‘Default’ to allow the sending and receiving of emails for all default emails.



Go to Administration > Mail > Accounts > Email


Enter the email address.

Enter the incoming and outgoing port values will default to 143/587.  Incoming and Outgoing Host values will default to smtp.office.365.com.

Set ‘Default’ as ‘Yes’ is you require this email to be the default email for your system.  Other mailboxes can be configured here but only one mailbox can be selected as the ‘Default’ for your system.

       

    2. Service Messaging must be enabled

Set ‘Service Messaging’ as ‘Yes’

          

    3. 0365 tenant details

Add details from the Enterprise application configured to include: -


Directory (tenant) ID

Application (client) ID

Client Secret Value




 



Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article