Skip to main content
Microsoft 365 Email Setup
Frida Svendsen avatar
Written by Frida Svendsen
Updated over a week ago

Step 1. Enable SMTP AUTH in your organization

Open Exchange Admin Center, and go to settings - https://admin.exchange.microsoft.com/#/settings

Click the “Mail flow” link and make sure the “Turn off SMTP AUTH for your organization” is Unchecked, click save at the bottom.


Step 2. Enable SMTP Auth on the spesific user(s) for Email sending

Open Microsoft 365 Admin Center : https://admin.microsoft.com/#/users Make sure “Active Users” is selected in the left menu, and locate the user to send Email from:

Click the User, then click “Mail” and then “Manage Email apps”

Then make sure Authenticated SMTP is Checked and click save.

Repeat this procedure for other users as well, if you want to send mail from multiple mail accounts.


Step 3. Configuration in Maritech Cloud

Go to Configuration in Maritech Cloud: https://configuration.maritech.cloud/en/domain/email

  • Choose Outlook 365

  • The username is the e-mail address from which it is desirable to send e-mail (this is the user you authenticated for SMTP in step 2)

  • The password is set during the account creation process

  • Authentication type: Use AdUserPassword. When this option is selected a link will appear (located with the arrow in the screenshot), click this link to authorize the Maritech Cloud Email sending app in your organization

You will be forwarded to the standard Microsoft login, here you will need to log in with a user that have admin rights in your organization. If your user already have Admin rights, go ahead and click your regular user name. You will then be prompted by a standard Microsoft consent screen:

Clicking accept here will install the Maritech Cloud Email Service in your organization. Like the consent screen details, the application requests two premissions; To sign in and read the user profile, and send email using SMTP AUTH.

Please note that when you click “Accept” here, the next step will be an error message about no redirect link. This is normal and can be ignored.

Ignore the above error.


Step 4. Authorize the Maritech Email Service

Last step is to authorize the Maritech Email service. Go to Enterprise Applications in the Azure Portal:

Type “mail” in the search field to quickly locate the Maritech Cloud Email Service.

Click the Maritech Cloud Email Service and select security in the left hand menu. Then click the “user consent” to review the permissions that will be granted.

Final step is to click the big blue “Grant Admin Consent” button indicated by the arrow.

That is it, you are set to test the email configuration, go back to Maritech Cloud Email config in Configuration and click “Verify settings”, type in your own email address and click done.

Maritech Cloud will send you an email as a final confirmation to make sure that everything is working as intended.


Multifactor

There is no possibility to support accounts with multifactor enabled. However, it is possible to have multifactor enabled but whitelist our Azure egress IP address (currently 20.67.152.166).

Ingress/Inbound: 20.54.90.149
Egress/Outbound: 20.67.152.166

Did this answer your question?