Skip to content

Commit 2677523

Browse files
author
DNN
committed
Commit latest build
1 parent 0ab9f76 commit 2677523

File tree

6 files changed

+3588
-3458
lines changed

6 files changed

+3588
-3458
lines changed

docs/api/DotNetNuke.Services.Installer.Installers.ConfigInstaller.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ <h5 class="overrides">Overrides</h5>
340340
</span>
341341
<a id="DotNetNuke_Services_Installer_Installers_ConfigInstaller_ReadManifest_" data-uid="DotNetNuke.Services.Installer.Installers.ConfigInstaller.ReadManifest*"></a>
342342
<h4 id="DotNetNuke_Services_Installer_Installers_ConfigInstaller_ReadManifest_XPathNavigator_" data-uid="DotNetNuke.Services.Installer.Installers.ConfigInstaller.ReadManifest(XPathNavigator)">ReadManifest(XPathNavigator)</h4>
343-
<div class="markdown level1 summary"><p>The ReadManifest method reads the manifest file for the config compoent.</p>
343+
<div class="markdown level1 summary"><p>The ReadManifest method reads the manifest file for the config component.</p>
344344
</div>
345345
<div class="markdown level1 conceptual"></div>
346346
<h5 class="declaration">Declaration</h5>
@@ -371,7 +371,7 @@ <h5 class="overrides">Overrides</h5>
371371
<a href="https://github.com/DNNCommunity/DNNDocs/new/main/apiSpec/new?filename=DotNetNuke_Services_Installer_Installers_ConfigInstaller_Rollback.md&amp;value=---%0Auid%3A%20DotNetNuke.Services.Installer.Installers.ConfigInstaller.Rollback%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
372372
</span>
373373
<span class="small pull-right mobile-hide">
374-
<a href="https://github.com/dnnsoftware/Dnn.Platform/blob/develop/DNN Platform/Library/Services/Installer/Installers/ConfigInstaller.cs/#L170">View Source</a>
374+
<a href="https://github.com/dnnsoftware/Dnn.Platform/blob/develop/DNN Platform/Library/Services/Installer/Installers/ConfigInstaller.cs/#L193">View Source</a>
375375
</span>
376376
<a id="DotNetNuke_Services_Installer_Installers_ConfigInstaller_Rollback_" data-uid="DotNetNuke.Services.Installer.Installers.ConfigInstaller.Rollback*"></a>
377377
<h4 id="DotNetNuke_Services_Installer_Installers_ConfigInstaller_Rollback" data-uid="DotNetNuke.Services.Installer.Installers.ConfigInstaller.Rollback">Rollback()</h4>
@@ -390,7 +390,7 @@ <h5 class="overrides">Overrides</h5>
390390
<a href="https://github.com/DNNCommunity/DNNDocs/new/main/apiSpec/new?filename=DotNetNuke_Services_Installer_Installers_ConfigInstaller_UnInstall.md&amp;value=---%0Auid%3A%20DotNetNuke.Services.Installer.Installers.ConfigInstaller.UnInstall%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
391391
</span>
392392
<span class="small pull-right mobile-hide">
393-
<a href="https://github.com/dnnsoftware/Dnn.Platform/blob/develop/DNN Platform/Library/Services/Installer/Installers/ConfigInstaller.cs/#L177">View Source</a>
393+
<a href="https://github.com/dnnsoftware/Dnn.Platform/blob/develop/DNN Platform/Library/Services/Installer/Installers/ConfigInstaller.cs/#L200">View Source</a>
394394
</span>
395395
<a id="DotNetNuke_Services_Installer_Installers_ConfigInstaller_UnInstall_" data-uid="DotNetNuke.Services.Installer.Installers.ConfigInstaller.UnInstall*"></a>
396396
<h4 id="DotNetNuke_Services_Installer_Installers_ConfigInstaller_UnInstall" data-uid="DotNetNuke.Services.Installer.Installers.ConfigInstaller.UnInstall">UnInstall()</h4>

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

+117-5
Original file line numberDiff line numberDiff line change
@@ -103,20 +103,132 @@
103103
<div class="article row grid-right">
104104
<div class="col-md-10">
105105
<article class="content wrap" id="_content" data-uid="set-up-oauth-microsoft-365">
106-
<h1 id="ehow-to-implement-oauth-using-dnn-and-microsoft-365">EHow to implement OAUTH using DNN and Microsoft 365</h1>
106+
<h1 id="how-to-implement-oauth-using-dnn-and-microsoft-365">How to implement OAUTH using DNN and Microsoft 365</h1>
107107
<div class="page-version">
108108
DNN Version: <span class="dnn-version">09.02.00</span>
109109

110110
</div>
111111
<div class="page-stats row visible-xs">
112-
<div class="pull-left"> &bull; Less than 1 minute to read</div>
112+
<div class="pull-left"> &bull; 4 minutes to read</div>
113113
</div>
114114
<div class="page-stats row visible-sm visible-md visible-lg visible-xl">
115-
<span class="pull-left">&nbsp;&bull; Less than 1 minute to read</span>
115+
<span class="pull-left">&nbsp;&bull; 4 minutes to read</span>
116116
</div>
117117

118-
<h2 id="placeholder">Placeholder</h2>
119-
<p>This is a new page. Tutorial wil follow soon</p>
118+
<h2 id="introduction">Introduction</h2>
119+
<p>This page describes the necessary steps to make SMTP work using OAUTH with Microsoft 365.</p>
120+
<h2 id="setup-steps">Setup steps</h2>
121+
<ol>
122+
<li>Check some settings in DNN</li>
123+
<li>Create a mailbox in M365 Exchange</li>
124+
<li>Create an APP registration in the M365 Azure</li>
125+
<li>Grant access to the app to use the mailbox</li>
126+
<li>Setup the mailbox in DNN</li>
127+
</ol>
128+
<h2 id="1-check-some-settings-in-dnn">1. Check some settings in DNN</h2>
129+
<div class="WARNING">
130+
<h5>Warning</h5>
131+
<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>
132+
</div>
133+
<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>
136+
</ul>
137+
<h2 id="2-create-a-mailbox-in-m365-exchange">2. Create a mailbox in M365 Exchange</h2>
138+
<ul>
139+
<li>Create a mailbox with a licence. Use the address of the site administrator.</li>
140+
<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>
141+
</ul>
142+
<div class="WARNING">
143+
<h5>Warning</h5>
144+
<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>
145+
</div>
146+
<blockquote>
147+
<p>In Powershell ISE:</p>
148+
<ul>
149+
<li>Install-Module -Name ExchangeOnlineManagement</li>
150+
<li>Connect-ExchangeOnline -Organization [TENANTID]</li>
151+
<li>Set-CASMailbox -Identity [login-address] -SmtpClientAuthenticationDisabled $false</li>
152+
</ul>
153+
</blockquote>
154+
<h2 id="3-create-an-app-registration-in-the-m365-azure">3. Create an APP registration in the M365 Azure</h2>
155+
<p>Create an <strong>App registration</strong> (portal.azure.com -&gt; App registrations)</p>
156+
<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+
<ul>
161+
<li>enter your domainname</li>
162+
</ul>
163+
</li>
164+
<li><p>In the left menu -&gt; Manage - Authentication and choose <strong>Add redirect URIs</strong>:</p>
165+
<ul>
166+
<li>https://[SITEURL]/Providers/SmtpOAuthProviders/ExchangeOnline/Authorize.aspx</li>
167+
<li>https://[SITEURL]</li>
168+
</ul>
169+
</li>
170+
<li><p>In the left menu -&gt; Manage - Certificates and Secrets</p>
171+
<ul>
172+
<li>Choose <strong>New client secret</strong>:</li>
173+
<li>Create a secret and save your key for later use.</li>
174+
</ul>
175+
</li>
176+
<li><p>In the left menu -&gt; Manage - API permissions and choose <strong>Add a permission</strong>:</p>
177+
<ul>
178+
<li>Select <strong>Microsoft Graph</strong> -&gt; Delegated -&gt; SMTP.Send (Send emails from mailboxes using SMTP AUTH) -&gt; Add permission</li>
179+
<li>Select <strong>APIs my organisation uses</strong> -&gt; Office 365 online -&gt; Application permissions -&gt;</li>
180+
</ul>
181+
</li>
182+
<li><p>In the left menu &gt; Overview</p>
183+
<ul>
184+
<li>Copy the <strong>Directory (tenant) ID</strong> for later use</li>
185+
<li>Copy the <strong>Application (client) ID</strong> for later use</li>
186+
</ul>
187+
</li>
188+
</ul>
189+
<h2 id="4-grant-access-to-the-app-to-use-the-mailbox">4. Grant access to the app to use the mailbox</h2>
190+
<p><strong>In Azure:</strong></p>
191+
<ul>
192+
<li>Search for <strong>Enterprise applications</strong></li>
193+
<li>Search for application</li>
194+
<li>Copy the <strong>Application ID</strong></li>
195+
<li>Copy the <strong>Object ID</strong></li>
196+
</ul>
197+
<p><strong>In Powershell ISE:</strong></p>
198+
<ul>
199+
<li>Install-Module -Name ExchangeOnlineManagement</li>
200+
<li>Connect-ExchangeOnline -Organization <strong>[TENANTID]</strong></li>
201+
<li>New-ServicePrincipal -AppId <strong>[Application ID]</strong> -ObjectId <strong>[Oject ID]</strong></li>
202+
<li>Get-ServicePrincipal | fl
203+
<ul>
204+
<li>Copy the value of <strong>SID</strong></li>
205+
</ul>
206+
</li>
207+
<li>Add-MailboxPermission -Identity &quot;[mailaddress]&quot; -User [SID] -AccessRights FullAccess</li>
208+
</ul>
209+
<h2 id="4-setup-the-mailbox-in-dnn">4. Setup the mailbox in DNN</h2>
210+
<ul>
211+
<li><p>Personabar - Servers - Server settings</p>
212+
</li>
213+
<li><p>SMTP authentication:</p>
214+
<ul>
215+
<li>SMTP Authentiaction: <strong>OAUTH</strong></li>
216+
<li>Auth Provider: <strong>Exchange Online</strong></li>
217+
<li>Tenant id: <strong>[Your Tenant ID]</strong></li>
218+
<li>Client id: <strong>[Your Client ID]</strong></li>
219+
<li>Client Secret: <strong>[Your Secret]</strong></li>
220+
</ul>
221+
</li>
222+
<li><p>Click <strong>Authorize</strong></p>
223+
</li>
224+
<li><p>Enter your mailbox user credentials</p>
225+
</li>
226+
<li><p>Click <strong>Test SMTP Settings</strong> to check if the setup is successful.</p>
227+
</li>
228+
</ul>
229+
<blockquote>
230+
<p><strong>Your OAuth provider's configuration has been completed.</strong></p>
231+
</blockquote>
120232
</article>
121233
</div>
122234

docs/content/tutorials/toc.html

+7
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,14 @@
5050
</ul>
5151
</li>
5252
<li>
53+
<span class="expand-stub"></span>
5354
<a href="server/smtp-servers/index.html" name="" title="SMTP Servers">SMTP Servers</a>
55+
56+
<ul class="nav level3">
57+
<li>
58+
<a href="server/smtp-servers/set-up-oauth-microsoft-365/index.html" name="" title="SMTP OAUTH Microsoft 365">SMTP OAUTH Microsoft 365</a>
59+
</li>
60+
</ul>
5461
</li>
5562
</ul>
5663
</li>
48.5 KB
Loading

docs/manifest.json

+14-3
Original file line numberDiff line numberDiff line change
@@ -14460,7 +14460,7 @@
1446014460
"output": {
1446114461
".html": {
1446214462
"relative_path": "api/DotNetNuke.Services.Installer.Installers.ConfigInstaller.html",
14463-
"hash": "xyFAIWm//KrHG4fN5WYNc0qEUkMQQ1EDIIWyuN9IsN4="
14463+
"hash": "ZwGNP4FTs7AyZ+4+n5qQMSZMuCFZb/9HOQcx/n7rCaE="
1446414464
}
1446514465
},
1446614466
"is_incremental": false,
@@ -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": "RBmrwYrHVaag9S8OLbOAdye/beuJaqHM6LpmsoQsbvE="
39615+
"hash": "6OC2cnG61KIKSugeS50AHBSaGFvMTUGV/NL+6AUz2+E="
3961639616
}
3961739617
},
3961839618
"is_incremental": false,
@@ -41205,7 +41205,7 @@
4120541205
"output": {
4120641206
".html": {
4120741207
"relative_path": "content/tutorials/toc.html",
41208-
"hash": "sZryWOhGyYxuP5HRYtNxb9lNyRWElmHaCTUSeAOgT2Y="
41208+
"hash": "rbebKwj6OgNG4iguBLxDLSyx37kHtPYNBMZ2UcbK9/c="
4120941209
}
4121041210
},
4121141211
"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-sslsetting.png",
44557+
"output": {
44558+
"resource": {
44559+
"relative_path": "images/scr-m365-oauth-sslsetting.png"
44560+
}
44561+
},
44562+
"is_incremental": false,
44563+
"version": ""
44564+
},
4455444565
{
4455544566
"type": "Resource",
4455644567
"source_relative_path": "images/scr-menuAdminAdvanced.png",

0 commit comments

Comments
 (0)