{"id":1998,"date":"2019-08-13T14:04:42","date_gmt":"2019-08-13T13:04:42","guid":{"rendered":"https:\/\/hypervlab.co.uk\/?p=1998"},"modified":"2019-08-13T14:04:47","modified_gmt":"2019-08-13T13:04:47","slug":"configure-an-alternative-active-directory-user-principal-name","status":"publish","type":"post","link":"https:\/\/hypervlab.co.uk\/?p=1998","title":{"rendered":"Configure an Alternative Active Directory User Principal Name"},"content":{"rendered":"<span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Reading Time: <\/span> <span class=\"rt-time\"> 2<\/span> <span class=\"rt-label rt-postfix\">minutes<\/span><\/span>\n<p>In this blog post, I will cover the principles of adding additional User Principal Name for your Active Directory Domain, this is usually required when the internal domain has been created as either a .local suffix or has a prefix of ad.hypervlab.co.uk or corp.hypervlab.co.uk. <\/p>\n\n\n\n<p>Firstly let&#8217;s have a look at what a User Principal Name is:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"757\" height=\"253\" src=\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/08\/image-203.png\" alt=\"\" class=\"wp-image-2006\" srcset=\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/08\/image-203.png 757w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/08\/image-203-300x100.png 300w\" sizes=\"auto, (max-width: 757px) 100vw, 757px\" \/><figcaption>Source:  <a href=\"https:\/\/whatis.techtarget.com\/definition\/User-Principal-Name-UPN\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\">https:\/\/whatis.techtarget.com\/definition\/User-Principal-Name-UPN<\/a> <\/figcaption><\/figure>\n\n\n\n<p>Next, we can check what current User Principal Name suffixes are in the domain:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Get-ADForest<\/code><\/pre>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"276\" src=\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/08\/image-197-1024x276.png\" alt=\"\" class=\"wp-image-1999\" srcset=\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/08\/image-197-1024x276.png 1024w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/08\/image-197-300x81.png 300w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/08\/image-197-768x207.png 768w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/08\/image-197.png 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>\n\n\n\n<p>Notice how currently in the above graphic the UPNSuffixes is empty. Now to resolve this we will need to open the &#8216;Active Directory Domains and Trusts&#8217; Console.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"868\" height=\"597\" src=\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/08\/image-198.png\" alt=\"\" class=\"wp-image-2000\" srcset=\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/08\/image-198.png 868w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/08\/image-198-300x206.png 300w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/08\/image-198-768x528.png 768w\" sizes=\"auto, (max-width: 868px) 100vw, 868px\" \/><\/figure><\/div>\n\n\n\n<p>From the  &#8216;Active Directory Domains and Trusts&#8217; Console right click on the  &#8216;Active Directory Domains and Trusts&#8217; Text on the top left pane and select properties.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"461\" height=\"261\" src=\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/08\/image-199.png\" alt=\"\" class=\"wp-image-2001\" srcset=\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/08\/image-199.png 461w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/08\/image-199-300x170.png 300w\" sizes=\"auto, (max-width: 461px) 100vw, 461px\" \/><\/figure><\/div>\n\n\n\n<p>From the UPN Suffixes Window enter the alternative suffix address you want to use, Normally this would do a &#8216;Top Level Domain (TLD)&#8217; which is accessible over the Internet. <\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"400\" height=\"455\" src=\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/08\/image-200.png\" alt=\"\" class=\"wp-image-2002\" srcset=\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/08\/image-200.png 400w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/08\/image-200-264x300.png 264w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/figure><\/div>\n\n\n\n<p>To check that the new UPN Suffix has been saved into the Active Directory Schema we can use the same <strong>Get-ADForrest<\/strong> command:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"276\" src=\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/08\/image-202-1024x276.png\" alt=\"\" class=\"wp-image-2004\" srcset=\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/08\/image-202-1024x276.png 1024w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/08\/image-202-300x81.png 300w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/08\/image-202-768x207.png 768w, https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/08\/image-202.png 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>As we can see from the graphic above the UPNSuffixes has now been populated with the hypervlab Top Level Domain. <\/p>\n","protected":false},"excerpt":{"rendered":"<p><span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Reading Time: <\/span> <span class=\"rt-time\"> 2<\/span> <span class=\"rt-label rt-postfix\">minutes<\/span><\/span>In this blog post, I will cover the principles of adding additional User Principal Name for your Active Directory Domain, this is usually required when the internal domain has been created as either a .local suffix or has a prefix of ad.hypervlab.co.uk or corp.hypervlab.co.uk. Firstly let&#8217;s have a look at what a User Principal Name [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":2005,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[69,19],"tags":[98,96,105],"class_list":["post-1998","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-active-directory","category-windows-server-2019","tag-98","tag-activedirectory","tag-windowserver"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Configure an Alternative Active Directory User Principal Name - HypervLAB<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/hypervlab.co.uk\/?p=1998\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Configure an Alternative Active Directory User Principal Name - HypervLAB\" \/>\n<meta property=\"og:description\" content=\"Reading Time:  2 minutesIn this blog post, I will cover the principles of adding additional User Principal Name for your Active Directory Domain, this is usually required when the internal domain has been created as either a .local suffix or has a prefix of ad.hypervlab.co.uk or corp.hypervlab.co.uk. Firstly let&#8217;s have a look at what a User Principal Name [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/hypervlab.co.uk\/?p=1998\" \/>\n<meta property=\"og:site_name\" content=\"HypervLAB\" \/>\n<meta property=\"article:published_time\" content=\"2019-08-13T13:04:42+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-08-13T13:04:47+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/08\/FeatureImage_AlternativeUPN.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"600\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Simon Lee\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/smoon_lee\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Simon Lee\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/hypervlab.co.uk\/?p=1998\",\"url\":\"https:\/\/hypervlab.co.uk\/?p=1998\",\"name\":\"Configure an Alternative Active Directory User Principal Name - HypervLAB\",\"isPartOf\":{\"@id\":\"https:\/\/hypervlab.co.uk\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/hypervlab.co.uk\/?p=1998#primaryimage\"},\"image\":{\"@id\":\"https:\/\/hypervlab.co.uk\/?p=1998#primaryimage\"},\"thumbnailUrl\":\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/08\/FeatureImage_AlternativeUPN.png\",\"datePublished\":\"2019-08-13T13:04:42+00:00\",\"dateModified\":\"2019-08-13T13:04:47+00:00\",\"author\":{\"@id\":\"https:\/\/hypervlab.co.uk\/#\/schema\/person\/7d184970612a9c6a5f1babb8b6b4d359\"},\"breadcrumb\":{\"@id\":\"https:\/\/hypervlab.co.uk\/?p=1998#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/hypervlab.co.uk\/?p=1998\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/hypervlab.co.uk\/?p=1998#primaryimage\",\"url\":\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/08\/FeatureImage_AlternativeUPN.png\",\"contentUrl\":\"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/08\/FeatureImage_AlternativeUPN.png\",\"width\":1200,\"height\":600},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/hypervlab.co.uk\/?p=1998#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/hypervlab.co.uk\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Configure an Alternative Active Directory User Principal Name\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/hypervlab.co.uk\/#website\",\"url\":\"https:\/\/hypervlab.co.uk\/\",\"name\":\"HypervLAB\",\"description\":\"Blogging about all thing Microsoft\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/hypervlab.co.uk\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/hypervlab.co.uk\/#\/schema\/person\/7d184970612a9c6a5f1babb8b6b4d359\",\"name\":\"Simon Lee\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/hypervlab.co.uk\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/9473a3cf9c75192508eccfd9d072efab80adf04a45083e561d0e3065f681c34c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/9473a3cf9c75192508eccfd9d072efab80adf04a45083e561d0e3065f681c34c?s=96&d=mm&r=g\",\"caption\":\"Simon Lee\"},\"description\":\"Hi, I'm Simon an IT Enthusiast, PowerShell Geek, Gamer, and Sound Engineer. I've been working with in the IT Industry for around 6 years and have worked across private and public sector companies. The original idea behind \\\"hypervlab\\\" was that I required an 'RnD' environment which would allow me to be able to replicate any kind of enterprise on-premise environment which I could use for learning and testing without learning in a production environment. So in 2019, I decided to branch out and use the domain for a public facing blog to be able to contribute to the IT Community about all things Microsoft.\",\"sameAs\":[\"https:\/\/hypervlab.co.uk\",\"https:\/\/www.linkedin.com\/in\/simon-john-lee\/\",\"https:\/\/x.com\/https:\/\/twitter.com\/smoon_lee\"],\"url\":\"https:\/\/hypervlab.co.uk\/?author=2\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Configure an Alternative Active Directory User Principal Name - HypervLAB","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/hypervlab.co.uk\/?p=1998","og_locale":"en_GB","og_type":"article","og_title":"Configure an Alternative Active Directory User Principal Name - HypervLAB","og_description":"Reading Time:  2 minutesIn this blog post, I will cover the principles of adding additional User Principal Name for your Active Directory Domain, this is usually required when the internal domain has been created as either a .local suffix or has a prefix of ad.hypervlab.co.uk or corp.hypervlab.co.uk. Firstly let&#8217;s have a look at what a User Principal Name [&hellip;]","og_url":"https:\/\/hypervlab.co.uk\/?p=1998","og_site_name":"HypervLAB","article_published_time":"2019-08-13T13:04:42+00:00","article_modified_time":"2019-08-13T13:04:47+00:00","og_image":[{"width":1200,"height":600,"url":"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/08\/FeatureImage_AlternativeUPN.png","type":"image\/png"}],"author":"Simon Lee","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/smoon_lee","twitter_misc":{"Written by":"Simon Lee","Estimated reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/hypervlab.co.uk\/?p=1998","url":"https:\/\/hypervlab.co.uk\/?p=1998","name":"Configure an Alternative Active Directory User Principal Name - HypervLAB","isPartOf":{"@id":"https:\/\/hypervlab.co.uk\/#website"},"primaryImageOfPage":{"@id":"https:\/\/hypervlab.co.uk\/?p=1998#primaryimage"},"image":{"@id":"https:\/\/hypervlab.co.uk\/?p=1998#primaryimage"},"thumbnailUrl":"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/08\/FeatureImage_AlternativeUPN.png","datePublished":"2019-08-13T13:04:42+00:00","dateModified":"2019-08-13T13:04:47+00:00","author":{"@id":"https:\/\/hypervlab.co.uk\/#\/schema\/person\/7d184970612a9c6a5f1babb8b6b4d359"},"breadcrumb":{"@id":"https:\/\/hypervlab.co.uk\/?p=1998#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/hypervlab.co.uk\/?p=1998"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/hypervlab.co.uk\/?p=1998#primaryimage","url":"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/08\/FeatureImage_AlternativeUPN.png","contentUrl":"https:\/\/hypervlab.co.uk\/wp-content\/uploads\/2019\/08\/FeatureImage_AlternativeUPN.png","width":1200,"height":600},{"@type":"BreadcrumbList","@id":"https:\/\/hypervlab.co.uk\/?p=1998#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/hypervlab.co.uk\/"},{"@type":"ListItem","position":2,"name":"Configure an Alternative Active Directory User Principal Name"}]},{"@type":"WebSite","@id":"https:\/\/hypervlab.co.uk\/#website","url":"https:\/\/hypervlab.co.uk\/","name":"HypervLAB","description":"Blogging about all thing Microsoft","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/hypervlab.co.uk\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Person","@id":"https:\/\/hypervlab.co.uk\/#\/schema\/person\/7d184970612a9c6a5f1babb8b6b4d359","name":"Simon Lee","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/hypervlab.co.uk\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/9473a3cf9c75192508eccfd9d072efab80adf04a45083e561d0e3065f681c34c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/9473a3cf9c75192508eccfd9d072efab80adf04a45083e561d0e3065f681c34c?s=96&d=mm&r=g","caption":"Simon Lee"},"description":"Hi, I'm Simon an IT Enthusiast, PowerShell Geek, Gamer, and Sound Engineer. I've been working with in the IT Industry for around 6 years and have worked across private and public sector companies. The original idea behind \"hypervlab\" was that I required an 'RnD' environment which would allow me to be able to replicate any kind of enterprise on-premise environment which I could use for learning and testing without learning in a production environment. So in 2019, I decided to branch out and use the domain for a public facing blog to be able to contribute to the IT Community about all things Microsoft.","sameAs":["https:\/\/hypervlab.co.uk","https:\/\/www.linkedin.com\/in\/simon-john-lee\/","https:\/\/x.com\/https:\/\/twitter.com\/smoon_lee"],"url":"https:\/\/hypervlab.co.uk\/?author=2"}]}},"_links":{"self":[{"href":"https:\/\/hypervlab.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/1998","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hypervlab.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hypervlab.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hypervlab.co.uk\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/hypervlab.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1998"}],"version-history":[{"count":0,"href":"https:\/\/hypervlab.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/1998\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hypervlab.co.uk\/index.php?rest_route=\/wp\/v2\/media\/2005"}],"wp:attachment":[{"href":"https:\/\/hypervlab.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1998"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hypervlab.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1998"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hypervlab.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1998"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}