{"id":7279,"date":"2021-12-06T03:31:06","date_gmt":"2021-12-06T03:31:06","guid":{"rendered":"https:\/\/www.insentragroup.com\/us\/insights\/uncategorized\/azure-ad-domain-services-replica-sets\/"},"modified":"2022-03-30T08:26:23","modified_gmt":"2022-03-30T08:26:23","slug":"azure-ad-domain-services-replica-sets","status":"publish","type":"post","link":"https:\/\/www.insentragroup.com\/us\/insights\/geek-speak\/cloud-and-modern-data-center\/azure-ad-domain-services-replica-sets\/","title":{"rendered":"Azure AD Domain Services Replica Sets"},"content":{"rendered":"\n<p>I wanted to do a quick blog today around an awesome feature which has just been added to Azure Active Directory Domain Services (AADDS) called <a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/active-directory-domain-services\/concepts-replica-sets\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Replica Sets<\/a>.<\/p>\n\n\n\n<p>Before I explain the benefits of Replica Sets, let me recap what AADDS is. AADDS, also known as Domain Controller-as-a-Service, is a hosted Active Directory (AD) in the Azure cloud which you don&#8217;t need to manage, configure or update. AADDS is not to be confused with Azure Active Directory (AAD), however if you are a bit perplexed, please read on.<\/p>\n\n\n\n<h3 style=\"padding-bottom: 15px;margin-bottom: 30px;margin-top: 40px;border-bottom: 1px solid #f16020;color: #f16020\"><span>WHAT IS AZURE ACTIVE DIRECTORY <\/span><\/h3>\n\n\n\n<p>When you first describe AAD to someone, they&nbsp;usually&nbsp;think it is&nbsp;\u201cDomain Controllers in the&nbsp;Sky\u201d or something similar. This is not an accurate description of AAD.&nbsp;<\/p>\n\n\n\n<p><a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/active-directory\/fundamentals\/active-directory-whatis\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">AAD<\/a>&nbsp;is an Identity-as-a-Service platform&nbsp;which&nbsp;is born in the cloud and made to support&nbsp;cloud applications&nbsp;with&nbsp;native&nbsp;web-based&nbsp;protocols&nbsp;such as&nbsp;OAuth2,&nbsp;OpenID Connect,&nbsp;SAML&nbsp;and&nbsp;WS-Fed.&nbsp;While you can join a computer to&nbsp;AAD&nbsp;(Azure AD Join),&nbsp;the relationship&nbsp;is very different&nbsp;from&nbsp;a traditional&nbsp;on-premises&nbsp;AD&nbsp;join&nbsp;of yesteryear.&nbsp;Also,&nbsp;AAD does not support any of the&nbsp;older protocols found in traditional&nbsp;AD,&nbsp;such as Kerberos&nbsp;and&nbsp;LDAP. The older protocols were designed to work on a local LAN&nbsp;and not&nbsp;over the public Internet.&nbsp;<\/p>\n\n\n\n<h3 style=\"padding-bottom: 15px;margin-bottom: 30px;margin-top: 40px;border-bottom: 1px solid #f16020;color: #f16020\"><span>WHAT IS AZURE ACTIVE DIRECTORY DOMAIN SERVICES <\/span><\/h3>\n\n\n\n<p>AADDS offers a managed AD environment&nbsp;which&nbsp;runs in an Azure Virtual Network and includes hosted Domain Controller VMs that your Azure VMs can leverage just as they would traditional Domain Controllers. These Domain Controllers support Kerberos, LDAP and even GPOs.&nbsp;AADDS&nbsp;is, in fact,&nbsp;more of a&nbsp;\u201cDomain Controller in the Sky\u201d&nbsp;solution.&nbsp;<\/p>\n\n\n\n<p>Although many organizations operate\u00a0an\u00a0on-premises AD, there are other cases\u00a0where\u00a0a\u00a0full-blown\u00a0AD\u00a0running on\u00a0VMs\u00a0is not required or desired. An example of this would be a\u00a0born-in-the-cloud organization\u00a0which\u00a0has no on-premises\u00a0AD\u00a0and wants to\u00a0leverage <a href=\"https:\/\/www.insentragroup.com\/us\/insights\/geek-speak\/modern-workplace\/what-is-windows-virtual-desktop\/\" target=\"_blank\" rel=\"noreferrer noopener\">Azure\u00a0Virtual\u00a0Desktop<\/a> (AVD).\u00a0Even though\u00a0AVD\u00a0is part of Microsoft 365, it\u00a0does have a dependency on\u00a0AD\u00a0since the\u00a0AVD\u00a0VMs\u00a0must be\u00a0AD\u00a0domain\u00a0joined\u00a0(not Azure AD Joined).\u00a0It would be crazy to ask an organization to implement\u00a0a traditional\u00a0AD\u00a0infrastructure\u00a0just to support\u00a0AVD.\u00a0In this case AADDS would be a fantastic way to achieve this\u00a0requirement with very little effort.\u00a0<\/p>\n\n\n\n<p>AADDS&nbsp;can&nbsp;be considered an extension of AAD, since all the user\/credentials, groups,&nbsp;and group memberships from&nbsp;AAD are&nbsp;synchronized&nbsp;into&nbsp;AADDS&nbsp;on an ongoing basis.&nbsp;If your AAD is synced from an on-premises AD, then&nbsp;AADDS&nbsp;could ultimately mirror your on-premises AD.&nbsp;If&nbsp;AAD is&nbsp;not synced with on-premises AD, then AAD would be the&nbsp;source of authority&nbsp;for AADDS since the synchronization of objects is&nbsp;one way, AAD to AADDS.&nbsp;AADDS does not write back to AAD&nbsp;nor, by extension, AD if there is one.&nbsp;<\/p>\n\n\n\n<p>Here is what the relationship looks like with on-premises AD &#8212;&gt; synced to Azure AD &#8212;&gt; synced to AADDS:&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"291\" src=\"https:\/\/www.insentragroup.com\/us\/wp-content\/uploads\/sites\/21\/2021\/12\/niel_hoffman_blog_12062021_img_1-1024x291.jpg\" alt=\"\" class=\"wp-image-7280\" srcset=\"https:\/\/www.insentragroup.com\/us\/wp-content\/uploads\/sites\/21\/2021\/12\/niel_hoffman_blog_12062021_img_1-1024x291.jpg 1024w, https:\/\/www.insentragroup.com\/us\/wp-content\/uploads\/sites\/21\/2021\/12\/niel_hoffman_blog_12062021_img_1-300x85.jpg 300w, https:\/\/www.insentragroup.com\/us\/wp-content\/uploads\/sites\/21\/2021\/12\/niel_hoffman_blog_12062021_img_1-768x219.jpg 768w, https:\/\/www.insentragroup.com\/us\/wp-content\/uploads\/sites\/21\/2021\/12\/niel_hoffman_blog_12062021_img_1.jpg 1416w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Notice the arrow from Azure AD to the managed domain (AADDS) is a one-way relationship. Even though you can create users and groups in AADDS, they are not synced back to Azure AD and if you do have an on-premises domain synced to Azure AD (as shown in the diagram above on the far right), there is no direct communication between the on-premises AD and AADDS. The on-premises AD has no concept this AADDS managed domain even exists.<\/p>\n\n\n\n<h3 style=\"padding-bottom: 15px;margin-bottom: 30px;margin-top: 40px;border-bottom: 1px solid #f16020;color: #f16020\"><span>WHAT IS CHANGING<\/span><\/h3>\n\n\n\n<p>One major limitation of AADDS has been its inability to support multiple regions. That means you cannot plan for any type of multi-region deployment to support geo-dispersed organizations, high availability, or disaster recovery scenarios. You could create separate AADDS instances in different regions, however they would not share directory information between them, such as computer accounts, thus limiting the benefit.<\/p>\n\n\n\n<p>Microsoft has now introduced the concept of <a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/active-directory-domain-services\/concepts-replica-sets\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Replica Sets<\/a> which allow you to create replicas of an AADDS instance in up to four additional regions. Now customers who are geo-dispersed or have a requirement for true business continuity and disaster recovery can now seriously consider AADDS over a traditional AD deployment.<\/p>\n\n\n\n<p>Here are some design considerations if you are planning to implement Replica Sets:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>IP addressing of the VNETs in the different regions which will host AADDS replicas must not overlap since they will all need to be peered with each other to support the AADDS replication<\/li><li>Of the three SKUs of AADDS, you must be on either Enterprise or Premium. Standard will not support replica sets; the good news is it is a simple process to upgrade the SKU from Standard<\/li><li>Billing for each replica set is based on AADDS SKU. For example, if you have a managed domain which uses the Enterprise SKU and you have two replica sets, your subscription is billed per hour for the initial instance of Enterprise as well as the two replica sets<\/li><\/ul>\n\n\n\n<p>This is a major improvement to AADDS and takes what used to be a clever but not-quite-enterprise-ready solution to the next level. If you have a genuine use case for AADDS and were hesitant due to the lack of multi-region support, then you should have another look!<\/p>\n\n\n\n<p>You can read more of <a href=\"https:\/\/www.insentragroup.com\/us\/insights\/insights-search-results\/?author=Neil%20Hoffman\" target=\"_blank\" rel=\"noreferrer noopener\">my blogs here<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I wanted to do a quick blog today around an awesome feature which has just been added to Azure Active Directory Domain Services (AADDS) called Replica Sets.<\/p>\n","protected":false},"author":91,"featured_media":7282,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"content-type":"","footnotes":""},"categories":[21],"tags":[76,129,152,77,44,79,153,60,154],"class_list":["post-7279","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cloud-and-modern-data-center","tag-azure","tag-azure-active-directory","tag-azure-active-directory-domain-services","tag-azure-ad","tag-azure-virtual-desktop","tag-cloud","tag-domain-controller","tag-microsoft-365","tag-replica-sets","entry"],"_links":{"self":[{"href":"https:\/\/www.insentragroup.com\/us\/wp-json\/wp\/v2\/posts\/7279","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.insentragroup.com\/us\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.insentragroup.com\/us\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.insentragroup.com\/us\/wp-json\/wp\/v2\/users\/91"}],"replies":[{"embeddable":true,"href":"https:\/\/www.insentragroup.com\/us\/wp-json\/wp\/v2\/comments?post=7279"}],"version-history":[{"count":2,"href":"https:\/\/www.insentragroup.com\/us\/wp-json\/wp\/v2\/posts\/7279\/revisions"}],"predecessor-version":[{"id":8934,"href":"https:\/\/www.insentragroup.com\/us\/wp-json\/wp\/v2\/posts\/7279\/revisions\/8934"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.insentragroup.com\/us\/wp-json\/wp\/v2\/media\/7282"}],"wp:attachment":[{"href":"https:\/\/www.insentragroup.com\/us\/wp-json\/wp\/v2\/media?parent=7279"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.insentragroup.com\/us\/wp-json\/wp\/v2\/categories?post=7279"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.insentragroup.com\/us\/wp-json\/wp\/v2\/tags?post=7279"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}