The following process needs to be applied if the customer wants to use Office 365 SMTP settings, inside RH Portal.
This process requires only changes in Office 365 account
Step #1: Enabling Secure SMTP Connection
Navigate to https://admin.microsoft.com/ and click on Active Users.
Select the user who will be used for SMTP authentication.
Click on the user to open the flyer on the right.
Click on the mail tab, and under Email Setting, click on
Manage email apps
.Enable the Authenticated SMTP checkbox and click on Save Changes.
Step #2: Creating App Password
Navigate to My Sign-Ins with account credentials that will be used to perform SMTP authentication.
Click on Add Sign Method, Select App Password from the drop-down, and click on Add button.
Give a name to settings i.e RHSSMTPSETTING
A password will be generated. A password will be used to authenticate SMTP connection in Right Portal.
The above configuration might take some hours to reflect.
Step #3: Overriding Security Settings
Navigate to the Azure portal and click on Azure Active Directory.
Click on Properties on the left sub menu
Click on Manage security defaults at the bottom of the page. It will open a flyer at right.
Select Disable from the drop-down ( you can choose any option as a reason to disable)
If MFA is enabled in a company: We need to add a conditional policy, so that users remained secure. From the left menu item,
click on Security β Conditional Access
Click on New Policy From Template
Select Require multifactor authentication for all users and then click on Review + Create
Set the Policy state to On and then click on Create button
The policy will be added and enabled
Step #4: Authenticating SMTP Connection In RHS:
Navigate to the company setting inside the right-hand portal.
Click on SMTP Setting and enter the following values
1 Host: smtp.office365.com
2 Domain: domain of your email
3 Username: Email address for which SMTP settings were configured.
4 Password: App Password generated in step#2
5 Authentication Type: Login
6 State TLS Auto: Enabled
7 Open Verify Mide: Please SelectClick on test settings to test the connection, after a successful connection. Click on update to save the details.