Skip to content

Commit b1c5e35

Browse files
author
DNN
committed
Commit latest build
1 parent dc1e0b3 commit b1c5e35

File tree

4 files changed

+3481
-3461
lines changed

4 files changed

+3481
-3461
lines changed

docs/content/tutorials/server/smtp-servers/set-up-oauth-microsoft-365/index.html

+22-13
Original file line numberDiff line numberDiff line change
@@ -131,20 +131,23 @@ <h5>Warning</h5>
131131
<p>To avoid errors with the authentication in step 5, make sure that the SSL settings are correct. It must be set on <strong>ON</strong>.</p>
132132
</div>
133133
<ul>
134-
<li>Personabar - Security - More - SSL Settings: Make sure that SSL Settings = <strong>ON</strong> (/images/scr-m365-oauth-sslsetting.png)</li>
135-
<li>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.</li>
134+
<li><p>Personabar - Security - More - SSL Settings: Make sure that SSL Settings = <strong>ON</strong>
135+
<img src="/images/scr-m365-oauth-sslsetting.png" alt="Alt text" title="SSL settings"></p>
136+
</li>
137+
<li><p>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.</p>
138+
</li>
136139
</ul>
137140
<h2 id="2-create-a-mailbox-in-m365-exchange">2. Create a mailbox in M365 Exchange</h2>
138141
<ul>
139142
<li>Create a mailbox with a licence. Use the address of the site administrator.</li>
140143
<li>As Admin =&gt; Userdetails - E-mail - E-mail apps: In the account settings ensure that the option <em>Verified SMTP</em> is enabled.</li>
141144
</ul>
142-
<div class="WARNING">
143-
<h5>Warning</h5>
145+
<div class="NOTE">
146+
<h5>Note</h5>
144147
<p>In the tenant settings Verified SMTP is not always enabled. You can enable this option for a user with the Powershell command: <code>Set-CASMailbox -Identity [login-address] -SmtpClientAuthenticationDisabled $false</code></p>
145148
</div>
146149
<blockquote>
147-
<p>In Powershell ISE:</p>
150+
<p>In Powershell:</p>
148151
<ul>
149152
<li>Install-Module -Name ExchangeOnlineManagement</li>
150153
<li>Connect-ExchangeOnline -Organization [TENANTID]</li>
@@ -154,32 +157,38 @@ <h5>Warning</h5>
154157
<h2 id="3-create-an-app-registration-in-the-m365-azure">3. Create an APP registration in the M365 Azure</h2>
155158
<p>Create an <strong>App registration</strong> (portal.azure.com -&gt; App registrations)</p>
156159
<ul>
157-
<li><p>Give it a name and choose the <strong>single tenant</strong> option</p>
158-
</li>
159-
<li><p>In the left menu -&gt; Manage - Authentication and choose <strong>Add a platfom</strong> =&gt; <strong>web</strong>:</p>
160+
<li>Give it a name and choose the <strong>single tenant</strong> option</li>
161+
<li>In the left menu -&gt; Manage - Authentication and choose <strong>Add a platfom</strong> =&gt; <strong>web</strong>:
160162
<ul>
161163
<li>enter your domainname</li>
162164
</ul>
163165
</li>
164-
<li><p>In the left menu -&gt; Manage - Authentication and choose <strong>Add redirect URIs</strong>:</p>
166+
<li>In the left menu -&gt; Manage - Authentication and choose <strong>Add redirect URIs</strong>:
165167
<ul>
166168
<li>https://[SITEURL]/Providers/SmtpOAuthProviders/ExchangeOnline/Authorize.aspx</li>
167169
<li>https://[SITEURL]</li>
168170
</ul>
169171
</li>
170-
<li><p>In the left menu -&gt; Manage - Certificates and Secrets</p>
172+
<li>In the left menu -&gt; Manage - Certificates and Secrets
171173
<ul>
172174
<li>Choose <strong>New client secret</strong>:</li>
173175
<li>Create a secret and save your key for later use.</li>
174176
</ul>
175177
</li>
176-
<li><p>In the left menu -&gt; Manage - API permissions and choose <strong>Add a permission</strong>:</p>
178+
<li>In the left menu -&gt; Manage - API permissions and choose <strong>Add a permission</strong>:
177179
<ul>
178180
<li>Select <strong>Microsoft Graph</strong> -&gt; Delegated -&gt; SMTP.Send (Send emails from mailboxes using SMTP AUTH) -&gt; Add permission</li>
179181
<li>Select <strong>APIs my organisation uses</strong> -&gt; Office 365 online -&gt; Application permissions -&gt;</li>
180182
</ul>
181183
</li>
182-
<li><p>In the left menu &gt; Overview</p>
184+
</ul>
185+
<div class="NOTE">
186+
<h5>Note</h5>
187+
<p>Grant admin consent
188+
<img src="/images/scr-m365-oauth-permissions.png" alt="Alt text" title="Grant admin consent "></p>
189+
</div>
190+
<ul>
191+
<li>In the left menu &gt; Overview
183192
<ul>
184193
<li>Copy the <strong>Directory (tenant) ID</strong> for later use</li>
185194
<li>Copy the <strong>Application (client) ID</strong> for later use</li>
@@ -194,7 +203,7 @@ <h2 id="4-grant-access-to-the-app-to-use-the-mailbox">4. Grant access to the app
194203
<li>Copy the <strong>Application ID</strong></li>
195204
<li>Copy the <strong>Object ID</strong></li>
196205
</ul>
197-
<p><strong>In Powershell ISE:</strong></p>
206+
<p><strong>In Powershell:</strong></p>
198207
<ul>
199208
<li>Install-Module -Name ExchangeOnlineManagement</li>
200209
<li>Connect-ExchangeOnline -Organization <strong>[TENANTID]</strong></li>
122 KB
Loading

docs/manifest.json

+12-1
Original file line numberDiff line numberDiff line change
@@ -39612,7 +39612,7 @@
3961239612
"output": {
3961339613
".html": {
3961439614
"relative_path": "content/tutorials/server/smtp-servers/set-up-oauth-microsoft-365/index.html",
39615-
"hash": "slH9XUFYkjoKHTWOLFbeDwb6k4xlH5NHNJzVXDK6O8Y="
39615+
"hash": "oi2o0Sf8pmKBJvW/49PzhcP6JrIXPMO0CjlIY9ZwBRQ="
3961639616
}
3961739617
},
3961839618
"is_incremental": false,
@@ -44551,6 +44551,17 @@
4455144551
"is_incremental": false,
4455244552
"version": ""
4455344553
},
44554+
{
44555+
"type": "Resource",
44556+
"source_relative_path": "images/scr-m365-oauth-permissions.png",
44557+
"output": {
44558+
"resource": {
44559+
"relative_path": "images/scr-m365-oauth-permissions.png"
44560+
}
44561+
},
44562+
"is_incremental": false,
44563+
"version": ""
44564+
},
4455444565
{
4455544566
"type": "Resource",
4455644567
"source_relative_path": "images/scr-m365-oauth-sslsetting.png",

0 commit comments

Comments
 (0)