{"id":1729,"date":"2015-03-22T10:28:40","date_gmt":"2015-03-22T15:28:40","guid":{"rendered":"https:\/\/johndeletre.blog\/2015\/03\/adfs-domain-auto-completion\/"},"modified":"2023-12-16T15:01:15","modified_gmt":"2023-12-16T20:01:15","slug":"adfs-domain-auto-completion","status":"publish","type":"post","link":"https:\/\/johndeletre.blog\/en\/2015\/03\/adfs-domain-auto-completion\/","title":{"rendered":"ADFS Domain auto completion"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div>\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"1729\" class=\"elementor elementor-1729 elementor-129\" data-elementor-post-type=\"post\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-3943375f elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"3943375f\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-5bef3ddf\" data-id=\"5bef3ddf\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-7d4a1e55 elementor-widget elementor-widget-text-editor\" data-id=\"7d4a1e55\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p style=\"text-align: left;\"><span style=\"font-family: 'Segoe UI Light'; font-size: 1em;\">When your domain is federated with Office 365, during your authentication session you are redirected to your ADFS servers to authenticate. You must then enter your Active Directory email address and password to access Office 365. If your company domain is long, such as <strong>education.fabrikam.<\/strong>com, I suggest you provide your users with auto-completion of your domain name. In order to do this, you need to modify your local ADFS Template.  <\/span><\/p>\n<p style=\"text-align: left;\"><span style=\"font-family: 'Segoe UI Light'; font-size: 1em;\"><strong>Script source:<\/strong> <a href=\"https:\/\/social.msdn.microsoft.com\/Forums\/vstudio\/en-US\/d0b2089f-e4be-494c-b488-21493f62bc58\/adfs-2012-r2-forms-authentication-default-login-domain?forum=Geneva\">https:\/\/social.msdn.microsoft.com\/Forums\/vstudio\/en-US\/d0b2089f-e4be-494c-b488-21493f62bc58\/adfs-2012-r2-forms-authentication-default-login-domain?forum=Geneva<\/a>  <\/span><\/p>\n<p style=\"text-align: left;\"><span style=\"font-family: 'Segoe UI Light'; font-size: 1em;\">For more information on how to customize your ADFS infrastructure, click on the link below:  <\/span><\/p>\n<ul style=\"list-style-type: square;\">\n<li style=\"color: #0772ba; font-family: Segoe UI Light; font-size: 1em;\"><span style=\"color: black; font-family: Segoe UI Light; font-size: 1em;\"><a href=\"https:\/\/technet.microsoft.com\/en-us\/library\/dn280950.aspx\">https:\/\/technet.microsoft.com\/en-us\/library\/dn280950.aspx<\/a> <\/span><\/li>\n<\/ul>\n<p style=\"font-family: Segoe UI Light; font-size: 1em;\">1. First, create a new Template, by copying the default one. You will then make your modifications on this one, to avoid modifying the default Template of ADFS.<\/p>\n<div style=\"background: threeddarkshadow; border-left-color: black; border-left-style: solid; border-left-width: thin; border-right-color: black; border-right-style: solid; border-right-width: thin; border-top-color: black; border-top-style: solid; border-top-width: thin; font-family: consolas; font-size: 0.9em; height: 28px; margin-left: 5px; padding-bottom: 5px; padding-right: 5px; padding-top: 5px; text-align: left; width: 690px;\"> <strong><span style=\"color: white; vertical-align: middle;\">Script.ps1<\/span><\/strong><\/div>\n<div style=\"background: #123456; border: thin solid black; color: white; font-family: consolas; font-size: 0.9em; height: 30px; line-height: 1; margin-left: 5px; overflow: auto; padding-bottom: 5px; padding-right: 5px; padding-top: 5px; width: 690px;\"><b><b>PS C:\\Users\\John&gt; New-AdfsWebTheme -Name Fabrikam -SourceName default<\/b><\/b><\/div>\n<p style=\"font-family: Segoe UI Light; font-size: 1em;\">2. Then, export the Template to your location.<\/p>\n<div style=\"background: threeddarkshadow; border-left-color: black; border-left-style: solid; border-left-width: thin; border-right-color: black; border-right-style: solid; border-right-width: thin; border-top-color: black; border-top-style: solid; border-top-width: thin; font-family: consolas; font-size: 0.9em; height: 28px; margin-left: 5px; padding-bottom: 5px; padding-right: 5px; padding-top: 5px; text-align: left; width: 690px;\"> <strong>Script.ps1<\/strong><\/div>\n<div style=\"background: #123456; border: thin solid black; color: white; font-family: consolas; font-size: 0.9em; height: 35px; line-height: 1; margin-left: 5px; overflow: auto; padding-bottom: 5px; padding-right: 5px; padding-top: 5px; width: 690px;\"><b><b>PS C:\\Users\\John&gt; Export-AdfsWebTheme -Name Fabrikam -DirectoryPath c:\\theme<\/b><\/b><\/div>\n<p style=\"font-family: Segoe UI Light; font-size: 1em;\">3. Look for the file <strong>onload.js <\/strong>in the folder <strong>C:\\theme\\script\\ <\/strong>and add the following lines to the end of the document:<\/p>\n<div style=\"background: #CCCCCC; border-left: thin solid #CCCCCC; border-right: thin solid #CCCCCC; border-top: thin solid #CCCCCC; font-family: consolas; font-size: 0.9em; height: 28px; padding: 5px; text-align: left; width: 690px;\"><strong><span style=\"color: #333333; vertical-align: middle;\">Script.ps1<\/span><\/strong><\/div>\n<div style=\"background: #eeeeee; border: thin solid #CCCCCC; font-size: 0.8em; height: 320px; line-height: 1; overflow: scroll; padding: 5px; white-space: nowrap; width: 690px;\">\n<div style=\"background: #eeeeee; float: left; line-height: 1; white-space: pre;\"><span style=\"font-size: small;\"><span style=\"font-family: Courier New;\"><span style=\"color: #008000;\">\/\/remove domain name requirement<br><\/span><strong>\n  <em>\n    <span style=\"color: #000080;\">function<\/span>\n  <\/em>\n<\/strong> runScript<strong>(e<\/strong><strong>)<\/strong> <strong>{<\/strong><br>    <strong>\n  <em>\n    <span style=\"color: #000080;\">if<\/span>\n  <\/em>\n<\/strong> <strong>(e<\/strong><strong>.<\/strong>keyCode <strong>==<\/strong> <span style=\"color: #ff0000;\">13<\/span><strong>)<\/strong> <strong>{<\/strong><br>  AppendUPN<strong>();<\/strong><br>    <strong>\n  <em>\n    <span style=\"color: #000080;\">return<\/span>\n  <\/em>\n<\/strong> Login<strong>.<\/strong>submitLoginRequest<strong>();<\/strong><br>    <strong>}<\/strong><br><strong>}<\/strong><br><br><strong>\n  <em>\n    <span style=\"color: #000080;\">var<\/span>\n  <\/em>\n<\/strong> AppendUPN <strong>=<\/strong> <strong>\n  <em>\n    <span style=\"color: #000080;\">function<\/span>\n  <\/em>\n<\/strong> <strong>()<\/strong> <strong>{<\/strong><br><strong>\n  <em>\n    <span style=\"color: #000080;\">var<\/span>\n  <\/em>\n<\/strong> userName <strong>=<\/strong> document<strong>.<\/strong>getElementById<strong>(<\/strong>Login<strong>.<\/strong>userNameInput<strong>);<\/strong><br><strong>\n  <em>\n    <span style=\"color: #000080;\">var<\/span>\n  <\/em>\n<\/strong> lowerUserName <strong>=<\/strong> userName<strong>.<\/strong>value<strong>.<\/strong>toLowerCase<strong>();<\/strong><br><br><span style=\"color: #008000;\">\/\/Check to see if they already included the UPN<br><\/span><strong>\n  <em>\n    <span style=\"color: #000080;\">var<\/span>\n  <\/em>\n<\/strong> li <strong>=<\/strong> lowerUserName<strong>.<\/strong>lastIndexOf<strong>(<\/strong><span style=\"color: #808080;\">\n  <a href=\"mailto:'@education.fabrikam.com'\">@education.fabrikam.com&#8217;<\/a>\n<\/span><strong>);<\/strong><br><strong>\n  <em>\n    <span style=\"color: #000080;\">if<\/span>\n  <\/em>\n<\/strong> <strong>(<\/strong>li <strong>==<\/strong><span style=\"color: #ff0000;\">-1<\/span><strong>)<\/strong><br><strong>{<\/strong><br>  userName<strong>.<\/strong>value <strong>=<\/strong> userName<strong>.<\/strong>value <strong>+<\/strong> <span style=\"color: #808080;\">\n  <a href=\"mailto:'@education.fabrikam.com'\">@education.fabrikam.com<\/a>\n<\/span><strong>;<\/strong><br><strong>}<\/strong><br><br><strong>\n  <em>\n    <span style=\"color: #000080;\">return<\/span>\n  <\/em>\n<\/strong> <strong><em><span style=\"color: #000080;\">true<\/span><\/em>;<\/strong><br><strong>}<\/strong><br><br>document<strong>.<\/strong>getElementById<strong>(<\/strong><span style=\"color: #808080;\">&#8216;submitButton&#8217;<\/span><strong>).<\/strong>onclick <strong>=<\/strong> <strong>\n  <em>\n    <span style=\"color: #000080;\">new<\/span>\n  <\/em>\n<\/strong> Function<strong>(<\/strong><span style=\"color: #808080;\">&#8216;AppendUPN();return Login.submitLoginRequest();&#8217;<\/span><strong>);<\/strong><br>document<strong>.<\/strong>getElementById<strong>(<\/strong><span style=\"color: #808080;\">&#8216;passwordInput&#8217;<\/span><strong>).<\/strong>onkeypress <strong>=<\/strong> runScript<strong>;<\/strong><\/span><\/span><\/div>\n<\/div>\n<p style=\"font-family: Segoe UI Light; font-size: 1em;\">4. To replace the file we just modified in our custom theme, using Power Shell, run the command below:<\/p>\n<div style=\"background: threeddarkshadow; border-left-color: black; border-left-style: solid; border-left-width: thin; border-right-color: black; border-right-style: solid; border-right-width: thin; border-top-color: black; border-top-style: solid; border-top-width: thin; font-family: consolas; font-size: 0.9em; height: 28px; margin-left: 5px; padding-bottom: 5px; padding-right: 5px; padding-top: 5px; text-align: left; width: 690px;\"><strong><span style=\"color: white; vertical-align: middle;\">Script.ps1<\/span><\/strong><\/div>\n<div style=\"background: #123456; border: thin solid black; color: white; font-family: consolas; font-size: 0.9em; height: 50px; line-height: 1; margin-left: 5px; overflow: auto; padding-bottom: 5px; padding-right: 5px; padding-top: 5px; width: 690px;\"><b><b>PS C:\\Users\\John&gt; Set-AdfsWebTheme -TargetName Fabrikam -AdditionalFileResource @{Uri=&#8217; \/adfs\/portal\/script\/onload.js&#8217;;path=&#8221;C:\\Temp\\script\/onload.js&#8221;}<\/b><\/b><\/div>\n<p style=\"font-family: Segoe UI Light; font-size: 1em;\">5. Finally, to activate your new theme :<\/p>\n<div style=\"background: threeddarkshadow; border-left-color: black; border-left-style: solid; border-left-width: thin; border-right-color: black; border-right-style: solid; border-right-width: thin; border-top-color: black; border-top-style: solid; border-top-width: thin; font-family: consolas; font-size: 0.9em; height: 28px; margin-left: 5px; padding-bottom: 5px; padding-right: 5px; padding-top: 5px; text-align: left; width: 690px;\"><strong><span style=\"color: white; vertical-align: middle;\">Script.ps1<\/span><\/strong><\/div>\n<div style=\"background: #123456; border: thin solid black; color: white; font-family: consolas; font-size: 0.9em; height: 30px; line-height: 1; margin-left: 5px; overflow: auto; padding-bottom: 5px; padding-right: 5px; padding-top: 5px; width: 690px;\"><b><b>PS C:\\Users\\John&gt; Set-AdfsWebConfig -ActiveThemeName Fabrikam<\/b><\/b><\/div>\n<p> <\/p>\n<p><img decoding=\"async\" style=\"float: right;\" src=\"\/resized-image\/__size\/940x0\/__key\/communityserver-blogs-components-weblogfiles\/00-00-00-00-74\/Office_5F00_365_5F00_logo.png\" alt=\" \" width=\"150\"><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>How to auto-complete a user&#8217;s domain when authenticating via ADFS.<\/p>\n","protected":false},"author":1,"featured_media":1615,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[62],"tags":[75,74],"class_list":["post-1729","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-microsoft-365-en","tag-adfs-en","tag-powershell-en"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.3 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>ADFS Domain auto completion &#062; JD. Blog<\/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:\/\/johndeletre.blog\/en\/2015\/03\/adfs-domain-auto-completion\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"ADFS Domain auto completion\" \/>\n<meta property=\"og:description\" content=\"How to auto-complete a user&#039;s domain when authenticating via ADFS.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/johndeletre.blog\/en\/2015\/03\/adfs-domain-auto-completion\/\" \/>\n<meta property=\"og:site_name\" content=\"JD. Blog\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/TheCowboy974\" \/>\n<meta property=\"article:published_time\" content=\"2015-03-22T15:28:40+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-16T20:01:15+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/johndeletre.blog\/wp-content\/uploads\/2015\/03\/microsoft-adfs.png\" \/>\n\t<meta property=\"og:image:width\" content=\"528\" \/>\n\t<meta property=\"og:image:height\" content=\"240\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"John Deletre\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/john_deletre\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"John Deletre\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/johndeletre.blog\\\/en\\\/2015\\\/03\\\/adfs-domain-auto-completion\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/johndeletre.blog\\\/en\\\/2015\\\/03\\\/adfs-domain-auto-completion\\\/\"},\"author\":{\"name\":\"John Deletre\",\"@id\":\"https:\\\/\\\/johndeletre.blog\\\/en\\\/#\\\/schema\\\/person\\\/76185eeef8e3b5739329b634aab80675\"},\"headline\":\"ADFS Domain auto completion\",\"datePublished\":\"2015-03-22T15:28:40+00:00\",\"dateModified\":\"2023-12-16T20:01:15+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/johndeletre.blog\\\/en\\\/2015\\\/03\\\/adfs-domain-auto-completion\\\/\"},\"wordCount\":326,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/johndeletre.blog\\\/en\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/johndeletre.blog\\\/en\\\/2015\\\/03\\\/adfs-domain-auto-completion\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/johndeletre.blog\\\/wp-content\\\/uploads\\\/2015\\\/03\\\/microsoft-adfs.png\",\"keywords\":[\"ADFS\",\"PowerShell\"],\"articleSection\":[\"Microsoft 365\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/johndeletre.blog\\\/en\\\/2015\\\/03\\\/adfs-domain-auto-completion\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/johndeletre.blog\\\/en\\\/2015\\\/03\\\/adfs-domain-auto-completion\\\/\",\"url\":\"https:\\\/\\\/johndeletre.blog\\\/en\\\/2015\\\/03\\\/adfs-domain-auto-completion\\\/\",\"name\":\"ADFS Domain auto completion &#062; JD. Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/johndeletre.blog\\\/en\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/johndeletre.blog\\\/en\\\/2015\\\/03\\\/adfs-domain-auto-completion\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/johndeletre.blog\\\/en\\\/2015\\\/03\\\/adfs-domain-auto-completion\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/johndeletre.blog\\\/wp-content\\\/uploads\\\/2015\\\/03\\\/microsoft-adfs.png\",\"datePublished\":\"2015-03-22T15:28:40+00:00\",\"dateModified\":\"2023-12-16T20:01:15+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/johndeletre.blog\\\/en\\\/2015\\\/03\\\/adfs-domain-auto-completion\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/johndeletre.blog\\\/en\\\/2015\\\/03\\\/adfs-domain-auto-completion\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/johndeletre.blog\\\/en\\\/2015\\\/03\\\/adfs-domain-auto-completion\\\/#primaryimage\",\"url\":\"https:\\\/\\\/johndeletre.blog\\\/wp-content\\\/uploads\\\/2015\\\/03\\\/microsoft-adfs.png\",\"contentUrl\":\"https:\\\/\\\/johndeletre.blog\\\/wp-content\\\/uploads\\\/2015\\\/03\\\/microsoft-adfs.png\",\"width\":528,\"height\":240},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/johndeletre.blog\\\/en\\\/2015\\\/03\\\/adfs-domain-auto-completion\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\\\/\\\/johndeletre.blog\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"ADFS Domain auto completion\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/johndeletre.blog\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/johndeletre.blog\\\/en\\\/\",\"name\":\"JD. Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/johndeletre.blog\\\/en\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/johndeletre.blog\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/johndeletre.blog\\\/en\\\/#organization\",\"name\":\"JD. Blog\",\"url\":\"https:\\\/\\\/johndeletre.blog\\\/en\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/johndeletre.blog\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/johndeletre.blog\\\/wp-content\\\/uploads\\\/2022\\\/09\\\/cropped-Sans-titre-3.png\",\"contentUrl\":\"https:\\\/\\\/johndeletre.blog\\\/wp-content\\\/uploads\\\/2022\\\/09\\\/cropped-Sans-titre-3.png\",\"width\":512,\"height\":512,\"caption\":\"JD. Blog\"},\"image\":{\"@id\":\"https:\\\/\\\/johndeletre.blog\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/johndeletre.blog\\\/en\\\/#\\\/schema\\\/person\\\/76185eeef8e3b5739329b634aab80675\",\"name\":\"John Deletre\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e517726adf28d9166f91b0b3ea3976a170461f52f609f765df04b90346c87471?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e517726adf28d9166f91b0b3ea3976a170461f52f609f765df04b90346c87471?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e517726adf28d9166f91b0b3ea3976a170461f52f609f765df04b90346c87471?s=96&d=mm&r=g\",\"caption\":\"John Deletre\"},\"sameAs\":[\"https:\\\/\\\/johndeletre.blog\",\"https:\\\/\\\/www.facebook.com\\\/TheCowboy974\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/johndeletre\\\/\",\"https:\\\/\\\/x.com\\\/https:\\\/\\\/twitter.com\\\/john_deletre\"],\"url\":\"https:\\\/\\\/johndeletre.blog\\\/en\\\/author\\\/johnadmin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"ADFS Domain auto completion &#062; JD. Blog","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:\/\/johndeletre.blog\/en\/2015\/03\/adfs-domain-auto-completion\/","og_locale":"en_US","og_type":"article","og_title":"ADFS Domain auto completion","og_description":"How to auto-complete a user's domain when authenticating via ADFS.","og_url":"https:\/\/johndeletre.blog\/en\/2015\/03\/adfs-domain-auto-completion\/","og_site_name":"JD. Blog","article_author":"https:\/\/www.facebook.com\/TheCowboy974","article_published_time":"2015-03-22T15:28:40+00:00","article_modified_time":"2023-12-16T20:01:15+00:00","og_image":[{"width":528,"height":240,"url":"https:\/\/johndeletre.blog\/wp-content\/uploads\/2015\/03\/microsoft-adfs.png","type":"image\/png"}],"author":"John Deletre","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/john_deletre","twitter_misc":{"Written by":"John Deletre","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/johndeletre.blog\/en\/2015\/03\/adfs-domain-auto-completion\/#article","isPartOf":{"@id":"https:\/\/johndeletre.blog\/en\/2015\/03\/adfs-domain-auto-completion\/"},"author":{"name":"John Deletre","@id":"https:\/\/johndeletre.blog\/en\/#\/schema\/person\/76185eeef8e3b5739329b634aab80675"},"headline":"ADFS Domain auto completion","datePublished":"2015-03-22T15:28:40+00:00","dateModified":"2023-12-16T20:01:15+00:00","mainEntityOfPage":{"@id":"https:\/\/johndeletre.blog\/en\/2015\/03\/adfs-domain-auto-completion\/"},"wordCount":326,"commentCount":0,"publisher":{"@id":"https:\/\/johndeletre.blog\/en\/#organization"},"image":{"@id":"https:\/\/johndeletre.blog\/en\/2015\/03\/adfs-domain-auto-completion\/#primaryimage"},"thumbnailUrl":"https:\/\/johndeletre.blog\/wp-content\/uploads\/2015\/03\/microsoft-adfs.png","keywords":["ADFS","PowerShell"],"articleSection":["Microsoft 365"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/johndeletre.blog\/en\/2015\/03\/adfs-domain-auto-completion\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/johndeletre.blog\/en\/2015\/03\/adfs-domain-auto-completion\/","url":"https:\/\/johndeletre.blog\/en\/2015\/03\/adfs-domain-auto-completion\/","name":"ADFS Domain auto completion &#062; JD. Blog","isPartOf":{"@id":"https:\/\/johndeletre.blog\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/johndeletre.blog\/en\/2015\/03\/adfs-domain-auto-completion\/#primaryimage"},"image":{"@id":"https:\/\/johndeletre.blog\/en\/2015\/03\/adfs-domain-auto-completion\/#primaryimage"},"thumbnailUrl":"https:\/\/johndeletre.blog\/wp-content\/uploads\/2015\/03\/microsoft-adfs.png","datePublished":"2015-03-22T15:28:40+00:00","dateModified":"2023-12-16T20:01:15+00:00","breadcrumb":{"@id":"https:\/\/johndeletre.blog\/en\/2015\/03\/adfs-domain-auto-completion\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/johndeletre.blog\/en\/2015\/03\/adfs-domain-auto-completion\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/johndeletre.blog\/en\/2015\/03\/adfs-domain-auto-completion\/#primaryimage","url":"https:\/\/johndeletre.blog\/wp-content\/uploads\/2015\/03\/microsoft-adfs.png","contentUrl":"https:\/\/johndeletre.blog\/wp-content\/uploads\/2015\/03\/microsoft-adfs.png","width":528,"height":240},{"@type":"BreadcrumbList","@id":"https:\/\/johndeletre.blog\/en\/2015\/03\/adfs-domain-auto-completion\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/johndeletre.blog\/en\/"},{"@type":"ListItem","position":2,"name":"ADFS Domain auto completion"}]},{"@type":"WebSite","@id":"https:\/\/johndeletre.blog\/en\/#website","url":"https:\/\/johndeletre.blog\/en\/","name":"JD. Blog","description":"","publisher":{"@id":"https:\/\/johndeletre.blog\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/johndeletre.blog\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/johndeletre.blog\/en\/#organization","name":"JD. Blog","url":"https:\/\/johndeletre.blog\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/johndeletre.blog\/en\/#\/schema\/logo\/image\/","url":"https:\/\/johndeletre.blog\/wp-content\/uploads\/2022\/09\/cropped-Sans-titre-3.png","contentUrl":"https:\/\/johndeletre.blog\/wp-content\/uploads\/2022\/09\/cropped-Sans-titre-3.png","width":512,"height":512,"caption":"JD. Blog"},"image":{"@id":"https:\/\/johndeletre.blog\/en\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/johndeletre.blog\/en\/#\/schema\/person\/76185eeef8e3b5739329b634aab80675","name":"John Deletre","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/e517726adf28d9166f91b0b3ea3976a170461f52f609f765df04b90346c87471?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/e517726adf28d9166f91b0b3ea3976a170461f52f609f765df04b90346c87471?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e517726adf28d9166f91b0b3ea3976a170461f52f609f765df04b90346c87471?s=96&d=mm&r=g","caption":"John Deletre"},"sameAs":["https:\/\/johndeletre.blog","https:\/\/www.facebook.com\/TheCowboy974","https:\/\/www.linkedin.com\/in\/johndeletre\/","https:\/\/x.com\/https:\/\/twitter.com\/john_deletre"],"url":"https:\/\/johndeletre.blog\/en\/author\/johnadmin\/"}]}},"jetpack_featured_media_url":"https:\/\/johndeletre.blog\/wp-content\/uploads\/2015\/03\/microsoft-adfs.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/johndeletre.blog\/en\/wp-json\/wp\/v2\/posts\/1729","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/johndeletre.blog\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/johndeletre.blog\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/johndeletre.blog\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/johndeletre.blog\/en\/wp-json\/wp\/v2\/comments?post=1729"}],"version-history":[{"count":0,"href":"https:\/\/johndeletre.blog\/en\/wp-json\/wp\/v2\/posts\/1729\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/johndeletre.blog\/en\/wp-json\/wp\/v2\/media\/1615"}],"wp:attachment":[{"href":"https:\/\/johndeletre.blog\/en\/wp-json\/wp\/v2\/media?parent=1729"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/johndeletre.blog\/en\/wp-json\/wp\/v2\/categories?post=1729"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/johndeletre.blog\/en\/wp-json\/wp\/v2\/tags?post=1729"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}