You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: content/tutorials/server/smtp-servers/set-up-oauth-microsoft-365/index.md
+75-3
Original file line number
Diff line number
Diff line change
@@ -7,10 +7,82 @@ previous-topic: smtp-servers
7
7
next-topic: smtp-servers
8
8
---
9
9
10
-
# EHow to implement OAUTH using DNN and Microsoft 365
10
+
# How to implement OAUTH using DNN and Microsoft 365
11
11
12
-
## Placeholder
12
+
## Introduction
13
+
This page describes the necessary steps to make SMTP work using OAUTH with Microsoft 365.
13
14
14
-
This is a new page. Tutorial wil follow soon
15
+
## Setup steps
16
+
1. Check some settings in DNN
17
+
2. Create a mailbox in M365 Exchange
18
+
3. Create an APP registration in the M365 Azure
19
+
4. Grant access to the app to use the mailbox
20
+
5. Setup the mailbox in DNN
15
21
22
+
## 1. Check some settings in DNN
23
+
> [!WARNING]
24
+
> To avoid errors with the authentication in step 5, make sure that the SSL settings are correct. It must be set on **ON**.
25
+
* Personabar - Security - More - SSL Settings: Make sure that SSL Settings = **ON** (/images/scr-m365-oauth-sslsetting.png)
26
+
* Personabar - Security - Login settings: Check the site administrator account. You need to use this e-mail address in M365, because the site administrator is the sender.
16
27
28
+
## 2. Create a mailbox in M365 Exchange
29
+
* Create a mailbox with a licence. Use the address of the site administrator.
30
+
* As Admin => Userdetails - E-mail - E-mail apps: In the account settings ensure that the option *Verified SMTP* is enabled.
31
+
32
+
> [!WARNING]
33
+
> In the tenant settings Verified SMTP is not always enabled. You can enable this option for a user with the Powershell command: `Set-CASMailbox -Identity [login-address] -SmtpClientAuthenticationDisabled $false`
0 commit comments