Web: Office 365 (O365) Email Settings: Difference between revisions
Jspenceratty (talk | contribs) |
Jspenceratty (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
== | ==Office 365 Azure Active Directory Setup== | ||
In the Azure Active Directory menu, click on "App registrations" | |||
[[File:Screenshot 2022-12-09 at 9.37.34 AM.png|400px]] | |||
At the top of the "App registrations" page, click on the "+ New Registration" link | |||
[[File:Screenshot 2022-12-09 at 9.40.47 AM.png|400px]] | |||
In | In the "Register an application" page: | ||
# Enter a "Name" for the application, for example, "Prime 16 Email Application". | |||
# Leave the "Supported account types" selection of "Accounts in this organizational directory only". | |||
# In "Redirect URI", choose "Public client/native (mobile & desktop)" and enter <nowiki>"http://localhost:3017"</nowiki> in the next box. | |||
# Click the "Register" button | |||
This should return you to the new app registration. Your chosen Name for the application should appear at the top of the form. Now click on the "API permissions" link | |||
[[File:Screenshot 2022-12-09 at 9.51.30 AM.png|400px]] | |||
In the | In the "API permissions" page, click on the "+ Add a permission" link | ||
[[File:Screenshot 2022-12-09 at 9.50.32 AM.png|400px]] | |||
In | In the "Request API permissions" box, select "Microsoft Graph" | ||
[[File:Screenshot 2022-12-09 at 9.55.05 AM.png|400px]] | |||
When asked "What type of permissions does your application require?", choose "Delegated permissions" | |||
[[File:Screenshot 2022-12-09 at 9.56.47 AM.png|400px]] | |||
From the resulting list below that, check the box next to the following options; | |||
'''OpenId permissions: ''' | |||
::* email | |||
::* offline_access | |||
::* openid | |||
::* profile | |||
'''IMAP''' | |||
::* IMAP.AccessAsUser.All | |||
'''MailboxSettings''' | |||
::* MailboxSettings.Read | |||
'''Mail''' | |||
::* Mail.Read | |||
::* Mail.Read.Shared | |||
::* Mail.ReadWrite | |||
::* Mail.ReadWrite.Shared | |||
::* Mail.Send | |||
::* Mail.Send.Shared | |||
'''SMTP''' | |||
::* SMTP.Send | |||
'''User''' | |||
::* User.Read | |||
Click "Add permissions" at the bottom of the "Request API permissions" box. | |||
The resulting page should look like this: | |||
[[File:Screenshot 2022-12-09 at 1.09.50 PM.png|400px]] | |||
Click "+ Add a permission" link in the "API permissions" page. | |||
In the | This time, select "APIs my organization uses" at the top. In the search box, enter "Office 365 Exchange Online". Choose the resulting entry, then choose "Delegated permissions". Then, in "EWS" select the "EWS.AccessAsUser.All" entry. Choose "Add permissions" at the bottom. | ||
Click the "Grant admin consent for kempscaseworks.com" at the top of the "API permissions page". And choose yes. This will keep users from seeing the "Do you grant consent to this application" when they attempt to use the Email system | |||
[[File:Screenshot 2022- | [[File:Screenshot 2022-12-09 at 10.15.44 AM.png|400px]] | ||
==Prime 16 Setup== | |||
Within Prime 16, got to the "Admin" top line menu and choose "Custom Admin" and choose "O365 Setup". Enter the values as follow: | |||
{| class="wikitable" | |||
|+ Office 365 Settings | |||
|- | |||
! Item !! Entry | |||
|- | |||
| OnlyOneRowAllowed || True | |||
|- | |||
| Redirect URI || <nowiki>http://localhost:3017</nowiki> | |||
|- | |||
| the Client ID || <copy value for Application (client) ID from the App registration you created above as shown [[:File:Screenshot 2022-12-09 at 1.17.45 PM.png]]here> | |||
|- | |||
| client Secret || <Enter a random string, for example: jo2i3jutr98uyxcvoijkn2> | |||
|- | |||
| scope || <nowiki>https://outlook.office.com/IMAP.AccessAsUser.All%20offline_access%20email%20openid</nowiki> | |||
|- | |||
| auth Uri || <copy value the App registration, click on Endpoints and enter the value from "OAuth 2.0 authorization endpoing (v2)". That should look like this: | |||
<nowiki>https://login.microsoftonline.com/<your directory tenant id>/oauth2/v2.0/authorize</nowiki> | |||
> | |||
|- | |||
| token Uri || <copy value the App registration, click on Endpoints and enter the value from "OAuth 2.0 token endpoing (v2)". That should look like this: | |||
<nowiki>https://login.microsoftonline.com/<your directory tenant id>/oauth2/v2.0/token</nowiki> | |||
|} | |||
Close this form to save the entries. | |||
==Staff Member Setup== | |||
Open the Staff Member Input Form (Admin-->Staff Settings-->Search Staff and select a staff member). | |||
In the "Email Setup" | In the "Email Setup" tab, ensure the following entries: | ||
{| class="wikitable" | |||
|+ Staff Email Settings Setup | |||
|- | |||
! Item !! Entry !! Notes | |||
|- | |||
| Email Address || user.name@organization.org || If the user will be given permission to send and read mail from a shared mailbox in the organization system AND they want only to use that email from within Prime, you may enter that shared email address here and leave the "Send As Email Address" entry below blank. | |||
|- | |||
| Name (shown on outgoing email) || User Name || If the user will be given permission to send and read mail from a shared mailbox in the organization system AND they want only to use that email from within Prime, you may enter the Name for that shared email box here and leave the "Send As Email Name" entry below blank. | |||
|- | |||
| Account type || IMAP || | |||
|- | |||
| Incoming mail server || outlook.office365.com || | |||
|- | |||
| Incoming port || 993 || | |||
|- | |||
| Incoming security || SSL || | |||
|- | |||
| Outgoing mail server || smtp.office365.com || | |||
|- | |||
| Outgoing port || 587 || | |||
|- | |||
| Outgoing security || TLS || | |||
|- | |||
| Email server username || user.name@organization.org || | |||
|- | |||
| Email server password || <enter some random string, for example: asd908ju2> || Any random string will be fine when using the Office 365 Email system with Azure Active Directory. | |||
|- | |||
| User O365 Settings || Check the box || | |||
|- | |||
| Send As Email Address || IntakeGroup@organization.org || If the user will be given permission to send and read mail from a shared mailbox in the organization system, you can enter the email address for that shared mailbox here to give the user the ability to select to send from or to read email in that account. | |||
|- | |||
| Send As Email Name || Intake Group Mailbox || This is the name that will be included on outgoing email from the shared mailbox. | |||
|} | |||
==Staff Member Use== | |||
[[Office 365 Email Staff Use | Office 365 Email Staff Use <12/9/2022>]] | |||
Revision as of 15:37, 12 December 2022
Office 365 Azure Active Directory Setup
In the Azure Active Directory menu, click on "App registrations"
At the top of the "App registrations" page, click on the "+ New Registration" link
In the "Register an application" page:
- Enter a "Name" for the application, for example, "Prime 16 Email Application".
- Leave the "Supported account types" selection of "Accounts in this organizational directory only".
- In "Redirect URI", choose "Public client/native (mobile & desktop)" and enter "http://localhost:3017" in the next box.
- Click the "Register" button
This should return you to the new app registration. Your chosen Name for the application should appear at the top of the form. Now click on the "API permissions" link
In the "API permissions" page, click on the "+ Add a permission" link
In the "Request API permissions" box, select "Microsoft Graph"
When asked "What type of permissions does your application require?", choose "Delegated permissions"
From the resulting list below that, check the box next to the following options;
OpenId permissions:
- offline_access
- openid
- profile
IMAP
- IMAP.AccessAsUser.All
MailboxSettings
- MailboxSettings.Read
- Mail.Read
- Mail.Read.Shared
- Mail.ReadWrite
- Mail.ReadWrite.Shared
- Mail.Send
- Mail.Send.Shared
SMTP
- SMTP.Send
User
- User.Read
Click "Add permissions" at the bottom of the "Request API permissions" box.
The resulting page should look like this:
Click "+ Add a permission" link in the "API permissions" page.
This time, select "APIs my organization uses" at the top. In the search box, enter "Office 365 Exchange Online". Choose the resulting entry, then choose "Delegated permissions". Then, in "EWS" select the "EWS.AccessAsUser.All" entry. Choose "Add permissions" at the bottom.
Click the "Grant admin consent for kempscaseworks.com" at the top of the "API permissions page". And choose yes. This will keep users from seeing the "Do you grant consent to this application" when they attempt to use the Email system
Prime 16 Setup
Within Prime 16, got to the "Admin" top line menu and choose "Custom Admin" and choose "O365 Setup". Enter the values as follow:
| Item | Entry |
|---|---|
| OnlyOneRowAllowed | True |
| Redirect URI | http://localhost:3017 |
| the Client ID | <copy value for Application (client) ID from the App registration you created above as shown File:Screenshot 2022-12-09 at 1.17.45 PM.pnghere> |
| client Secret | <Enter a random string, for example: jo2i3jutr98uyxcvoijkn2> |
| scope | https://outlook.office.com/IMAP.AccessAsUser.All%20offline_access%20email%20openid |
| auth Uri | <copy value the App registration, click on Endpoints and enter the value from "OAuth 2.0 authorization endpoing (v2)". That should look like this:
https://login.microsoftonline.com/<your directory tenant id>/oauth2/v2.0/authorize > |
| token Uri | <copy value the App registration, click on Endpoints and enter the value from "OAuth 2.0 token endpoing (v2)". That should look like this:
https://login.microsoftonline.com/<your directory tenant id>/oauth2/v2.0/token |
Close this form to save the entries.
Staff Member Setup
Open the Staff Member Input Form (Admin-->Staff Settings-->Search Staff and select a staff member).
In the "Email Setup" tab, ensure the following entries:
| Item | Entry | Notes |
|---|---|---|
| Email Address | user.name@organization.org | If the user will be given permission to send and read mail from a shared mailbox in the organization system AND they want only to use that email from within Prime, you may enter that shared email address here and leave the "Send As Email Address" entry below blank. |
| Name (shown on outgoing email) | User Name | If the user will be given permission to send and read mail from a shared mailbox in the organization system AND they want only to use that email from within Prime, you may enter the Name for that shared email box here and leave the "Send As Email Name" entry below blank. |
| Account type | IMAP | |
| Incoming mail server | outlook.office365.com | |
| Incoming port | 993 | |
| Incoming security | SSL | |
| Outgoing mail server | smtp.office365.com | |
| Outgoing port | 587 | |
| Outgoing security | TLS | |
| Email server username | user.name@organization.org | |
| Email server password | <enter some random string, for example: asd908ju2> | Any random string will be fine when using the Office 365 Email system with Azure Active Directory. |
| User O365 Settings | Check the box | |
| Send As Email Address | IntakeGroup@organization.org | If the user will be given permission to send and read mail from a shared mailbox in the organization system, you can enter the email address for that shared mailbox here to give the user the ability to select to send from or to read email in that account. |
| Send As Email Name | Intake Group Mailbox | This is the name that will be included on outgoing email from the shared mailbox. |