<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Active Directory Archives - ServerStadium</title>
	<atom:link href="https://serverstadium.com/knowledge-base/tag/active-directory/feed/" rel="self" type="application/rss+xml" />
	<link>https://serverstadium.com/knowledge-base/tag/active-directory/</link>
	<description>Public Cloud Solution by ServerStadium</description>
	<lastBuildDate>Thu, 27 Apr 2023 09:49:28 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.4</generator>

<image>
	<url>https://serverstadium.com/wp-content/uploads/2023/04/cropped-favicon-1-32x32.png</url>
	<title>Active Directory Archives - ServerStadium</title>
	<link>https://serverstadium.com/knowledge-base/tag/active-directory/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How to Setup Active Directory Domain Service &#038; DNS with ServerStadium</title>
		<link>https://serverstadium.com/knowledge-base/how-to-setup-active-directory-domain-service-dns-with-serverstadium/</link>
		
		<dc:creator><![CDATA[Brian K]]></dc:creator>
		<pubDate>Thu, 07 Jan 2021 07:07:59 +0000</pubDate>
				<guid isPermaLink="false">https://cloudraya.com/knowledge-base/?p=671</guid>

					<description><![CDATA[<p>This article will explain how to setup Active Directory Domain Service (ADDS) &#38;amp; DNS in ServerStadium. To do so, let&#8217;s jump into the tutorials. Overview Windows Active Directory or what you might call Active Directory Domain Services (ADDS) is the main controller for the Windows system network. Accordingly, it will store information about objects on&#8230;</p>
<p>The post <a href="https://serverstadium.com/knowledge-base/how-to-setup-active-directory-domain-service-dns-with-serverstadium/">How to Setup Active Directory Domain Service &amp; DNS with ServerStadium</a> appeared first on <a href="https://serverstadium.com">ServerStadium</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">This article will explain how to setup Active Directory Domain Service (ADDS) &amp;amp; DNS in ServerStadium. To do so, let&#8217;s jump into the tutorials.</p>



<h2 class="has-vivid-cyan-blue-color has-text-color wp-block-heading">Overview</h2>



<p class="wp-block-paragraph">Windows Active Directory or what you might call Active Directory Domain Services (ADDS) is the main controller for the Windows system network. Accordingly, it will store information about objects on the network. Meanwhile, Domain Name Server (DNS) is the one part of services that can support Active Directory working well.<br /> <br />Active Directory stores information about user account, password, phone number, policy, computer and so on. It will allow an administrator to manage or custom privilege for each user, group or division and also define privilege between view, update, or even add and delete. In addition, Domain Name Server will help Client Active Directory to translate from domain to IP Address. <br /> <br />Similar to other cloud services, ServerStadium has the ability to build Windows Active Directory on the cloud in just a couple of minutes. Accordingly, we will describe how to prepare and build your Active Directory for your network. </p>



<h2 class="has-vivid-cyan-blue-color has-text-color wp-block-heading"><strong>Preparation</strong></h2>



<p class="wp-block-paragraph">1. Setup a Security Profile for your instance. Firstly, use the table below to referring ports you work with, and make sure to open the port only for specific your ip public range.</p>



<figure class="wp-block-image size-large"><img fetchpriority="high" decoding="async" width="1062" height="443" class="wp-image-739" src="https://serverstadium.com/wp-content/uploads/2021/01/port-list.png" alt="" srcset="https://serverstadium.com/wp-content/uploads/2021/01/port-list.png 1062w, https://serverstadium.com/wp-content/uploads/2021/01/port-list-300x125.png 300w, https://serverstadium.com/wp-content/uploads/2021/01/port-list-1024x427.png 1024w, https://serverstadium.com/wp-content/uploads/2021/01/port-list-768x320.png 768w" sizes="(max-width: 1062px) 100vw, 1062px" />
<figcaption><sup><span class="has-inline-color has-vivid-cyan-blue-color">List port ADDS</span></sup></figcaption>
</figure>



<figure class="wp-block-image size-large"><img decoding="async" width="806" height="371" class="wp-image-741" src="https://serverstadium.com/wp-content/uploads/2021/01/securityprofile2.png" alt="" srcset="https://serverstadium.com/wp-content/uploads/2021/01/securityprofile2.png 806w, https://serverstadium.com/wp-content/uploads/2021/01/securityprofile2-300x138.png 300w, https://serverstadium.com/wp-content/uploads/2021/01/securityprofile2-768x354.png 768w" sizes="(max-width: 806px) 100vw, 806px" />
<figcaption><sup><span class="has-inline-color has-vivid-cyan-blue-color">Security profile</span></sup></figcaption>
</figure>



<p class="wp-block-paragraph"><br />2. Make sure your Windows server is up to date for the security patch by checking Server Manager &gt; Local manager; several reboots might be needed due to applying security patches.</p>


<div class="wp-block-image">
<figure class="aligncenter size-large is-resized"><img decoding="async" class="wp-image-700" src="https://serverstadium.com/wp-content/uploads/2021/01/after-update1.png" alt="" width="657" height="230" srcset="https://serverstadium.com/wp-content/uploads/2021/01/after-update1.png 966w, https://serverstadium.com/wp-content/uploads/2021/01/after-update1-300x105.png 300w, https://serverstadium.com/wp-content/uploads/2021/01/after-update1-768x270.png 768w" sizes="(max-width: 657px) 100vw, 657px" />
<figcaption><sup><span class="has-inline-color has-vivid-cyan-blue-color">Windows update status</span></sup></figcaption>
</figure>
</div>


<p class="wp-block-paragraph">3. ServerStadium usually generates a hostname each time it creates<a href="https://serverstadium.com/knowledge-base/deploying-a-virtual-machine-in-serverstadium/"> a new VM</a>. Now, it is your turn to rename the hostname of your server to identify your server. Also, a reboot is required. Follow the picture below to rename your server. </p>


<div class="wp-block-image">
<figure class="aligncenter size-large is-resized"><img loading="lazy" decoding="async" class="wp-image-702" src="https://serverstadium.com/wp-content/uploads/2021/01/change-hostname1-1.png" alt="" width="642" height="484" srcset="https://serverstadium.com/wp-content/uploads/2021/01/change-hostname1-1.png 731w, https://serverstadium.com/wp-content/uploads/2021/01/change-hostname1-1-300x226.png 300w" sizes="(max-width: 642px) 100vw, 642px" />
<figcaption><sup><span class="has-inline-color has-vivid-cyan-blue-color">Rename hostname</span></sup></figcaption>
</figure>
</div>


<h3 class="has-vivid-cyan-blue-color has-text-color wp-block-heading"><strong>Installation: Active Directory Domain Services and features</strong></h3>



<p class="wp-block-paragraph">1. Once your server is up, it should be ready to install Active Directory Domain Service, go to Server Manager App and click Dashboard &gt; Add roles and features.</p>


<div class="wp-block-image">
<figure class="aligncenter size-large is-resized"><img loading="lazy" decoding="async" class="wp-image-703" src="https://serverstadium.com/wp-content/uploads/2021/01/server-manager1.png" alt="" width="663" height="348" />
<figcaption><sup><span class="has-inline-color has-vivid-cyan-blue-color">Add roles and features</span></sup></figcaption>
</figure>
</div>


<p class="wp-block-paragraph">2. After you click “Add roles and features”, there will be an open dialog. You can skip the notification page “Before you begin” by pressing the next button. On installation type, choose “Role-based or features-based installation” then press next.   </p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="786" height="559" class="wp-image-709" src="https://serverstadium.com/wp-content/uploads/2021/01/before-you-begin1.png" alt="" srcset="https://serverstadium.com/wp-content/uploads/2021/01/before-you-begin1.png 786w, https://serverstadium.com/wp-content/uploads/2021/01/before-you-begin1-300x213.png 300w, https://serverstadium.com/wp-content/uploads/2021/01/before-you-begin1-768x546.png 768w" sizes="(max-width: 786px) 100vw, 786px" />
<figcaption><sup><span class="has-inline-color has-vivid-cyan-blue-color">Information before you begin</span></sup></figcaption>
</figure>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="787" height="560" class="wp-image-710" src="https://serverstadium.com/wp-content/uploads/2021/01/role-based1-1.png" alt="" srcset="https://serverstadium.com/wp-content/uploads/2021/01/role-based1-1.png 787w, https://serverstadium.com/wp-content/uploads/2021/01/role-based1-1-300x213.png 300w, https://serverstadium.com/wp-content/uploads/2021/01/role-based1-1-768x546.png 768w" sizes="(max-width: 787px) 100vw, 787px" />
<figcaption><sup><span class="has-inline-color has-vivid-cyan-blue-color">Select installation type</span></sup></figcaption>
</figure>
</div>


<p class="wp-block-paragraph"> <br />3. On the Select destination server page, select “Select a server from the server pool” then select destination server then press Next.</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="786" height="561" class="wp-image-712" src="https://serverstadium.com/wp-content/uploads/2021/01/server-selection1.png" alt="" srcset="https://serverstadium.com/wp-content/uploads/2021/01/server-selection1.png 786w, https://serverstadium.com/wp-content/uploads/2021/01/server-selection1-300x214.png 300w, https://serverstadium.com/wp-content/uploads/2021/01/server-selection1-768x548.png 768w" sizes="(max-width: 786px) 100vw, 786px" />
<figcaption><sup><span class="has-inline-color has-vivid-cyan-blue-color">Select destination server</span></sup></figcaption>
</figure>
</div>


<p class="wp-block-paragraph">4. Then, on the Server Roles page, choose Active Directory Domain Service and DNS. After that, there will be a notification that you have to set static IP for your server. This is common since your server stands behind ServerStadium Firewall and can&#8217;t detect your static ip public, just keep going by clicking the continue button. Then, follow instructions below. </p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="879" height="560" class="wp-image-714" src="https://serverstadium.com/wp-content/uploads/2021/01/add-roles1.png" alt="" srcset="https://serverstadium.com/wp-content/uploads/2021/01/add-roles1.png 879w, https://serverstadium.com/wp-content/uploads/2021/01/add-roles1-300x191.png 300w, https://serverstadium.com/wp-content/uploads/2021/01/add-roles1-768x489.png 768w" sizes="(max-width: 879px) 100vw, 879px" />
<figcaption><mark class="has-inline-color has-vivid-cyan-blue-color" style="background-color: rgba(0, 0, 0, 0);"><sup>Select ADDS roles</sup></mark></figcaption>
</figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="951" height="560" class="wp-image-831" src="https://serverstadium.com/wp-content/uploads/2021/01/dns-role.png" alt="" srcset="https://serverstadium.com/wp-content/uploads/2021/01/dns-role.png 951w, https://serverstadium.com/wp-content/uploads/2021/01/dns-role-300x177.png 300w, https://serverstadium.com/wp-content/uploads/2021/01/dns-role-768x452.png 768w" sizes="(max-width: 951px) 100vw, 951px" />
<figcaption><sup><span class="has-inline-color has-vivid-cyan-blue-color">Select DNS roles</span></sup></figcaption>
</figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="819" height="561" class="wp-image-832" src="https://serverstadium.com/wp-content/uploads/2021/01/validation-dns.png" alt="" srcset="https://serverstadium.com/wp-content/uploads/2021/01/validation-dns.png 819w, https://serverstadium.com/wp-content/uploads/2021/01/validation-dns-300x205.png 300w, https://serverstadium.com/wp-content/uploads/2021/01/validation-dns-768x526.png 768w" sizes="(max-width: 819px) 100vw, 819px" />
<figcaption><mark class="has-inline-color has-vivid-cyan-blue-color" style="background-color: rgba(0, 0, 0, 0);"><sup>Validation DNS</sup></mark></figcaption>
</figure>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="819" height="561" class="wp-image-833" src="https://serverstadium.com/wp-content/uploads/2021/01/features1-1.png" alt="" srcset="https://serverstadium.com/wp-content/uploads/2021/01/features1-1.png 819w, https://serverstadium.com/wp-content/uploads/2021/01/features1-1-300x205.png 300w, https://serverstadium.com/wp-content/uploads/2021/01/features1-1-768x526.png 768w" sizes="(max-width: 819px) 100vw, 819px" />
<figcaption><sup><span class="has-inline-color has-vivid-cyan-blue-color">Select features</span></sup></figcaption>
</figure>
</div>


<p class="wp-block-paragraph"><br />5. After that, the next window will give you a brief description about ADDS &amp; DNS services. Click next to proceed and click install to start the installation; once the installation completes, The server is ready to promote as a domain controller.  </p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="819" height="560" class="wp-image-834" src="https://serverstadium.com/wp-content/uploads/2021/01/adds1-1.png" alt="" srcset="https://serverstadium.com/wp-content/uploads/2021/01/adds1-1.png 819w, https://serverstadium.com/wp-content/uploads/2021/01/adds1-1-300x205.png 300w, https://serverstadium.com/wp-content/uploads/2021/01/adds1-1-768x525.png 768w" sizes="(max-width: 819px) 100vw, 819px" />
<figcaption><sup><span class="has-inline-color has-vivid-cyan-blue-color">Active Directory Domain Services</span></sup></figcaption>
</figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="819" height="560" class="wp-image-835" src="https://serverstadium.com/wp-content/uploads/2021/01/dns1.png" alt="" srcset="https://serverstadium.com/wp-content/uploads/2021/01/dns1.png 819w, https://serverstadium.com/wp-content/uploads/2021/01/dns1-300x205.png 300w, https://serverstadium.com/wp-content/uploads/2021/01/dns1-768x525.png 768w" sizes="(max-width: 819px) 100vw, 819px" />
<figcaption><mark class="has-inline-color has-vivid-cyan-blue-color" style="background-color: rgba(0, 0, 0, 0);"><sup>DNS roles</sup></mark></figcaption>
</figure>


<div class="wp-block-image">
<figure class="alignleft size-large"><img loading="lazy" decoding="async" width="819" height="562" class="wp-image-836" src="https://serverstadium.com/wp-content/uploads/2021/01/Confirmation1-1.png" alt="" srcset="https://serverstadium.com/wp-content/uploads/2021/01/Confirmation1-1.png 819w, https://serverstadium.com/wp-content/uploads/2021/01/Confirmation1-1-300x206.png 300w, https://serverstadium.com/wp-content/uploads/2021/01/Confirmation1-1-768x527.png 768w" sizes="(max-width: 819px) 100vw, 819px" />
<figcaption><sup><span class="has-inline-color has-vivid-cyan-blue-color">Confirmation installation selection</span></sup></figcaption>
</figure>
</div>


<p class="wp-block-paragraph">&nbsp;</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="819" height="560" class="wp-image-838" src="https://serverstadium.com/wp-content/uploads/2021/01/finish-install.png" alt="" srcset="https://serverstadium.com/wp-content/uploads/2021/01/finish-install.png 819w, https://serverstadium.com/wp-content/uploads/2021/01/finish-install-300x205.png 300w, https://serverstadium.com/wp-content/uploads/2021/01/finish-install-768x525.png 768w" sizes="(max-width: 819px) 100vw, 819px" />
<figcaption><mark class="has-inline-color has-vivid-cyan-blue-color" style="background-color: rgba(0, 0, 0, 0);"><sup>Finish installation</sup></mark></figcaption>
</figure>



<h2 class="has-vivid-cyan-blue-color has-text-color wp-block-heading"><strong>Power Shell</strong> </h2>



<p class="wp-block-paragraph">If you prefer working with Power Shell, you could use the command below to install Active Directory Service in one line via Power Shell command line</p>



<div class="wp-block-group"><div class="wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow">
<p class="wp-block-paragraph"> <code>Install-WindowsFeature -name AD-Domain-Services DNS -IncludeManagementTools </code></p>
</div></div>



<h3 class="has-vivid-cyan-blue-color has-text-color wp-block-heading"><strong>Configuration</strong></h3>



<p class="wp-block-paragraph">1. After the installation process, we will start to promote the server as Active Directory, go to your Server manager, and you will see an exclamation mark on the top click on it, then click “Promote this server to a domain controller” There will be open dialog regarding deployment configuration your Active Directory </p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="893" height="473" class="wp-image-726" src="https://serverstadium.com/wp-content/uploads/2021/01/post-deploy.png" alt="" srcset="https://serverstadium.com/wp-content/uploads/2021/01/post-deploy.png 893w, https://serverstadium.com/wp-content/uploads/2021/01/post-deploy-300x159.png 300w, https://serverstadium.com/wp-content/uploads/2021/01/post-deploy-768x407.png 768w" sizes="(max-width: 893px) 100vw, 893px" />
<figcaption><sup><span class="has-inline-color has-vivid-cyan-blue-color">Promote server as domain controller</span></sup></figcaption>
</figure>
</div>


<p class="wp-block-paragraph">2 . Now you will see 3 options which type of installation active directory are your gone chose, currently we will use the last option, “Add a new forest” then type in your domain name in the separate field, and click next once you finish type in your domain name.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="761" height="561" class="wp-image-727" src="https://serverstadium.com/wp-content/uploads/2021/01/add-new-forest.png" alt="" srcset="https://serverstadium.com/wp-content/uploads/2021/01/add-new-forest.png 761w, https://serverstadium.com/wp-content/uploads/2021/01/add-new-forest-300x221.png 300w" sizes="(max-width: 761px) 100vw, 761px" />
<figcaption><sup><span class="has-inline-color has-vivid-cyan-blue-color">Deployment Configuration</span></sup></figcaption>
</figure>



<p class="wp-block-paragraph">3. Now you will see “Domain Controller Option” in this page there is several option we will leave it as is. Don’t forget to type in DSRM password, then press Next. </p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="764" height="559" class="wp-image-728" src="https://serverstadium.com/wp-content/uploads/2021/01/domain-controller-option.png" alt="" srcset="https://serverstadium.com/wp-content/uploads/2021/01/domain-controller-option.png 764w, https://serverstadium.com/wp-content/uploads/2021/01/domain-controller-option-300x220.png 300w" sizes="(max-width: 764px) 100vw, 764px" />
<figcaption><sup><span class="has-inline-color has-vivid-cyan-blue-color">Domain Controller Options</span></sup></figcaption>
</figure>
</div>


<p class="wp-block-paragraph">4. Uncheck Create DNS delegation in “DNS Option” page, then click Next </p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="761" height="558" class="wp-image-677" src="https://serverstadium.com/wp-content/uploads/2021/01/image.png" alt="" srcset="https://serverstadium.com/wp-content/uploads/2021/01/image.png 761w, https://serverstadium.com/wp-content/uploads/2021/01/image-300x220.png 300w" sizes="(max-width: 761px) 100vw, 761px" />
<figcaption><sup><span class="has-inline-color has-vivid-cyan-blue-color">DNS Options</span></sup></figcaption>
</figure>
</div>


<p class="wp-block-paragraph">5. In “Additional Option” you can change your NetBIOS as your wish, then click Next.  </p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="762" height="562" class="wp-image-673" src="https://serverstadium.com/wp-content/uploads/2021/01/image-1.png" alt="" srcset="https://serverstadium.com/wp-content/uploads/2021/01/image-1.png 762w, https://serverstadium.com/wp-content/uploads/2021/01/image-1-300x221.png 300w" sizes="(max-width: 762px) 100vw, 762px" />
<figcaption><sup><span class="has-inline-color has-vivid-cyan-blue-color">Additional Options</span></sup></figcaption>
</figure>



<p class="wp-block-paragraph">6. In “Paths” Page there will be several information which define NTDS, SYSVOL and LOG are located; we will keep it as default then press Next. </p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="761" height="561" class="wp-image-676" src="https://serverstadium.com/wp-content/uploads/2021/01/image-5.png" alt="" srcset="https://serverstadium.com/wp-content/uploads/2021/01/image-5.png 761w, https://serverstadium.com/wp-content/uploads/2021/01/image-5-300x221.png 300w" sizes="(max-width: 761px) 100vw, 761px" />
<figcaption><sup><span class="has-inline-color has-vivid-cyan-blue-color">Paths</span></sup></figcaption>
</figure>



<p class="wp-block-paragraph">7. Next page will give the option to review the configuration changes. If everything is okay you can click next to proceed or otherwise can go back and change the settings. </p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="760" height="560" class="wp-image-674" src="https://serverstadium.com/wp-content/uploads/2021/01/image-3.png" alt="" srcset="https://serverstadium.com/wp-content/uploads/2021/01/image-3.png 760w, https://serverstadium.com/wp-content/uploads/2021/01/image-3-300x221.png 300w" sizes="(max-width: 760px) 100vw, 760px" />
<figcaption><sup><span class="has-inline-color has-vivid-cyan-blue-color">Review Options</span></sup></figcaption>
</figure>



<p class="wp-block-paragraph">8. On this page installer will do prerequisites check before running the installation; after all prerequisites checks are passed, you can click install to begin the installation. </p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="761" height="560" class="wp-image-729" src="https://serverstadium.com/wp-content/uploads/2021/01/prequisites.png" alt="" srcset="https://serverstadium.com/wp-content/uploads/2021/01/prequisites.png 761w, https://serverstadium.com/wp-content/uploads/2021/01/prequisites-300x221.png 300w" sizes="(max-width: 761px) 100vw, 761px" />
<figcaption><sup><span class="has-inline-color has-vivid-cyan-blue-color">Prerequisites Check</span></sup></figcaption>
</figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="761" height="560" class="wp-image-730" src="https://serverstadium.com/wp-content/uploads/2021/01/install.png" alt="" srcset="https://serverstadium.com/wp-content/uploads/2021/01/install.png 761w, https://serverstadium.com/wp-content/uploads/2021/01/install-300x221.png 300w" sizes="(max-width: 761px) 100vw, 761px" />
<figcaption><sup><span class="has-inline-color has-vivid-cyan-blue-color">Installation</span></sup></figcaption>
</figure>



<h3 class="has-vivid-cyan-blue-color has-text-color wp-block-heading"><strong>Power Shell</strong></h3>



<p class="wp-block-paragraph">If you prefer to work with Power Shell, you could use the command below to install Active Directory Service in one line via Power Shell command line </p>



<p class="wp-block-paragraph"><code>Import-Module ADDSDeployment  Install-ADDSForest -CreateDnsDelegation:$false -DatabasePath "C:\Windows\NTDS" -DomainMode "WinThreshold" -DomainName "ompong.com" -DomainNetbiosName "OMPONG" -ForestMode "WinThreshold" -InstallDns:$true -LogPath "C:\Windows\NTDS" -NoRebootOnCompletion:$false -SysvolPath "C:\Windows\SYSVOL" -Force:$true</code></p>
<p>The post <a href="https://serverstadium.com/knowledge-base/how-to-setup-active-directory-domain-service-dns-with-serverstadium/">How to Setup Active Directory Domain Service &amp; DNS with ServerStadium</a> appeared first on <a href="https://serverstadium.com">ServerStadium</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Connect Windows Active Directory on ServerStadium with Azure AD</title>
		<link>https://serverstadium.com/knowledge-base/connect-windows-active-directory-on-serverstadium-with-azure-ad/</link>
		
		<dc:creator><![CDATA[Brian K]]></dc:creator>
		<pubDate>Thu, 07 Jan 2021 07:05:42 +0000</pubDate>
				<guid isPermaLink="false">https://cloudraya.com/knowledge-base/?p=782</guid>

					<description><![CDATA[<p>Many organizations running in today’s enterprises are not simply migrating 100% of all user/group object data into the cloud. They still want to maintain some presence of Active Directory Domain Services (i.e. AD DS on-prem) so they can still support authentication to other on-prem-based applications and services. This means you must synchronize identities between Azure&#8230;</p>
<p>The post <a href="https://serverstadium.com/knowledge-base/connect-windows-active-directory-on-serverstadium-with-azure-ad/">Connect Windows Active Directory on ServerStadium with Azure AD</a> appeared first on <a href="https://serverstadium.com">ServerStadium</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Many organizations running in today’s enterprises are not simply migrating 100% of all user/group object data into the cloud. They still want to maintain some presence of Active Directory Domain Services (i.e. AD DS on-prem) so they can still support authentication to other on-prem-based applications and services. This means you must synchronize identities between Azure AD and Windows Active Directory. Azure AD Connect is the Microsoft solution that will get you there.</p>



<p class="wp-block-paragraph">Azure AD Connect supports <a href="https://docs.microsoft.com/en-us/azure/active-directory/hybrid/plan-connect-topologies">many topologies</a>, including a single Active Directory, multiple Active Directories, and even multiple Office 365 tenants.</p>



<p class="wp-block-paragraph">In this guide, we won’t cover every option for the installation of Azure AD Connect. This is because there are a variety of ways to configure it. But we will explain one of the easiest ways to do so.</p>



<h2 class="wp-block-heading"><strong>Prepare the environment for Azure AD Connect.</strong></h2>



<p class="wp-block-paragraph">Before setting up the Azure AD connect, there are three major prerequisites that we need to setup:</p>



<ul class="wp-block-list">
<li>You need an Azure AD tenant. You get one with an <a href="https://azure.microsoft.com/pricing/free-trial/">Azure free trial</a>.</li>
<li>Setup your on-premises Active Directory Domain Controller VM in Cloudraya, the one which will connect with the Azure AD</li>
<li>Have on-premises Active Directory schemas</li>
</ul>



<p class="wp-block-paragraph">For the complete Prerequisites, check out <a href="https://docs.microsoft.com/en-us/azure/active-directory/hybrid/how-to-connect-install-prerequisites" target="_blank" rel="noreferrer noopener">Official Azure AD Connect: Prerequisites</a> from Microsoft Documentation.</p>



<h3 class="wp-block-heading">Setup a Windows VM in Cloudraya</h3>



<p class="wp-block-paragraph">First, we need to create a Windows VM in Cloudraya. Navigate to your Cloudraya Admin Panel and <strong>Add New VM</strong>. Make sure the VM has this following specifications so it can meet the minimum specification for Azure AD Connect:</p>



<ul class="wp-block-list">
<li>2 CPU Core</li>
<li>20 GB of Storage</li>
<li>2 GB of RAM</li>
</ul>



<p class="wp-block-paragraph">With these specifications, the best VM package to pick is <strong>small-c2</strong></p>



<figure class="wp-block-image size-large"><img decoding="async" class="wp-image-351" src="https://erry.darajati.my.id/wp-content/uploads/2021/01/Cloudraya_SelectVM-1024x331.png" alt="" /></figure>



<p class="wp-block-paragraph">Also, don&#8217;t forget to set the ServerStadium Security Profile to allow RDP Port (default port: 3389)</p>



<figure class="wp-block-image size-large"><img decoding="async" class="wp-image-353" src="https://erry.darajati.my.id/wp-content/uploads/2021/01/Cloudraya_SecurityProfile-1024x324.png" alt="" /></figure>



<p class="wp-block-paragraph">After the VM has been created successfully, continue to access the VM via RDP</p>



<h3 class="wp-block-heading">Setup the on-premises Active Directory and Active Directory Domain Controller</h3>



<p class="wp-block-paragraph">Before connecting our Active Directory with Azure AD, we must install an Active Directory Domain Controller role. It will act as Azure AD Connector.</p>



<p class="wp-block-paragraph">Open <strong>Server Manager</strong> and click on <strong>Manage -&gt; Add Roles and Features</strong>. On the <strong>Select Server Roles </strong>tab, check the <strong>Active Directory Domain Services </strong>button.</p>



<figure class="wp-block-image size-large"><img decoding="async" class="wp-image-358" src="https://erry.darajati.my.id/wp-content/uploads/2021/01/ADDSRole_1.png" alt="" /></figure>



<p class="wp-block-paragraph">Continue the configuration until the role has been installed successfully.</p>



<p class="wp-block-paragraph">The next step is promoting the VM as an Active Directory Domain Controller. You can find the full steps on <a href="https://serverstadium.com/knowledge-base" target="_blank" rel="noreferrer noopener">How to setup Active Directory Domain Service with ServerStadium</a>.</p>



<p class="wp-block-paragraph">One thing you need to make sure of when configuring the domain name. For the sake of simplicity, you need to use a <strong>Valid FQDN (Fully-Qualified Domain Name)</strong> <strong>and Valid TLD</strong>. For example, use <strong>.com, .net, .org,</strong> and so on instead of <strong>.local, .staging,</strong> and so forth.</p>



<figure class="wp-block-image size-large"><img decoding="async" class="wp-image-360" src="https://erry.darajati.my.id/wp-content/uploads/2021/01/ADDSRole_2.png" alt="" /></figure>



<p class="wp-block-paragraph">After the VM has been promoted as a Domain Controller, your on-premises Active Directory is ready to connect with the Azure AD. Then, the next step is to prepare the Azure AD environment.</p>



<h3 class="wp-block-heading">Setup Azure AD Environment</h3>



<p class="wp-block-paragraph">First, you need to have an Azure Account. As stated at the beginning of this article, you can get this account with a <a href="https://azure.microsoft.com/pricing/free-trial/" target="_blank" rel="noreferrer noopener">free trial</a> provided by Microsoft.</p>



<p class="wp-block-paragraph">If you already have a working Azure account, open the <a href="https://portal.azure.com" target="_blank" rel="noreferrer noopener">Azure Portal</a>. Then, navigate to the Azure Active Directory dashboard by searching it on the portal.</p>



<figure class="wp-block-image size-large"><img decoding="async" class="wp-image-363" src="https://erry.darajati.my.id/wp-content/uploads/2021/01/AAD_Dashboard_Initial-1024x532.png" alt="" /></figure>



<p class="wp-block-paragraph">To connect to Azure AD with your on-premises active directory credentials, you <strong>must add the matching domain on the Azure AD</strong>. This is why you must use the Valid FQDN and Valid TLD on your on-premises AD. To do this, navigate to <strong>Custom Domain Blade </strong>and click on <strong>Add Custom Domain</strong></p>



<figure class="wp-block-image size-large is-resized"><img loading="lazy" decoding="async" class="wp-image-365" src="https://erry.darajati.my.id/wp-content/uploads/2021/01/AAD_AddDomain-1024x498.png" alt="" width="570" height="277" /></figure>



<p class="wp-block-paragraph">You also need the domain to be verified. After adding the custom domain name, Azure will ask you to add a new TXT DNS record on your domain. Thus, add the record to your Domain Name DNS management tool.</p>



<figure class="wp-block-image size-large"><img decoding="async" class="wp-image-366" src="https://erry.darajati.my.id/wp-content/uploads/2021/01/AAD_AddDomainTXT-1024x476.png" alt="" /></figure>



<p class="wp-block-paragraph">Your custom domain will be shown as <strong>Verified</strong> on the Custom Domain Name dashboard when the domain has been validated.</p>



<h2 class="wp-block-heading">Install and Configure Azure AD Connect</h2>



<p class="wp-block-paragraph">Now the on-premises AD and Azure AD end has been configured. The next thing to do is to configure the Azure AD connect.</p>



<h3 class="wp-block-heading">Download Azure AD Connect</h3>



<p class="wp-block-paragraph">Firstly, download the Azure AD Connect application. The easiest way to download the app is by navigating to the Azure Active Directory dashboard. Then, click on the Azure AD Connect blade. You will see a link that leads to the Azure AD Connect download page</p>



<figure class="wp-block-image size-large"><img decoding="async" class="wp-image-376" src="https://erry.darajati.my.id/wp-content/uploads/2021/01/AAD_Connect_Dashboard.png" alt="" /></figure>



<h3 class="wp-block-heading">Setup and Configuration</h3>



<p class="wp-block-paragraph">After completing the download, we can continue with the Azure AD Connect setup and configuration. To do so, open the downloaded file and install it.</p>



<p class="wp-block-paragraph">After the installation, there will be a new application on your desktop named &#8220;Azure AD Connect&#8221;, open the application.</p>



<p class="wp-block-paragraph">When we get into the installation method options of Azure AD Connect, we have two options:</p>



<ul class="wp-block-list">
<li>Express Settings</li>
<li>Custom Installation</li>
</ul>



<p class="wp-block-paragraph">You may want to pick Express settings if your on-premises AD is using single-forest topology and are using Password Hash Synchronization for the authentication option. Otherwise, you may click on Custom Installation. In this guide, we will pick a <strong>Customize</strong> option.</p>



<figure class="wp-block-image size-large"><img decoding="async" class="wp-image-379" src="https://erry.darajati.my.id/wp-content/uploads/2021/01/AADC_Express.png" alt="" /></figure>



<p class="wp-block-paragraph">Upon clicking <strong>Customize</strong> button, the installation wizard does a quick check to ensure no other synchronization services are running. Then you can then specify any existing SQL Servers, service accounts, or synchronization groups.</p>



<figure class="wp-block-image size-large"><img decoding="async" class="wp-image-378" src="https://erry.darajati.my.id/wp-content/uploads/2021/01/AADC_Custom.png" alt="" /></figure>



<h3 class="wp-block-heading">Authentication</h3>



<p class="wp-block-paragraph">After you specify the required components and/or custom installation location, the wizard will continue with the authentication method selection.</p>



<p class="wp-block-paragraph">Accordingly, there are three ways of authentication methods to sign in:</p>



<ul class="wp-block-list">
<li>Password Hash Synchronization</li>
<li>Pass-through authentication</li>
<li>Federated authentication (using ADFS or Third-party applications)</li>
</ul>



<figure class="wp-block-image size-large"><img decoding="async" class="wp-image-380" src="https://erry.darajati.my.id/wp-content/uploads/2021/01/AADC_UserSign.png" alt="" /></figure>



<p class="wp-block-paragraph"><strong>Password hash synchronization (PHS)</strong> &#8211; Password Hash Sync enables users to use the same username and password that they use on-premises. You don&#8217;t have to deploy any additional infrastructure besides Azure AD Connect.</p>



<p class="wp-block-paragraph"><strong>Pass-through authentication (PTA)</strong> &#8211; This option is similar to password hash sync. However, it also provides a simple password validation using on-premises software agents for organizations with strong security and compliance policies.</p>



<p class="wp-block-paragraph"><strong>Federated authentication</strong> &#8211; Azure AD will hand off the authentication process when you choose this authentication method. This is to a separate trusted authentication system, such as AD FS or a third-party federation system, to validate the user&#8217;s sign-in. For simplicity&#8217;s sake, you can use PHS for the rest of this installation</p>



<h3 class="wp-block-heading">Connect to Azure AD</h3>



<p class="wp-block-paragraph">We are now ready to connect to Azure AD; we need an account with a Global Administrator account. If you’re using Federation with ADFS, don&#8217;t use an account on the same domain you plan to enable for Federation. A good way around this is to create that global admin account on the .onmicrosoft.com domain to facilitate this.</p>



<figure class="wp-block-image size-large"><img decoding="async" class="wp-image-381" src="https://erry.darajati.my.id/wp-content/uploads/2021/01/AADC_GlobalAdm.png" alt="" /></figure>



<p class="wp-block-paragraph">If you enter the correct account, we can integrate the on-premises forest first. Due to this, you need an Enterprise Admin account on the On-premises forest.</p>



<figure class="wp-block-image size-large"><img decoding="async" class="wp-image-382" src="https://erry.darajati.my.id/wp-content/uploads/2021/01/AADC_ConnectorAcc-1024x499.png" alt="" /></figure>



<p class="wp-block-paragraph">As you can see above, you can create a new account or use an existing one. If you create a new account, you must provide the enterprise admin credentials. This allows the wizard to provision a new account in Active Directory Directory Services with the appropriate permissions.</p>



<p class="wp-block-paragraph">If you specify an existing account, specify the FQDN or NETBIOS name of the account (i.e. contoso.com\administrator or CONTOSO\Administrator). One thing to note about using an existing account is that it only needs default read permissions. However, some scenarios may require additional permissions. For those details, you can read the <a href="https://docs.microsoft.com/en-us/azure/active-directory/hybrid/reference-connect-accounts-permissions#create-the-ad-ds-connector-account">Azure AD Connect Accounts and Permissions</a> for more information.</p>



<h3 class="wp-block-heading">Verification and Synchronization</h3>



<p class="wp-block-paragraph">This next phase is about the verification of the domains we’ve just connected. UserPrincipalName (or UPN) in Active Directory is the attribute users use to sign into Azure AD, Office 365, etc. Therefore, the domain (or UPN-suffix) should be verified before synchronizing any objects into Azure AD.</p>



<p class="wp-block-paragraph">If you’re using Pass-Through Authentication, you must have at least one verified domain. This is in order to proceed through the remaining steps in the installation wizard. That is why we need to do the Custom Domain Verification at the beginning of this guide.</p>



<p class="wp-block-paragraph">By default, Synchronizing everything from the On-premises AD is the behavior upon getting to the next phase of the wizard. In Domain and Organizational Unit (OU) filtering, we can specify what we DO NOT want to synchronize to Azure AD.</p>



<p class="wp-block-paragraph">This step is pretty straightforward. That being said, you might be concerned about which domains and OUs you don&#8217;t want to synchronize. If so, you may review the <a href="https://docs.microsoft.com/en-us/azure/active-directory/hybrid/how-to-connect-sync-configure-filtering#domain-based-filtering">domain-based filtering</a> and <a href="https://docs.microsoft.com/en-us/azure/active-directory/hybrid/how-to-connect-sync-configure-filtering#organizational-unitbased-filtering">OU-based filtering</a> articles. You can easily find them on Microsoft’s doc library before you make any changes.</p>



<figure class="wp-block-image size-large"><img decoding="async" class="wp-image-383" src="https://erry.darajati.my.id/wp-content/uploads/2021/01/AADC_DomainConnect.png" alt="" /></figure>



<h3 class="wp-block-heading">Identify Users</h3>



<p class="wp-block-paragraph">Next is identifying users in Active Directory and how we want them represented in Azure AD. In some cases, you may have a user with multiple representations across multiple domains (i.e. an enterprise admin). You may also have the same thing for B2B, guest accounts, or mail enabled contacts in Active Directory.</p>



<p class="wp-block-paragraph">Simply put, you need to uniquely identify your users to avoid duplicate entries in Azure AD. This step helps you define that and how you’d like to identify those users.</p>



<figure class="wp-block-image size-large"><img decoding="async" class="wp-image-384" src="https://erry.darajati.my.id/wp-content/uploads/2021/01/AADC_IdentifyUser.png" alt="" /></figure>



<p class="wp-block-paragraph">The options are pretty straightforward:</p>



<ul class="wp-block-list">
<li>Users are represented once across all forests – all users are individual objects in Azure AD.</li>
<li>Mail attribute – This option will join users and contacts if their mail attribute has the same value in different forests. You&#8217;ll want to specify this option if you’ve used services like GALSync to create contacts.</li>
<li>ObjectSID and msExchangeMasterAccountSID/msRTCSIP-OriginatorSid – This option joins an enabled user in an account forest with a disabled user in a resource forest. In the Exchange realm of taxonomy, this is simply a linked mailbox. This option can also be leveraged if you only use Lync or Skype for Business, and Exchange is not present in the forest.</li>
<li>SAMAccountName and MailNickName – This leverages those attributes where it&#8217;s expected that the sign-in ID for the user can be found.</li>
<li>Specific Attributes – You can select and define your own attribute. The only limitation here is this has been to be a searchable attribute across the Active Directory metaverse.</li>
</ul>



<h3 class="wp-block-heading">Filter Users and Devices</h3>



<p class="wp-block-paragraph">As we go into the next steps of this wizard, we need to look at the available filtering options. Some examples of this would be group-based filtering. This allows us to synchronize only a smaller subset of objects for a specific use. For example, pilot, proof of concept, test, etc.). Please note that this is only meant and intended for pilot-type deployments instead of large-scale production deployments.</p>



<figure class="wp-block-image size-large"><img decoding="async" class="wp-image-385" src="https://erry.darajati.my.id/wp-content/uploads/2021/01/ADDC_FilterUsers.png" alt="" /></figure>



<h3 class="wp-block-heading">Optional Features</h3>



<p class="wp-block-paragraph">As we go into the wizard&#8217;s next step, we talk about the use of optional features. Here we can add options like Exchange hybrid deployment, Password writeback, Group writeback, etc., to the mix.</p>



<p class="wp-block-paragraph">The list of features each has its own description if you click the source link above. If you go through the wizard, you’ll see the ? next to each item. This will also provide you with a description of each feature as well.</p>



<p class="wp-block-paragraph">I won’t belabor the details of each feature in this blog. But if you want to add additional features, you can simply set that. Then, it will allow you to provision/enable that feature in the wizard directly as a next step.</p>



<figure class="wp-block-image size-large"><img decoding="async" class="wp-image-386" src="https://erry.darajati.my.id/wp-content/uploads/2021/01/AADC_MoreFeatures.png" alt="" /></figure>



<p class="wp-block-paragraph">In this guide, we are not enabling anything besides the Password Hash Synchronization.</p>



<p class="wp-block-paragraph">Regardless you’re using password synchronization or pass-through authentication, you simply need to ensure these two steps are completed:</p>



<ul class="wp-block-list">
<li><a href="https://docs.microsoft.com/en-us/azure/active-directory/hybrid/how-to-connect-install-custom#create-the-computer-account-in-active-directory">Create the necessary computer object account in your on-prem Active Directory</a></li>
<li><a href="https://docs.microsoft.com/en-us/azure/active-directory/hybrid/how-to-connect-install-custom#configure-the-intranet-zone-for-client-machines">Configure the intranet zone of the client machines to support SSO</a></li>
</ul>



<h3 class="wp-block-heading">Configure and Verify Everything</h3>



<p class="wp-block-paragraph">Once you hit the final steps in the wizard, you’ll simply need to configure and verify. You must check whether you wish to start the synchronization process as soon as the wizard completes. Also, you can do this if you wish to enable Staging Mode. Accordingly, staging mode has some other steps. However, we will save them for another blog.</p>



<p class="wp-block-paragraph">For now, we’ll synchronize (as we would if this were our first time running through the wizard) and proceed to the verification steps.</p>



<p class="wp-block-paragraph">How would you know whether your Azure AD is connected to the On-premises AD? You can connect to the Azure AD Dashboard on the Azure portal.</p>



<p class="wp-block-paragraph">After that, navigate to the <strong>Users</strong> blade. If the synchronization has succeeded, you can find the users which on your on-premises being synchronized on the portal.</p>



<p class="wp-block-paragraph">Finally, it is ready!</p>



<p class="wp-block-paragraph">At last, your on-premises directory is now synchronized with Azure AD. You can continue to connect your Azure application with your on-premises credentials.</p>
<p>The post <a href="https://serverstadium.com/knowledge-base/connect-windows-active-directory-on-serverstadium-with-azure-ad/">Connect Windows Active Directory on ServerStadium with Azure AD</a> appeared first on <a href="https://serverstadium.com">ServerStadium</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
