<< Click to Display Table of Contents >> Navigation: Administration and Configuration > Options > OAuth Authentication for Microsoft 365 Email |
Using the Form in EQuIS Professional
When connecting EQuIS Enterprise to Microsoft 365 for incoming and outgoing email, EarthSoft recommends using OAuth instead of basic authentication. Basic authentication has been deprecated for most protocols in Exchange Online, starting October 1, 2022. See Deprecation of Basic authentication in Exchange Online | Microsoft Learn for more information.
Note: Before configuring EQuIS Enterprise with OAuth authentication for email: •Using OAuth authentication for email currently only works for Microsoft 365; it is not yet supported for other email providers. •For POP and SSL Port should be 995. •For IMAP and SSL Port should be 993. •Port settings should be configured to your email provider. For additional information, see the following document: •While not required, consider using an email account that is not associated with any EQuIS users (i.e., you do not need to be logged into EQuIS to obtain an OAuth token as described below). For example, request that your Microsoft 365 Exchange administrator create an email account for EQuIS@mycompany.com and grant IMAP or POP and SMTP permissions to that account. •The OAuth token obtained by following the instructions below is associated with the given email address, but may be re-used for both IMAP or POP (incoming email) and SMTP (outgoing email); no need to repeat the process and get separate tokens for IMAP or POP and SMTP. |
To obtain an OAuth token from Microsoft 365, follow these steps:
1.In a web browser, navigate to https://aad.equisonline.com/microsoft365_oauth.html.
(Consider using an InPrivate/Incognito browser window to authenticate as a separate Office 365 account to avoid conflicts with your primary Office 365 account).
2.Enter the URL of your EQuIS Enterprise site (e.g., https://mysite.equisonline.com).
3.Enter the full email address of the email account you plan to use in EQuIS for incoming and outgoing email (e.g., EQuIS@mycompany.com).
4.Click the Sign in with Microsoft button to begin the Microsoft 365 authentication process for that user.
5.Complete the Microsoft 365 authentication process for that user (enter the password, acknowledge MFA requests, etc.).
6.After authentication, you may be prompted to allow “EarthSoft EQuIS” to access the mailbox for the authenticated account; if so, accept the request.
7.After successful authentication, you will be redirected back to https://aad.equisonline.com/microsoft365_oauth.html; the site URL and email address should automatically populate with the values previously entered.
8.After a few moments, a text box will appear with an OAuth token identifier that looks something like this:
ExternalOAuthToken:12345:equis@mycompany.com
9.At this point, the OAuth token has been securely stored in your EQuIS database; copy the value shown in the text box and use it as the password when configuring EQuIS to use this email account for IMAP or POP (incoming email) and SMTP (outgoing email) – See mailSettings and Workflow Widget topics.
Using the Form in EQuIS Professional
If your network environment prevents you from using the online form, you can use the OAuth Form in EQuIS Professional. For more information, see Microsoft 365 OAuth Form.
Copyright © 2024 EarthSoft, Inc. • Modified: 21 Mar 2024