<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Chads Notes</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/chadcox/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/chadcox/feed.xml</link>
    <description>Things I find that I think you should know</description>
    <lastBuildDate>Fri, 27 Jul 2018 19:26:17 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>My Notes On Setting Up ADFS 2016 Extranet Smart Lockout</title>
      <link>https://docs.microsoft.com/archive/blogs/chadcox/my-notes-on-setting-up-adfs-2016-extranet-smart-lockout</link>
      <pubDate>Thu, 26 Jul 2018 19:22:40 GMT</pubDate>
      <dc:creator><![CDATA[Chad Cox]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/chadcox/?p=4685</guid>
      <description><![CDATA[Here are some of the things I have found while setting up Extranet Smart Lockout on ADFS 2016.&nbsp;...]]></description>
      <content:encoded><![CDATA[<p>Here are some of the things I have found while setting up Extranet Smart Lockout on ADFS 2016.&nbsp; For the most part everything is very straight forward.</p> <p>This blog is my notes about configuring this and is not meant to be a replacement for the actual instructions:</p> <p><a href="https://support.microsoft.com/en-us/help/4096478/extranet-smart-lockout-feature-in-windows-server-2016" target="_blank">Description of the Extranet Smart Lockout feature in Windows Server 2016</a></p> <p><a href="https://docs.microsoft.com/en-us/windows-server/identity/ad-fs/operations/configure-ad-fs-extranet-smart-lockout-protection" target="_blank">AD FS Extranet Lockout and Extranet Smart Lockout</a></p> <p>This article was originally published on 7/26/2018</p> <h3>Enable ADFS Logging</h3> <div id="codeSnippetWrapper" style="font-size: 8pt;overflow: auto;cursor: text;border-top: silver 1px solid;font-family: 'Courier New', courier, monospace;border-right: silver 1px solid;width: 97.5%;border-bottom: silver 1px solid;padding-bottom: 4px;direction: ltr;text-align: left;padding-top: 4px;padding-left: 4px;border-left: silver 1px solid;margin: 20px 0px 10px;line-height: 12pt;padding-right: 4px;max-height: 200px;background-color: #f4f4f4"> <div id="codeSnippet" style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4"><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white"># This will Add the audit settings to your existing settings</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">set-AdfsProperties -LogLevel ((Get-AdfsProperties).LogLevel+<span style="color: #006080">'SuccessAudits'</span>,<span style="color: #006080">'FailureAudits'</span>)</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white"># Or just add all the logging</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">Set-ADFSProperties -LogLevel Verbose,Errors,Warnings,Information,SuccessAudits,FailureAudits</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">#validate SuccessAudit and FailureAudits <span style="color: #0000ff">is</span> set</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">(Get-AdfsProperties).loglevel</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">&nbsp;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">#Make Sure the Security Audit Policy <span style="color: #0000ff">is</span> enabled</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">auditpol.exe /set /subcategory:<span style="color: #006080">"Application Generated"</span> /failure:enable /success:enable</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">#validate</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">auditpol.exe /get /subcategory:<span style="color: #006080">"Application Generated"</span></pre><!--CRLF--></div></div>
<p><a href="https://msdnshared.blob.core.windows.net/media/2018/07/clip_image0011.png"><img title="clip_image001" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="clip_image001" src="https://msdnshared.blob.core.windows.net/media/2018/07/clip_image001_thumb2.png" width="449" height="139"></a></p>
<h3>Enable Extranet Lockout Logging</h3>
<div id="codeSnippetWrapper" style="font-size: 8pt;overflow: auto;cursor: text;border-top: silver 1px solid;font-family: 'Courier New', courier, monospace;border-right: silver 1px solid;width: 97.5%;border-bottom: silver 1px solid;padding-bottom: 4px;direction: ltr;text-align: left;padding-top: 4px;padding-left: 4px;border-left: silver 1px solid;margin: 20px 0px 10px;line-height: 12pt;padding-right: 4px;max-height: 200px;background-color: #f4f4f4">
<div id="codeSnippet" style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4"><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">#it will prompt <span style="color: #0000ff">for</span> an account use an account with ADFS Administrators Rights</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">Update-AdfsArtifactDatabasePermission</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">&lt;#Note <span style="color: #0000ff">if</span> WINRM isn't working correctly on the ADFS Farm Nodes, it will display a message very similar to that the patch <span style="color: #0000ff">is</span> missing.#&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">&nbsp;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">#Enable Log Only First and Monitor lockout activity</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">Set-AdfsProperties -ExtranetLockoutMode AdfsSmartlockoutLogOnly</pre><!--CRLF--></div></div>
<p><a href="https://msdnshared.blob.core.windows.net/media/2018/07/clip_image0015.png"><img title="clip_image001[5]" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="clip_image001[5]" src="https://msdnshared.blob.core.windows.net/media/2018/07/clip_image0015_thumb.png" width="488" height="58"></a></p>
<div id="codeSnippetWrapper" style="font-size: 8pt;overflow: auto;cursor: text;border-top: silver 1px solid;font-family: 'Courier New', courier, monospace;border-right: silver 1px solid;width: 97.5%;border-bottom: silver 1px solid;padding-bottom: 4px;direction: ltr;text-align: left;padding-top: 4px;padding-left: 4px;border-left: silver 1px solid;margin: 20px 0px 10px;line-height: 12pt;padding-right: 4px;max-height: 200px;background-color: #f4f4f4">
<div id="codeSnippet" style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4"><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">#restart the adfs service</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">restart-service adfss*</pre><!--CRLF--></div></div>
<p><a href="https://msdnshared.blob.core.windows.net/media/2018/07/clip_image0017.png"><img title="clip_image001[7]" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="clip_image001[7]" src="https://msdnshared.blob.core.windows.net/media/2018/07/clip_image0017_thumb.png" width="502" height="66"></a></p>
<div id="codeSnippetWrapper" style="font-size: 8pt;overflow: auto;cursor: text;border-top: silver 1px solid;font-family: 'Courier New', courier, monospace;border-right: silver 1px solid;width: 97.5%;border-bottom: silver 1px solid;padding-bottom: 4px;direction: ltr;text-align: left;padding-top: 4px;padding-left: 4px;border-left: silver 1px solid;margin: 20px 0px 10px;line-height: 12pt;padding-right: 4px;max-height: 200px;background-color: #f4f4f4">
<div id="codeSnippet" style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4"><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">#The lockout Threshold <span style="color: #0000ff">is</span> the number of failed password attempts that must occur from a unfamiliar location</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">#before the account gets locked <span style="color: #0000ff">out</span> from the ADFS Side.</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">Set-AdfsProperties -ExtranetLockoutThreshold 10</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">(Get-AdfsProperties).ExtranetLockoutThreshold</pre><!--CRLF--></div></div>
<p><a href="https://msdnshared.blob.core.windows.net/media/2018/07/clip_image0019.png"><img title="clip_image001[9]" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="clip_image001[9]" src="https://msdnshared.blob.core.windows.net/media/2018/07/clip_image0019_thumb.png" width="495" height="74"></a></p>
<div id="codeSnippetWrapper" style="font-size: 8pt;overflow: auto;cursor: text;border-top: silver 1px solid;font-family: 'Courier New', courier, monospace;border-right: silver 1px solid;width: 97.5%;border-bottom: silver 1px solid;padding-bottom: 4px;direction: ltr;text-align: left;padding-top: 4px;padding-left: 4px;border-left: silver 1px solid;margin: 20px 0px 10px;line-height: 12pt;padding-right: 4px;max-height: 200px;background-color: #f4f4f4">
<div id="codeSnippet" style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4"><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">#the observation window <span style="color: #0000ff">is</span> the amount of time that must pass before the extranet lockout</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">#automatically unlocks</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">Set-AdfsProperties -ExtranetObservationWindow ( <span style="color: #0000ff">new</span>-timespan -minutes 15 )</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">(get-AdfsProperties).ExtranetObservationWindow</pre><!--CRLF--></div></div>
<p><a href="https://msdnshared.blob.core.windows.net/media/2018/07/clip_image00111.png"><img title="clip_image001[11]" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="clip_image001[11]" src="https://msdnshared.blob.core.windows.net/media/2018/07/clip_image00111_thumb.png" width="471" height="136"></a></p>
<div id="codeSnippetWrapper" style="font-size: 8pt;overflow: auto;cursor: text;border-top: silver 1px solid;font-family: 'Courier New', courier, monospace;border-right: silver 1px solid;width: 97.5%;border-bottom: silver 1px solid;padding-bottom: 4px;direction: ltr;text-align: left;padding-top: 4px;padding-left: 4px;border-left: silver 1px solid;margin: 20px 0px 10px;line-height: 12pt;padding-right: 4px;max-height: 200px;background-color: #f4f4f4">
<div id="codeSnippet" style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4"><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">#enable Extranet Lockout</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">Set-AdfsProperties -EnableExtranetLockout $<span style="color: #0000ff">true</span></pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">#Validate</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">get-AdfsProperties | select *<span style="color: #0000ff">lock</span>*,bannediplist | fl</pre><!--CRLF--></div></div>
<p><a href="https://msdnshared.blob.core.windows.net/media/2018/07/clip_image00113.png"><img title="clip_image001[13]" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="clip_image001[13]" src="https://msdnshared.blob.core.windows.net/media/2018/07/clip_image00113_thumb.png" width="487" height="32"></a></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/2018/07/clip_image002.png"><img title="clip_image002" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="clip_image002" src="https://msdnshared.blob.core.windows.net/media/2018/07/clip_image002_thumb.png" width="496" height="109"></a></p>
<p>Note: pay attention to the BannedIPList, while troubleshooting an issue where external logons where failing after the update, the second an IP went into the BannedIPList it didn’t seem to matter what the Mode was set to or that it wasn’t enabled. 
<h3>Test Extranet Smart Lockout</h3>
<p>Open web browser of choice and go to adfs’s external IdpInitiatedSignon, may have to update host file to external IP 
<p>You may have to enable: <a href="https://blogs.technet.microsoft.com/rmilne/2017/06/20/how-to-enable-idpinitiatedsignon-page-in-ad-fs-2016/" target="_blank">How to Enable IdpInitiatedSignon Page In AD FS 2016</a> 
<p>Entered bad passwords for a user multiple times</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/2018/07/image133.png"><img title="image" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;margin: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/2018/07/image_thumb119.png" width="244" height="169"></a></p>
<div id="codeSnippetWrapper" style="font-size: 8pt;overflow: auto;cursor: text;border-top: silver 1px solid;font-family: 'Courier New', courier, monospace;border-right: silver 1px solid;width: 97.5%;border-bottom: silver 1px solid;padding-bottom: 4px;direction: ltr;text-align: left;padding-top: 4px;padding-left: 4px;border-left: silver 1px solid;margin: 20px 0px 10px;line-height: 12pt;padding-right: 4px;max-height: 200px;background-color: #f4f4f4">
<div id="codeSnippet" style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4"><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">#Check the users ADFS Account Activity</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">Get-ADFSAccountActivity useremailaddress/upn</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">Get-ADFSAccountActivity Aedan.Stokes@16lab.chadcolabs.us</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">#check to see <span style="color: #0000ff">if</span> the users bad password account <span style="color: #0000ff">in</span> AD <span style="color: #0000ff">is</span> increasing</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">get-aduser samaccountname -properties badPwdCount,lockedout</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">get-aduser 112571 -properties badPwdCount,lockedout</pre><!--CRLF--></div></div>
<p><a href="https://msdnshared.blob.core.windows.net/media/2018/07/clip_image00115.png"><img title="clip_image001[15]" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="clip_image001[15]" src="https://msdnshared.blob.core.windows.net/media/2018/07/clip_image00115_thumb.png" width="381" height="108"></a></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/2018/07/clip_image0025.png"><img title="clip_image002[5]" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="clip_image002[5]" src="https://msdnshared.blob.core.windows.net/media/2018/07/clip_image0025_thumb.png" width="376" height="106"></a></p>
<p>On the ADFS Server the following events are in the Security Event Log</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/2018/07/clip_image00117.png"><img title="clip_image001[17]" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="clip_image001[17]" src="https://msdnshared.blob.core.windows.net/media/2018/07/clip_image00117_thumb.png" width="441" height="57"></a></p>
<p><strong>Event ID 1203</strong></p>
<div id="codeSnippetWrapper" style="font-size: 8pt;overflow: auto;cursor: text;border-top: silver 1px solid;font-family: 'Courier New', courier, monospace;border-right: silver 1px solid;width: 97.5%;border-bottom: silver 1px solid;padding-bottom: 4px;direction: ltr;text-align: left;padding-top: 4px;padding-left: 4px;border-left: silver 1px solid;margin: 20px 0px 10px;line-height: 12pt;padding-right: 4px;max-height: 200px;background-color: #f4f4f4">
<div id="codeSnippet" style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4"><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">The Federation Service failed to validate a <span style="color: #0000ff">new</span> credential. See XML <span style="color: #0000ff">for</span> failure details. </pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">&nbsp;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">Activity ID: b71497c7-bb2d-496b-ff1e-0080000000c8 </pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">&nbsp;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">Additional Data </pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">XML: &lt;?xml version=<span style="color: #006080">"1.0"</span> encoding=<span style="color: #006080">"utf-16"</span>?&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">&lt;AuditBase xmlns:xsd=<span style="color: #006080">"http://www.w3.org/2001/XMLSchema"</span> xmlns:xsi=<span style="color: #006080">"http://www.w3.org/2001/XMLSchema-instance"</span> xsi:type=<span style="color: #006080">"FreshCredentialAudit"</span>&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">  &lt;AuditType&gt;FreshCredentials&lt;/AuditType&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">  &lt;AuditResult&gt;Failure&lt;/AuditResult&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">  &lt;FailureType&gt;CredentialValidationError&lt;/FailureType&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">  &lt;ErrorCode&gt;N/A&lt;/ErrorCode&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">  &lt;ContextComponents&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">    &lt;Component xsi:type=<span style="color: #006080">"ResourceAuditComponent"</span>&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">      &lt;RelyingParty&gt;http:<span style="color: #008000">//sts.16lab.chadcolabs.us/adfs/services/trust&lt;/RelyingParty&gt;</span></pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">      &lt;ClaimsProvider&gt;N/A&lt;/ClaimsProvider&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">      &lt;UserId&gt;Aedan.Stokes@16lab.chadcolabs.us&lt;/UserId&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">    &lt;/Component&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">    &lt;Component xsi:type=<span style="color: #006080">"AuthNAuditComponent"</span>&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">      &lt;PrimaryAuth&gt;N/A&lt;/PrimaryAuth&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">      &lt;DeviceAuth&gt;<span style="color: #0000ff">false</span>&lt;/DeviceAuth&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">      &lt;DeviceId&gt;N/A&lt;/DeviceId&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">      &lt;MfaPerformed&gt;<span style="color: #0000ff">false</span>&lt;/MfaPerformed&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">      &lt;MfaMethod&gt;N/A&lt;/MfaMethod&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">      &lt;TokenBindingProvidedId&gt;<span style="color: #0000ff">false</span>&lt;/TokenBindingProvidedId&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">      &lt;TokenBindingReferredId&gt;<span style="color: #0000ff">false</span>&lt;/TokenBindingReferredId&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">      &lt;SsoBindingValidationLevel&gt;NotSet&lt;/SsoBindingValidationLevel&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">    &lt;/Component&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">    &lt;Component xsi:type=<span style="color: #006080">"ProtocolAuditComponent"</span>&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">      &lt;OAuthClientId&gt;N/A&lt;/OAuthClientId&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">      &lt;OAuthGrant&gt;N/A&lt;/OAuthGrant&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">    &lt;/Component&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">    &lt;Component xsi:type=<span style="color: #006080">"RequestAuditComponent"</span>&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">      &lt;Server&gt;http:<span style="color: #008000">//sts.16lab.chadcolabs.us/adfs/services/trust&lt;/Server&gt;</span></pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">      &lt;AuthProtocol&gt;SAMLP&lt;/AuthProtocol&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">      &lt;NetworkLocation&gt;Extranet&lt;/NetworkLocation&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">      &lt;IpAddress&gt;10.10.10.25&lt;/IpAddress&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">      &lt;ForwardedIpAddress&gt;10.10.10.25&lt;/ForwardedIpAddress&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">      &lt;ProxyIpAddress&gt;N/A&lt;/ProxyIpAddress&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">      &lt;NetworkIpAddress&gt;N/A&lt;/NetworkIpAddress&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">      &lt;ProxyServer&gt;16LAB-WAP1&lt;/ProxyServer&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">      &lt;UserAgentString&gt;Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/17.17134&lt;/UserAgentString&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">      &lt;Endpoint&gt;/adfs/ls/idpinitiatedsignon&lt;/Endpoint&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">    &lt;/Component&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">  &lt;/ContextComponents&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">&lt;/AuditBase&gt;</pre><!--CRLF--></div>
<p>&nbsp;</p></div>
<p><em>*I like that the log calls out the proxy server the user is coming through</em></p>
<p><strong>Event ID 1201</strong></p>
<div id="codeSnippetWrapper" style="font-size: 8pt;overflow: auto;cursor: text;border-top: silver 1px solid;font-family: 'Courier New', courier, monospace;border-right: silver 1px solid;width: 97.5%;border-bottom: silver 1px solid;padding-bottom: 4px;direction: ltr;text-align: left;padding-top: 4px;padding-left: 4px;border-left: silver 1px solid;margin: 20px 0px 10px;line-height: 12pt;padding-right: 4px;max-height: 200px;background-color: #f4f4f4">
<div id="codeSnippet" style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4"><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">The Federation Service failed to issue a valid token. See XML <span style="color: #0000ff">for</span> failure details. </pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">&nbsp;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">Activity ID: b71497c7-bb2d-496b-ff1e-0080000000c8 </pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">&nbsp;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">Additional Data </pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">XML: &lt;?xml version=<span style="color: #006080">"1.0"</span> encoding=<span style="color: #006080">"utf-16"</span>?&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">&lt;AuditBase xmlns:xsd=<span style="color: #006080">"http://www.w3.org/2001/XMLSchema"</span> xmlns:xsi=<span style="color: #006080">"http://www.w3.org/2001/XMLSchema-instance"</span> xsi:type=<span style="color: #006080">"AppTokenAudit"</span>&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">  &lt;AuditType&gt;AppToken&lt;/AuditType&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">  &lt;AuditResult&gt;Failure&lt;/AuditResult&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">  &lt;FailureType&gt;GenericError&lt;/FailureType&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">  &lt;ErrorCode&gt;N/A&lt;/ErrorCode&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">  &lt;ContextComponents&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">    &lt;Component xsi:type=<span style="color: #006080">"ResourceAuditComponent"</span>&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">      &lt;RelyingParty&gt;http:<span style="color: #008000">//sts.16lab.chadcolabs.us/adfs/services/trust&lt;/RelyingParty&gt;</span></pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">      &lt;ClaimsProvider&gt;N/A&lt;/ClaimsProvider&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">      &lt;UserId&gt;Aedan.Stokes@16lab.chadcolabs.us&lt;/UserId&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">    &lt;/Component&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">    &lt;Component xsi:type=<span style="color: #006080">"AuthNAuditComponent"</span>&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">      &lt;PrimaryAuth&gt;N/A&lt;/PrimaryAuth&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">      &lt;DeviceAuth&gt;<span style="color: #0000ff">false</span>&lt;/DeviceAuth&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">      &lt;DeviceId&gt;N/A&lt;/DeviceId&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">      &lt;MfaPerformed&gt;<span style="color: #0000ff">false</span>&lt;/MfaPerformed&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">      &lt;MfaMethod&gt;N/A&lt;/MfaMethod&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">      &lt;TokenBindingProvidedId&gt;<span style="color: #0000ff">false</span>&lt;/TokenBindingProvidedId&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">      &lt;TokenBindingReferredId&gt;<span style="color: #0000ff">false</span>&lt;/TokenBindingReferredId&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">      &lt;SsoBindingValidationLevel&gt;NotSet&lt;/SsoBindingValidationLevel&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">    &lt;/Component&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">    &lt;Component xsi:type=<span style="color: #006080">"ProtocolAuditComponent"</span>&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">      &lt;OAuthClientId&gt;N/A&lt;/OAuthClientId&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">      &lt;OAuthGrant&gt;N/A&lt;/OAuthGrant&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">    &lt;/Component&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">    &lt;Component xsi:type=<span style="color: #006080">"RequestAuditComponent"</span>&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">      &lt;Server&gt;http:<span style="color: #008000">//sts.16lab.chadcolabs.us/adfs/services/trust&lt;/Server&gt;</span></pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">      &lt;AuthProtocol&gt;SAMLP&lt;/AuthProtocol&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">      &lt;NetworkLocation&gt;Extranet&lt;/NetworkLocation&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">      &lt;IpAddress&gt;10.10.10.25&lt;/IpAddress&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">      &lt;ForwardedIpAddress&gt;10.10.10.25&lt;/ForwardedIpAddress&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">      &lt;ProxyIpAddress&gt;N/A&lt;/ProxyIpAddress&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">      &lt;NetworkIpAddress&gt;N/A&lt;/NetworkIpAddress&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">      &lt;ProxyServer&gt;16LAB-WAP1&lt;/ProxyServer&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">      &lt;UserAgentString&gt;Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/17.17134&lt;/UserAgentString&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">      &lt;Endpoint&gt;/adfs/ls/idpinitiatedsignon&lt;/Endpoint&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">    &lt;/Component&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">  &lt;/ContextComponents&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">&lt;/AuditBase&gt;</pre><!--CRLF--></div></div>
<p><strong>Event ID 4625</strong></p>
<div id="codeSnippetWrapper" style="font-size: 8pt;overflow: auto;cursor: text;border-top: silver 1px solid;font-family: 'Courier New', courier, monospace;border-right: silver 1px solid;width: 97.5%;border-bottom: silver 1px solid;padding-bottom: 4px;direction: ltr;text-align: left;padding-top: 4px;padding-left: 4px;border-left: silver 1px solid;margin: 20px 0px 10px;line-height: 12pt;padding-right: 4px;max-height: 200px;background-color: #f4f4f4">
<div id="codeSnippet" style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4"><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">An account failed to log on.</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">&nbsp;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">Subject:</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">    Security ID:        NULL SID</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">    Account Name:        -</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">    Account Domain:        -</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">    Logon ID:        0x0</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">&nbsp;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">Logon Type:            3</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">&nbsp;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">Account For Which Logon Failed:</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">    Security ID:        NULL SID</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">    Account Name:        ADMINISTRATOR</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">    Account Domain:        </pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">&nbsp;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">Failure Information:</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">    Failure Reason:        Unknown user name or bad password.</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">    Status:            0xC000006D</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">    Sub Status:        0xC0000064</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">&nbsp;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">Process Information:</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">    Caller Process ID:    0x0</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">    Caller Process Name:    -</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">&nbsp;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">Network Information:</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">    Workstation Name:    -</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">    Source Network Address:    108.30.90.24</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">    Source Port:        0</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">&nbsp;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">Detailed Authentication Information:</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">    Logon Process:        NtLmSsp </pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">    Authentication Package:    NTLM</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">    Transited Services:    -</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">    Package Name (NTLM only):    -</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">    Key Length:        0</pre><!--CRLF--></div></div>
<p><em>*The ip in this event is not the client ip’s</em></p>
<p><strong>Once the lockout occurs Event ID 1210</strong></p>
<div id="codeSnippetWrapper" style="font-size: 8pt;overflow: auto;cursor: text;border-top: silver 1px solid;font-family: 'Courier New', courier, monospace;border-right: silver 1px solid;width: 97.5%;border-bottom: silver 1px solid;padding-bottom: 4px;direction: ltr;text-align: left;padding-top: 4px;padding-left: 4px;border-left: silver 1px solid;margin: 20px 0px 10px;line-height: 12pt;padding-right: 4px;max-height: 200px;background-color: #f4f4f4">
<div id="codeSnippet" style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4"><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">An extranet lockout <span style="color: #0000ff">event</span> has occurred. See XML <span style="color: #0000ff">for</span> failure details. </pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">&nbsp;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">Activity ID: f84f9e76-a6ba-49eb-5401-0080000000c7 </pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">&nbsp;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">Additional Data </pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">XML: &lt;?xml version=<span style="color: #006080">"1.0"</span> encoding=<span style="color: #006080">"utf-16"</span>?&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">&lt;AuditBase xmlns:xsd=<span style="color: #006080">"http://www.w3.org/2001/XMLSchema"</span> xmlns:xsi=<span style="color: #006080">"http://www.w3.org/2001/XMLSchema-instance"</span> xsi:type=<span style="color: #006080">"ExtranetLockoutAudit"</span>&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">  &lt;AuditType&gt;ExtranetLockout&lt;/AuditType&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">  &lt;AuditResult&gt;Failure&lt;/AuditResult&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">  &lt;FailureType&gt;ExtranetLockoutError&lt;/FailureType&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">  &lt;ErrorCode&gt;AccountRestrictedAudit&lt;/ErrorCode&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">  &lt;ContextComponents&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">    &lt;Component xsi:type=<span style="color: #006080">"ResourceAuditComponent"</span>&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">      &lt;RelyingParty&gt;http:<span style="color: #008000">//sts.16lab.chadcolabs.us/adfs/services/trust&lt;/RelyingParty&gt;</span></pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">      &lt;ClaimsProvider&gt;N/A&lt;/ClaimsProvider&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">      &lt;UserId&gt;CONTOSO\225866&lt;/UserId&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">    &lt;/Component&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">    &lt;Component xsi:type=<span style="color: #006080">"RequestAuditComponent"</span>&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">      &lt;Server&gt;N/A&lt;/Server&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">      &lt;AuthProtocol&gt;SAMLP&lt;/AuthProtocol&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">      &lt;NetworkLocation&gt;Extranet&lt;/NetworkLocation&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">      &lt;IpAddress&gt;10.10.10.25&lt;/IpAddress&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">      &lt;ForwardedIpAddress&gt;10.10.10.25&lt;/ForwardedIpAddress&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">      &lt;ProxyIpAddress&gt;N/A&lt;/ProxyIpAddress&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">      &lt;NetworkIpAddress&gt;N/A&lt;/NetworkIpAddress&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">      &lt;ProxyServer&gt;16LAB-WAP1&lt;/ProxyServer&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">      &lt;UserAgentString&gt;Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/17.17134&lt;/UserAgentString&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">      &lt;Endpoint&gt;/adfs/ls/idpinitiatedsignon&lt;/Endpoint&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">    &lt;/Component&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">    &lt;Component xsi:type=<span style="color: #006080">"LockoutConfigAuditComponent"</span>&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">      &lt;CurrentBadPasswordCount&gt;10&lt;/CurrentBadPasswordCount&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">      &lt;ConfigBadPasswordCount&gt;10&lt;/ConfigBadPasswordCount&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">      &lt;LastBadAttempt&gt;07/26/2018 18:22:10&lt;/LastBadAttempt&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">      &lt;LockoutWindowConfig&gt;00:15:00&lt;/LockoutWindowConfig&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">    &lt;/Component&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">  &lt;/ContextComponents&gt;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">&lt;/AuditBase&gt;</pre><!--CRLF--></div></div>
<p><em>One question I need to get an answer on is what if the IP Address in 1201 or 1203 is the load balancer not the actual client?&nbsp; Updated 7/27/2018.&nbsp; if the IP Address is the Load Balancer than more than likely the WAP’s and/or ADFS’s Load Balancer is not configured to send the client IP in the </em>X-MS-Forwarded-For header.&nbsp; Work with the LB Vendor to figure out correct configuration.</p>
<p>One of the main reasons for this feature is Legacy Authentications coming from Exchange Online / Office 365.&nbsp; In order to test this logon type can be duplicated by creating a new account in outlook and manually configuring exchange activesync to outlook.office365.com server.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/2018/07/image135.png"><img title="image" style="border-top: 0px;border-right: 0px;border-bottom: 0px;padding-top: 0px;padding-left: 0px;border-left: 0px;margin: 0px;padding-right: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/2018/07/image_thumb121.png" width="244" height="35"></a></p>
<h3>Enforce Extranet Smart Lockout</h3>
<div id="codeSnippetWrapper" style="font-size: 8pt;overflow: auto;cursor: text;border-top: silver 1px solid;font-family: 'Courier New', courier, monospace;border-right: silver 1px solid;width: 97.5%;border-bottom: silver 1px solid;padding-bottom: 4px;direction: ltr;text-align: left;padding-top: 4px;padding-left: 4px;border-left: silver 1px solid;margin: 20px 0px 10px;line-height: 12pt;padding-right: 4px;max-height: 200px;background-color: #f4f4f4">
<div id="codeSnippet" style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4"><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">#after you review the logs and feel comfortable enable ADFS Smart Lockout</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">Set-AdfsProperties -ExtranetLockoutMode AdfsSmartLockoutEnforce</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">#restart adfs service can use -computername and pass each adfs node from the farm</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">Restart-service adfssrv</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">&nbsp;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">#Validate</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">get-AdfsProperties | select *<span style="color: #0000ff">lock</span>*,bannediplist | fl</pre><!--CRLF--></div></div>
<p><a href="https://msdnshared.blob.core.windows.net/media/2018/07/clip_image00119.png"><img title="clip_image001[19]" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="clip_image001[19]" src="https://msdnshared.blob.core.windows.net/media/2018/07/clip_image00119_thumb.png" width="522" height="45"></a></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/2018/07/clip_image0027.png"><img title="clip_image002[7]" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="clip_image002[7]" src="https://msdnshared.blob.core.windows.net/media/2018/07/clip_image0027_thumb.png" width="396" height="84"></a></p>
<h4>First test, will continue with the same user and will enter multiple (20 or so) bad passwords.</h4>
<div id="codeSnippetWrapper" style="font-size: 8pt;overflow: auto;cursor: text;border-top: silver 1px solid;font-family: 'Courier New', courier, monospace;border-right: silver 1px solid;width: 97.5%;border-bottom: silver 1px solid;padding-bottom: 4px;direction: ltr;text-align: left;padding-top: 4px;padding-left: 4px;border-left: silver 1px solid;margin: 20px 0px 10px;line-height: 12pt;padding-right: 4px;max-height: 200px;background-color: #f4f4f4">
<div id="codeSnippet" style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4"><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">Get-ADFSAccountActivity Aedan.Stokes@16lab.chadcolabs.us</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">get-aduser 112571 -properties badPwdCount,lockedout</pre><!--CRLF--></div></div>
<p><a href="https://msdnshared.blob.core.windows.net/media/2018/07/image134.png"><img title="image" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;margin: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/2018/07/image_thumb120.png" width="244" height="156"></a></p>
<p>*note once it is enforced the User’s Active Directory Account does not increment past the unknown threshold. </p>
<p>Next use a different account and perform a good password logon.</p>
<div id="codeSnippetWrapper" style="font-size: 8pt;overflow: auto;cursor: text;border-top: silver 1px solid;font-family: 'Courier New', courier, monospace;border-right: silver 1px solid;width: 97.5%;border-bottom: silver 1px solid;padding-bottom: 4px;direction: ltr;text-align: left;padding-top: 4px;padding-left: 4px;border-left: silver 1px solid;margin: 20px 0px 10px;line-height: 12pt;padding-right: 4px;max-height: 200px;background-color: #f4f4f4">
<div id="codeSnippet" style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4"><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">#view the ADFS Account Activity</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">Get-ADFSAccountActivity Abdiel.Conrad@16lab.chadcolabs.us</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">#a Familiar IP <span style="color: #0000ff">is</span> listed</pre><!--CRLF--></div></div>
<p><a href="https://msdnshared.blob.core.windows.net/media/2018/07/clip_image00121.png"><img title="clip_image001[21]" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;margin: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="clip_image001[21]" src="https://msdnshared.blob.core.windows.net/media/2018/07/clip_image00121_thumb.png" width="244" height="80"></a></p>
<p>Repeat the logon to ADFS with several bad passwords</p>
<div id="codeSnippetWrapper" style="font-size: 8pt;overflow: auto;cursor: text;border-top: silver 1px solid;font-family: 'Courier New', courier, monospace;border-right: silver 1px solid;width: 97.5%;border-bottom: silver 1px solid;padding-bottom: 4px;direction: ltr;text-align: left;padding-top: 4px;padding-left: 4px;border-left: silver 1px solid;margin: 20px 0px 10px;line-height: 12pt;padding-right: 4px;max-height: 200px;background-color: #f4f4f4">
<div id="codeSnippet" style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4"><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">#view the ADFS Account Activity</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">Get-ADFSAccountActivity Abdiel.Conrad@16lab.chadcolabs.us</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">#note the Familiar Lockout <span style="color: #0000ff">is</span> now set to <span style="color: #0000ff">true</span></pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">get-aduser 225866 -properties badPwdCount,lockedout</pre><!--CRLF--></div></div>
<p><a href="https://msdnshared.blob.core.windows.net/media/2018/07/clip_image00123.png"><img title="clip_image001[23]" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;margin: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="clip_image001[23]" src="https://msdnshared.blob.core.windows.net/media/2018/07/clip_image00123_thumb.png" width="244" height="151"></a></p>
<p>That is all for today.&nbsp; As I was running through the instructions and wasn’t sure what I should be seeing I figured I would share what was experienced. Next Topic will be on Banned IP’s</p>
<p>-Chad</p>]]></content:encoded>
    </item>
    <item>
      <title>Windows 2016 Domain Controllers - Nothing stopping you now!!!</title>
      <link>https://docs.microsoft.com/archive/blogs/chadcox/windows-2016-domain-controllers-nothing-stopping-you-now</link>
      <pubDate>Thu, 21 Jun 2018 15:26:42 GMT</pubDate>
      <dc:creator><![CDATA[Chad Cox]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/chadcox/?p=4355</guid>
      <description><![CDATA[One of the biggest roadblocks environments have moving to Windows 2016 Domain Controllers has...]]></description>
      <content:encoded><![CDATA[<p>One of the biggest roadblocks environments have moving to Windows 2016 Domain Controllers has finally been removed!!!!</p> <p>This is great news for me, hopefully it is for you.&nbsp; Read the article</p> <p><a href="https://blogs.technet.microsoft.com/exchange/2018/06/19/released-june-2018-quarterly-exchange-updates/" target="_blank">Released: June 2018 Quarterly Exchange Updates</a></p> <blockquote> <h5><em>Support for Windows Server 2016 Domain Controllers</em></h5> <p><em>Exchange Server 2010 Service Pack 3 Update Rollup 22 and later add support for Windows Server 2016 domain controllers. There are no restrictions to adding Windows Server 2016 domain controllers in forests where Exchange Server 2010 is deployed. Support for Active Directory Forest Functional Levels through Windows Server 2016 is included. <font style="background-color: #ffff00">Domain Controllers must be running Windows Server 2016 updates released through June 2018 to be supported</font>. Customers are encouraged to remain current by applying monthly operating system quality updates.</em></p></blockquote> <p>Great News and that is all for today <p>-Chad</p>]]></content:encoded>
    </item>
    <item>
      <title>Part 2: Configure Just Enough Admin to Manage Domain Joined Servers from Windows Admin Center</title>
      <link>https://docs.microsoft.com/archive/blogs/chadcox/part-2-configure-just-enough-admin-to-manage-domain-joined-servers-from-windows-admin-center</link>
      <pubDate>Tue, 12 Jun 2018 00:51:21 GMT</pubDate>
      <dc:creator><![CDATA[Chad Cox]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/chadcox/?p=4345</guid>
      <description><![CDATA[Part 1, covered setting up Windows Admin Center (WAC) as a gateway on Server Core. (Click here to...]]></description>
      <content:encoded><![CDATA[<p>Part 1, covered setting up Windows Admin Center (WAC) as a gateway on Server Core. (<a href="https://blogs.technet.microsoft.com/chadcox/2018/06/05/part-1-install-windows-admin-center-as-a-designated-gateway-on-windows-server-core/" target="_blank">Click here to read.</a>)&nbsp; This particular topic is a fun topic and one that I talk to Admins about frequently,&nbsp; “How can I give someone enough rights to view logs, restart services, etc.. without having to give Administrator rights on a server?” is a question I get all the time.&nbsp; This is something that is difficult to do in Windows, easier to set up in PowerShell using JEA, and because the Windows Admin Center is built on top of PowerShell it is possible to leverage the same capability.&nbsp; To make this even better the WAC Product group created the JEA and DSC configuration files needed to do this out of the box.&nbsp; This post is going to outline the steps on how to set JEA using instructions already published&nbsp; and combined with my lessons learned. </p> <p><a href="https://docs.microsoft.com/en-us/windows-server/manage/windows-admin-center/configure/user-access-control#apply-role-based-access-control-to-a-single-machine" target="_blank">Apply role-based access control to a single machine</a></p> <p><a href="https://docs.microsoft.com/en-us/windows-server/manage/windows-admin-center/configure/user-access-control#role-based-access-control" target="_blank">Role-based access control</a></p> <h3>Enable Kerberos Delegation to Use Windows Admin Center</h3> <p>Because a gateway is being used, Kerberos Delegation has to be enabled in order to connect to a remote server that an account does not have built-in\Admin rights to. This cmdlet will query all of the non Domain Controllers that are online and will set up delegation to the gateway server.&nbsp; In large organizations multiple gateways can be used and populated.</p> <div id="codeSnippetWrapper" style="font-size: 8pt;overflow: auto;cursor: text;border-top: silver 1px solid;font-family: 'Courier New', courier, monospace;border-right: silver 1px solid;width: 97.5%;border-bottom: silver 1px solid;padding-bottom: 4px;direction: ltr;text-align: left;padding-top: 4px;padding-left: 4px;border-left: silver 1px solid;margin: 20px 0px 10px;line-height: 12pt;padding-right: 4px;max-height: 200px;background-color: #f4f4f4"> <div id="codeSnippet" style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4"><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">$gateway = <span style="color: #006080">"WACGATEWAYSERVER"</span></pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">$gatewayObject = Get-ADComputer -Identity $gateway</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">Get-adcomputer -filter {operatingsystem -like <span style="color: #006080">"*server*"</span> -and iscriticalsystemobject -ne $<span style="color: #0000ff">true</span>} `</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">     -properties ipv4address  | <span style="color: #0000ff">where</span> {(!($_.ipv4address -eq $<span style="color: #0000ff">null</span>))} | `</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">        Set-ADComputer -PrincipalsAllowedToDelegateToAccount $gatewayObject</pre><!--CRLF--></div></div>
<h3>Create Domain Groups to Delegate Rights to</h3>
<p>Decided to leverage domain groups instead of local groups as its easier to manage the domain groups. <em>*as long as it doesn’t get out of control</em></p>
<p>Start by creating three new groups in Active Directory.</p>
<ul>
<li>ServerWACAdmins 
<li>ServerWACHypervAdmins (only if managing Hyper-v servers) 
<li>ServerWACReaders</li></ul>
<div id="codeSnippetWrapper" style="font-size: 8pt;overflow: auto;cursor: text;border-top: silver 1px solid;font-family: 'Courier New', courier, monospace;border-right: silver 1px solid;width: 97.5%;border-bottom: silver 1px solid;padding-bottom: 4px;direction: ltr;text-align: left;padding-top: 4px;padding-left: 4px;border-left: silver 1px solid;margin: 20px 0px 10px;line-height: 12pt;padding-right: 4px;max-height: 200px;background-color: #f4f4f4">
<div id="codeSnippet" style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4"><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">New-ADGroup -GroupScope Global -Name <span style="color: #006080">"ServerWACAdmins"</span> -path <span style="color: #006080">"OU=Groups,OU=Tier 1,OU=Admin,DC=contoso,DC=com"</span></pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">New-ADGroup -GroupScope Global -Name <span style="color: #006080">"ServerWACHyperVAdmins"</span> -path <span style="color: #006080">"OU=Groups,OU=Tier 1,OU=Admin,DC=contoso,DC=com"</span></pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">New-ADGroup -GroupScope Global -Name <span style="color: #006080">"ServerWACReaders"</span> -path <span style="color: #006080">"OU=Groups,OU=Tier 1,OU=Admin,DC=contoso,DC=com"</span></pre><!--CRLF--></div></div>
<h3>Set up JEA</h3>
<p>Download the role based access control configuration package from the Windows Admin Center Gateway. </p>
<div id="codeSnippetWrapper" style="font-size: 8pt;overflow: auto;cursor: text;border-top: silver 1px solid;font-family: 'Courier New', courier, monospace;border-right: silver 1px solid;width: 97.5%;border-bottom: silver 1px solid;padding-bottom: 4px;direction: ltr;text-align: left;padding-top: 4px;padding-left: 4px;border-left: silver 1px solid;margin: 20px 0px 10px;line-height: 12pt;padding-right: 4px;max-height: 200px;background-color: #f4f4f4">
<div id="codeSnippet" style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4"><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">#change <span style="color: #0000ff">this</span> to preferred location</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">$path = $env:temp</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">$WindowsAdminCenterGateway = <span style="color: #006080">'https://windowsadmincenter.contoso.com'</span></pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">Invoke-RestMethod -Uri <span style="color: #006080">"$WindowsAdminCenterGateway/api/nodes/all/features/jea/endpoint/export"</span> `</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">    -Method POST -UseDefaultCredentials -OutFile <span style="color: #006080">"$path\WindowsAdminCenter_RBAC.zip"</span></pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">#validate the file exist</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">test-path  <span style="color: #006080">"$path\WindowsAdminCenter_RBAC.zip"</span></pre><!--CRLF--></div></div>
<p><a href="https://msdnshared.blob.core.windows.net/media/2018/06/clip_image00113.png"><img title="clip_image001" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="clip_image001" src="https://msdnshared.blob.core.windows.net/media/2018/06/clip_image001_thumb8.png" width="497" height="47"></a></p>
<p>Expand the zip file, and copy to the required locations.</p>
<div id="codeSnippetWrapper" style="font-size: 8pt;overflow: auto;cursor: text;border-top: silver 1px solid;font-family: 'Courier New', courier, monospace;border-right: silver 1px solid;width: 97.5%;border-bottom: silver 1px solid;padding-bottom: 4px;direction: ltr;text-align: left;padding-top: 4px;padding-left: 4px;border-left: silver 1px solid;margin: 20px 0px 10px;line-height: 12pt;padding-right: 4px;max-height: 200px;background-color: #f4f4f4">
<div id="codeSnippet" style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4"><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">#change <span style="color: #0000ff">this</span> to your preferred location</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">$wacpath = <span style="color: #006080">"$env:temp\wac"</span></pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">#Expand the zip file to the directory of choice</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">Expand-Archive -Path <span style="color: #006080">"$path\WindowsAdminCenter_RBAC.zip"</span> -DestinationPath $wacpath -Force</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">&nbsp;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">dir $wacpath</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">cd $wacpath</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">&nbsp;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">#copy modules to one of PowerShell's <span style="color: #0000ff">default</span> Module locations</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">copy <span style="color: #006080">"$wacpath\JustEnoughAdministration"</span> -Destination <span style="color: #006080">"C:\Program Files\WindowsPowerShell\Modules\" -Recurse</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">Get-ChildItem "</span>$wacpath\Modules\<span style="color: #006080">" | copy -Destination "</span>C:\Program Files\WindowsPowerShell\Modules\" -Recurse</pre><!--CRLF--></div></div>
<h4>&nbsp;</h4>
<h4>Modify the InstallJeaFeature.ps1 File</h4>
<p>Run: psedit .\InstallJeaFeature.ps1 or notepad .\InstallJeaFeature.ps1to open the file.</p>
<p>In the file scroll down until you see the 3 Group Resources and remove them.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/2018/06/clip_image00151.png"><img title="clip_image001[5]" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="clip_image001[5]" src="https://msdnshared.blob.core.windows.net/media/2018/06/clip_image0015_thumb.png" width="244" height="113"></a></p>
<p>Remove the 3 Group Resources from the JeaEndpoint Depends on section.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/2018/06/clip_image00171.png"><img title="clip_image001[7]" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="clip_image001[7]" src="https://msdnshared.blob.core.windows.net/media/2018/06/clip_image0017_thumb.png" width="244" height="35"></a></p>
<p>Update the JEAEndPoint RoleDefinition:</p>
<ul>
<li>'$env:COMPUTERNAME\Windows Admin Center Administrators' change to 'contoso\ServerWACAdmins' 
<li>'$env:COMPUTERNAME\Windows Admin Center Hyper-V Administrators' change to 'contoso\ServerWACHyperVAdmins' 
<li>'$env:COMPUTERNAME\Windows Admin Center Readers' change to 'contoso\ServerWACReaders'</li></ul>
<p><a href="https://msdnshared.blob.core.windows.net/media/2018/06/image86.png"><img title="image" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;margin: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/2018/06/image_thumb69.png" width="244" height="32"></a></p>
<p>Next this code needs to be copied to the bottom of the installJeaFeature.ps1 script.</p>
<div id="codeSnippetWrapper" style="font-size: 8pt;overflow: auto;cursor: text;border-top: silver 1px solid;font-family: 'Courier New', courier, monospace;border-right: silver 1px solid;width: 97.5%;border-bottom: silver 1px solid;padding-bottom: 4px;direction: ltr;text-align: left;padding-top: 4px;padding-left: 4px;border-left: silver 1px solid;margin: 20px 0px 10px;line-height: 12pt;padding-right: 4px;max-height: 200px;background-color: #f4f4f4">
<div id="codeSnippet" style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4"><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">Copy-Item <span style="color: #006080">"$PSScriptRoot\JustEnoughAdministration"</span> <span style="color: #006080">"$env:ProgramFiles\WindowsPowerShell\Modules"</span> -Recurse -Force</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">$ConfigData = @{</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">    AllNodes = @()</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">    ModuleBasePath = @{</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">        Source = <span style="color: #006080">"$PSScriptRoot\Modules"</span></pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">        Destination = <span style="color: #006080">"$env:ProgramFiles\WindowsPowerShell\Modules"</span></pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">    }</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">}</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">InstallJeaFeature -ConfigurationData $ConfigData | Out-Null</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">Start-DscConfiguration -Path <span style="color: #006080">"$PSScriptRoot\InstallJeaFeature"</span> -JobName <span style="color: #006080">"Installing JEA for Windows Admin Center"</span> -Force</pre><!--CRLF--></div></div>
<p><a href="https://msdnshared.blob.core.windows.net/media/2018/06/image87.png"><img title="image" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;margin: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/2018/06/image_thumb70.png" width="244" height="98"></a></p>
<p>Save and Close the file</p>
<h4>Deploy the JEA files to multiple Servers</h4>
<p>Copy the modules and script to the machines that need to be managed. The files need to go into the following locations:</p>
<ul>
<li>.\JustEnoughAdministration\* to C:\Program Files\WindowsPowerShell\Modules 
<li>.\Modules\* to C:\Program Files\WindowsPowerShell\Modules 
<li>.\InstallJeaFeature.ps1 to .\temp\wac\</li></ul>
<p>This will copy the files to the right location on all domain joined Windows Servers.&nbsp; I opted to copy the files to two locations on each machine.</p>
<div id="codeSnippetWrapper" style="font-size: 8pt;overflow: auto;cursor: text;border-top: silver 1px solid;font-family: 'Courier New', courier, monospace;border-right: silver 1px solid;width: 97.5%;border-bottom: silver 1px solid;padding-bottom: 4px;direction: ltr;text-align: left;padding-top: 4px;padding-left: 4px;border-left: silver 1px solid;margin: 20px 0px 10px;line-height: 12pt;padding-right: 4px;max-height: 200px;background-color: #f4f4f4">
<div id="codeSnippet" style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4"><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">$wacpath = <span style="color: #006080">"$env:temp\wac"</span></pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4"><span style="color: #cc6633">#if</span> the activedirectory module <span style="color: #0000ff">is</span> installed <span style="color: #0000ff">this</span> will copy files <span style="color: #0000ff">out</span> to Windows machines</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">#change the filter or add a scopebase to only copy to select machines.</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">Get-adcomputer -filter {operatingsystem -like <span style="color: #006080">"*server*"</span> -and iscriticalsystemobject -ne $<span style="color: #0000ff">true</span>} `</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">     -properties ipv4address -PipelineVariable computer | <span style="color: #0000ff">where</span> {(!($_.ipv4address -eq $<span style="color: #0000ff">null</span>))} | <span style="color: #0000ff">foreach</span>{</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">        <span style="color: #0000ff">if</span>(Test-Connection -ComputerName ($_).dnshostname -Quiet -Count 1){</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">        $session = New-PSSession -ComputerName ($_).dnshostname -ErrorAction Stop</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">        Copy-Item -Path <span style="color: #006080">"$wacpath\JustEnoughAdministration\" `</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">            -Destination "</span>$env:temp\WAC\<span style="color: #006080">" `</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">            -ToSession $session -Recurse -Force</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">        Copy-Item -Path "</span>$path\JustEnoughAdministration\<span style="color: #006080">" `</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">            -Destination "</span>$env:ProgramFiles\WindowsPowerShell\Modules<span style="color: #006080">" `</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">            -ToSession $session -Recurse -Force</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">        Copy-Item -Path "</span>$wacpath\InstallJeaFeature.ps1<span style="color: #006080">" `</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">            -Destination "</span>$env:temp\WAC\InstallJeaFeature.ps1<span style="color: #006080">" -ToSession $session -Recurse -Force</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">        Get-ChildItem "</span>$wacpath\Modules\<span style="color: #006080">" | Copy-Item `</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">            -Destination "</span>$env:temp\WAC\Modules\<span style="color: #006080">" `</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">            -ToSession $session -Recurse -Force</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">        Get-ChildItem "</span>$wacpath\Modules\<span style="color: #006080">" | Copy-Item `</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">            -Destination "</span>$env:ProgramFiles\WindowsPowerShell\Modules" `</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">            -ToSession $session -Recurse -Force</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">        Disconnect-PSSession $session</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">    }</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">}</pre><!--CRLF--></div></div>
<p>From one of the servers login with<strong> same account</strong> used to copy the files onto the server.</p>
<p>Run .\InstallJeaFeature.ps1 on each machine.</p>
<div id="codeSnippetWrapper" style="font-size: 8pt;overflow: auto;cursor: text;border-top: silver 1px solid;font-family: 'Courier New', courier, monospace;border-right: silver 1px solid;width: 97.5%;border-bottom: silver 1px solid;padding-bottom: 4px;direction: ltr;text-align: left;padding-top: 4px;padding-left: 4px;border-left: silver 1px solid;margin: 20px 0px 10px;line-height: 12pt;padding-right: 4px;max-height: 200px;background-color: #f4f4f4">
<div id="codeSnippet" style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4"><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">set-location $env:temp\wac </pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">.\InstallJeaFeature.ps1</pre><!--CRLF--></div></div>
<p>or add the invoke-command to the copy script used above.</p>
<p>Afterwards confirm DSC was applied and the RestrictedRemoteServer was set up: </p>
<div id="codeSnippetWrapper" style="font-size: 8pt;overflow: auto;cursor: text;border-top: silver 1px solid;font-family: 'Courier New', courier, monospace;border-right: silver 1px solid;width: 97.5%;border-bottom: silver 1px solid;padding-bottom: 4px;direction: ltr;text-align: left;padding-top: 4px;padding-left: 4px;border-left: silver 1px solid;margin: 20px 0px 10px;line-height: 12pt;padding-right: 4px;max-height: 200px;background-color: #f4f4f4">
<div id="codeSnippet" style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4"><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">Get-dscconfigurationstatus</pre><!--CRLF--></div></div>
<p><a href="https://msdnshared.blob.core.windows.net/media/2018/06/clip_image00191.png"><img title="clip_image001[9]" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="clip_image001[9]" src="https://msdnshared.blob.core.windows.net/media/2018/06/clip_image0019_thumb.png" width="595" height="174"></a></p>
<div id="codeSnippetWrapper" style="font-size: 8pt;overflow: auto;cursor: text;border-top: silver 1px solid;font-family: 'Courier New', courier, monospace;border-right: silver 1px solid;width: 97.5%;border-bottom: silver 1px solid;padding-bottom: 4px;direction: ltr;text-align: left;padding-top: 4px;padding-left: 4px;border-left: silver 1px solid;margin: 20px 0px 10px;line-height: 12pt;padding-right: 4px;max-height: 200px;background-color: #f4f4f4">
<div id="codeSnippet" style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4"><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">Get-PSSessionConfiguration | Where-Object { $_.SessionType -eq <span style="color: #006080">'RestrictedRemoteServer'</span> }</pre><!--CRLF--></div></div>
<p><a href="https://msdnshared.blob.core.windows.net/media/2018/06/image88.png"><img title="image" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/2018/06/image_thumb71.png" width="596" height="88"></a></p>
<h3>Time to Test</h3>
<p>In Active Directory I created three user accounts and added them to one of the groups:</p>
<ul>
<li>WACTest1 - Domain Admins, Built-in Administrator 
<li>WACTest2 - member of ServerWACAdmins and Windows Admin Center Access 
<li>WACTest3 - member of ServerWACReaders and Windows Admin Center Access</li></ul>
<p>On one of the servers running the following cmdlet will display what rights to functions, cmdlets, aliases each account will have.</p>
<div id="codeSnippetWrapper" style="font-size: 8pt;overflow: auto;cursor: text;border-top: silver 1px solid;font-family: 'Courier New', courier, monospace;border-right: silver 1px solid;width: 97.5%;border-bottom: silver 1px solid;padding-bottom: 4px;direction: ltr;text-align: left;padding-top: 4px;padding-left: 4px;border-left: silver 1px solid;margin: 20px 0px 10px;line-height: 12pt;padding-right: 4px;max-height: 200px;background-color: #f4f4f4">
<div id="codeSnippet" style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4"><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">Get-PSSessionCapability -ConfigurationName <span style="color: #006080">'Microsoft.Sme.PowerShell'</span> -Username <span style="color: #006080">'CONTOSO\WACTEST1'</span></pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">Get-PSSessionCapability -ConfigurationName <span style="color: #006080">'Microsoft.Sme.PowerShell'</span> -Username <span style="color: #006080">'CONTOSO\WACTEST2'</span></pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">Get-PSSessionCapability -ConfigurationName <span style="color: #006080">'Microsoft.Sme.PowerShell'</span> -Username <span style="color: #006080">'CONTOSO\WACTEST3'</span></pre><!--CRLF--></div></div>
<p>Here is a consolidated view of the number of cmdlets/functions WACTest2 and WACTest3 have rights to. WACTest1 doesn’t have JEA applied so it has rights to everything.</p>
<p>WACTest2</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/2018/06/image89.png"><img title="image" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;margin: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/2018/06/image_thumb72.png" width="244" height="66"></a></p>
<p>WACTest3</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/2018/06/image90.png"><img title="image" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;margin: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/2018/06/image_thumb73.png" width="244" height="68"></a></p>
<h4></h4>
<p>With each one of the accounts logged into a client machine, connect to Windows Admin Center and note the differences, Here was my experience.</p>
<p>WACTest1 - Notes:</p>
<ul>
<li>This account is a full admin on the server, I am able to view every extension available and do everything as expected.</li></ul>
<p>WACTest2 – Notes:</p>
<ul>
<li>This account is only a Domain User and Assigned to the ServerWACAdmins Group 
<li>Missing the PowerShell and Remote Desktop Extension 
<li>Unable to restart the computer. 
<li>Able to stop and start Services, change Network settings, kill Processes, create Registry Keys, View Logs, etc as expected</li></ul>
<p><a href="https://msdnshared.blob.core.windows.net/media/2018/06/clip_image001111.png"><img title="clip_image001[11]" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;margin: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="clip_image001[11]" src="https://msdnshared.blob.core.windows.net/media/2018/06/clip_image00111_thumb.png" width="136" height="244"></a></p>
<p>WACTest3 – Notes:</p>
<ul>
<li>This account is only a Domain User and Assigned to the ServerWACReaders Group 
<li>Missing the PowerShell and Remote Desktop Extension 
<li>Unable to restart the computer, change Network settings,change registry entries or kill Processes. 
<li>Able to view state of all major components (example Network, Services, or Registry ) 
<li>Was able to create a folder in system32 but unable to upload any files into it..</li></ul>
<p>Whenever something is attempted the user doesn’t have rights to perform a red box appears in the top right corner notifying that the action was blocked.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/2018/06/clip_image001131.png"><img title="clip_image001[13]" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;margin: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="clip_image001[13]" src="https://msdnshared.blob.core.windows.net/media/2018/06/clip_image00113_thumb.png" width="244" height="75"></a></p>
<h3>Auditing Windows Admin Center Activity</h3>
<p>One last thing to cover as part of this blog is the auditing for when something is successful or blocked. Here what was found.</p>
<p><a href="https://docs.microsoft.com/en-us/powershell/jea/audit-and-report" target="_blank">Auditing and Reporting on JEA</a></p>
<p><a href="https://docs.microsoft.com/en-us/windows-server/manage/windows-admin-center/use/logging" target="_blank">Use event logging in Windows Admin Center to gain insight into management activities and track gateway usage</a></p>
<p>With the ServerWACReader member account (WACTest3) tried to stop w32time service, with no luck (Expected). 
<p>In the Microsoft-Windows-PowerShell Event Log. 
<p>Event 4103 was really the only thing useful. This only shows that User was logged in and ran the function. 
<p><a href="https://msdnshared.blob.core.windows.net/media/2018/06/clip_image00115.png"><img title="clip_image001[15]" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;margin: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="clip_image001[15]" src="https://msdnshared.blob.core.windows.net/media/2018/06/clip_image00115_thumb.png" width="244" height="106"></a> 
<p>In the Security Logs the following events are in sequence 
<blockquote>
<p>#1 4624 An account was successfully logged on. 
<p>#2 4717 System security access was granted to an account. 
<p>#3 4648 A logon was attempted using explicit credentials. 
<p><a href="https://msdnshared.blob.core.windows.net/media/2018/06/clip_image0029.png"><img title="clip_image002" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;margin: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="clip_image002" src="https://msdnshared.blob.core.windows.net/media/2018/06/clip_image002_thumb8.png" width="244" height="109"></a> 
<p>#4 4624 "WinRM VA_343_CORP_WACTEST3" - An account was successfully logged on. 
<p>#5 4672 Special privileges assigned to new logon. 
<p>#6 4688 A new process has been created. 
<p><a href="https://msdnshared.blob.core.windows.net/media/2018/06/clip_image0037.png"><img title="clip_image003" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;margin: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="clip_image003" src="https://msdnshared.blob.core.windows.net/media/2018/06/clip_image003_thumb6.png" width="244" height="104"></a></p></blockquote>
<p>Enabled PowerShell Transcripts via GPO to see if this gave anymore insight. The answer is no, it only records the cmdlets that successfully ran. Since the user isn't able to run the cmdlet only the get cmdlet events exist. 
<p>Next, With the ServerWACAdmins member account (WACTest2) account. Stopped w32time Service. 
<p>Found the following in PowerShell transaction logs 
<p><a href="https://msdnshared.blob.core.windows.net/media/2018/06/clip_image0049.png"><img title="clip_image004" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;margin: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="clip_image004" src="https://msdnshared.blob.core.windows.net/media/2018/06/clip_image004_thumb8.png" width="244" height="178"></a> 
<p>In the Microsoft-Windows-PowerShell Event Log. 
<p>Found event 4103, this shows the final cmdlet that was run. 
<p><a href="https://msdnshared.blob.core.windows.net/media/2018/06/clip_image0056.png"><img title="clip_image005" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;margin: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="clip_image005" src="https://msdnshared.blob.core.windows.net/media/2018/06/clip_image005_thumb5.png" width="244" height="172"></a> 
<p>And found event 4104 
<p><a href="https://msdnshared.blob.core.windows.net/media/2018/06/clip_image0066.png"><img title="clip_image006" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;margin: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="clip_image006" src="https://msdnshared.blob.core.windows.net/media/2018/06/clip_image006_thumb5.png" width="244" height="209"></a> 
<p><strong>In regards to the the PowerShell transaction logging, one thing that was observed is each click of the mouse or refresh when enabled results in a new file.&nbsp; This directory grows quickly.</strong> 
<p>That is all that I have for this post Stay tuned for Part 3. 
<p>- Chad</p>]]></content:encoded>
    </item>
    <item>
      <title>Part 1: Install Windows Admin Center as a Designated Gateway on Windows Server Core</title>
      <link>https://docs.microsoft.com/archive/blogs/chadcox/part-1-install-windows-admin-center-as-a-designated-gateway-on-windows-server-core</link>
      <pubDate>Tue, 05 Jun 2018 18:02:41 GMT</pubDate>
      <dc:creator><![CDATA[Chad Cox]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/chadcox/?p=3875</guid>
      <description><![CDATA[&nbsp; Updated 6/5 to include a web server cert. At time of this entry the version of Windows Admin...]]></description>
      <content:encoded><![CDATA[<p>&nbsp;</p> <p><em>Updated 6/5 to include a web server cert.</em></p> <p><strong>At time of this entry the version of Windows Admin Center that was installed is 1804.25.</strong>&nbsp; I'm going to attempt to cover multiple topics being asked around Windows Admin Center, This one will cover How to Install on Windows Server Core 2016 and how to add an Active Directory group to give console access for accounts that do not have Administrator rights on the Gateway Server.&nbsp; In the very near future I will add how to configure just enough admin (JEA) for role based access (RBAC) and How to change Windows Admin Center console access to Azure Active Directory credentials.</p> <h2>On Windows 2016 Server Core Server</h2> <p>&nbsp;</p> <p><a href="https://docs.microsoft.com/en-us/windows-server/manage/windows-admin-center/deploy/install#install-on-server-core">All</a> of the instructions can be found here: <a href="https://docs.microsoft.com/en-us/windows-server/manage/windows-admin-center/deploy/install#install-on-server-core" target="_blank">Install on Server Core</a></p> <p><em>Note: Outside of a lab I would want the endpoint url to be a friendly name like wac.contoso.com. Since I am using a self-generated certificate the url will be the name of the server. Recommendation is to use a cert with Subject alternate names defined and add a friendly dns name.</em></p> <p><em>- Also -</em></p> <p><em>Windows Admin Center Requires, WMF version 5.1 or higher to be installed on both the Gateway Server and all the managed servers.</em></p> <h3>Using Self Signed Cert</h3> <p>Download Windows Admin Center onto the Gateway Server.</p> <ul> <li>msiexec /i WindowsAdminCenter1804.25.msi /qn /L*v log.txt SSL_CERTIFICATE_OPTION=generate </li></ul> <p><a href="https://msdnshared.blob.core.windows.net/media/2018/06/clip_image0017.png"><img title="clip_image001" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="clip_image001" src="https://msdnshared.blob.core.windows.net/media/2018/06/clip_image001_thumb5.png" width="416" height="28"></a></p> <ul> <ul> <li>Or just type in the msi name and follow the prompts. Very Simple. </li></ul></ul> <h3>Using Cert</h3> <p>I use the same web server cert that I used in the Windows Hello for Business POC.</p> <p>Configure an Internal Web Server Certificate template</p> <p><a href="https://docs.microsoft.com/en-us/windows/security/identity-protection/hello-for-business/hello-cert-trust-validate-pki#configure-an-internal-web-server-certificate-template">https://docs.microsoft.com/en-us/windows/security/identity-protection/hello-for-business/hello-cert-trust-validate-pki#configure-an-internal-web-server-certificate-template</a></p> <p>Once it's been published log back onto the server that will be running Windows Admin Center, and install the certificate.&nbsp; This method I will use a friendly URL.</p> <p>Get-Certificate -template "internalwebserver" -dnsname windowsadmincenter.contoso.com,wac.contoso.com cert:\localmachine\my</p> <p><a href="https://msdnshared.blob.core.windows.net/media/2018/06/clip_image0019.png"><img title="clip_image001" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;margin: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="clip_image001" src="https://msdnshared.blob.core.windows.net/media/2018/06/clip_image001_thumb6.png" width="244" height="19"></a></p> <p>Get the thumbnail:</p> <p>Get-ChildItem -path cert:\LocalMachine\My | where dnsnamelist -like "*windowsadmincenter*"</p> <p><a href="https://msdnshared.blob.core.windows.net/media/2018/06/clip_image0024.png"><img title="clip_image002" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;margin: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="clip_image002" src="https://msdnshared.blob.core.windows.net/media/2018/06/clip_image002_thumb4.png" width="244" height="35"></a></p> <p>Run the msi: WindowsAdminCenter1804.25.msi</p> <p><a href="https://msdnshared.blob.core.windows.net/media/2018/06/clip_image0033.png"><img title="clip_image003" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;margin: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="clip_image003" src="https://msdnshared.blob.core.windows.net/media/2018/06/clip_image003_thumb3.png" width="244" height="193"></a><a href="https://msdnshared.blob.core.windows.net/media/2018/06/clip_image0043.png"><img title="clip_image004" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="clip_image004" src="https://msdnshared.blob.core.windows.net/media/2018/06/clip_image004_thumb3.png" width="244" height="189"></a></p> <p>Use the certificate thumbnail</p> <p><a href="https://msdnshared.blob.core.windows.net/media/2018/06/clip_image0053.png"><img title="clip_image005" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;margin: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="clip_image005" src="https://msdnshared.blob.core.windows.net/media/2018/06/clip_image005_thumb3.png" width="244" height="191"></a><a href="https://msdnshared.blob.core.windows.net/media/2018/06/clip_image0062.png"><img title="clip_image006" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="clip_image006" src="https://msdnshared.blob.core.windows.net/media/2018/06/clip_image006_thumb2.png" width="244" height="192"></a></p> <p>Once done verify it is installed</p> <h3>Verify Windows Admin Center Installed</h3> <p>Run start powershell</p> <p>Run Get-CimInstance -ClassName Win32_softwarefeature | where productname -like "Windows Admin*" |fl</p> <p><a href="https://msdnshared.blob.core.windows.net/media/2018/06/clip_image0032.png"><img title="clip_image003" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;margin: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="clip_image003" src="https://msdnshared.blob.core.windows.net/media/2018/06/clip_image003_thumb2.png" width="244" height="39"></a></p> <p>Run get-service serverman*</p> <p><a href="https://msdnshared.blob.core.windows.net/media/2018/06/clip_image0042.png"><img title="clip_image004" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;margin: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="clip_image004" src="https://msdnshared.blob.core.windows.net/media/2018/06/clip_image004_thumb2.png" width="244" height="54"></a></p> <p>Run Test-netconnection -port 443 -ComputerName localhost</p> <p><a href="https://msdnshared.blob.core.windows.net/media/2018/06/clip_image0052.png"><img title="clip_image005" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;margin: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="clip_image005" src="https://msdnshared.blob.core.windows.net/media/2018/06/clip_image005_thumb2.png" width="244" height="65"></a></p> <h2>On a Windows Desktop</h2> <p><font style="background-color: #ffff00">Try connecting to Windows Admin Center for the first time by opening up a non-Internet Explorer browser like Edge, Firefox, etc..</font></p> <p><a href="https://servername">https://servername</a>&nbsp;&nbsp;&nbsp;&nbsp; <em>* if cert warning appears bypass, this is due to the self signed certificate.</em></p> <p><a href="https://msdnshared.blob.core.windows.net/media/2018/06/clip_image0061.png"><img title="clip_image006" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;margin: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="clip_image006" src="https://msdnshared.blob.core.windows.net/media/2018/06/clip_image006_thumb1.png" width="244" height="100"></a></p> <h3>Grant Console Access to Non-Server Administrators</h3> <p>Lets control who has access to the console. By default all local administrators on the server I installed it on has rights.</p> <p>In Active Directory create a group (in this demo I will call it "Windows Admin Center Access") this group will be used to give rights to log into the Windows Admin center. Add non server administrative users to the group.</p> <p>In Windows Admin Center, select the settings button</p> <p><a href="https://msdnshared.blob.core.windows.net/media/2018/06/clip_image0071.png"><img title="clip_image007" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;margin: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="clip_image007" src="https://msdnshared.blob.core.windows.net/media/2018/06/clip_image007_thumb1.png" width="236" height="78"></a></p> <p>Then select Gateway Access</p> <p><a href="https://msdnshared.blob.core.windows.net/media/2018/06/clip_image0081.png"><img title="clip_image008" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;margin: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="clip_image008" src="https://msdnshared.blob.core.windows.net/media/2018/06/clip_image008_thumb1.png" width="244" height="73"></a></p> <p>Just going to cover Active Directory Groups for now, but could configure this to leverage Azure AD Groups and Accounts.</p> <p>Under Gateway users, select Add, and type in the group name, then select save</p> <p><a href="https://msdnshared.blob.core.windows.net/media/2018/06/clip_image0091.png"><img title="clip_image009" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;margin: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="clip_image009" src="https://msdnshared.blob.core.windows.net/media/2018/06/clip_image009_thumb1.png" width="244" height="162"></a></p> <p>The group has been added</p> <p><a href="https://msdnshared.blob.core.windows.net/media/2018/06/clip_image0101.png"><img title="clip_image010" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;margin: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="clip_image010" src="https://msdnshared.blob.core.windows.net/media/2018/06/clip_image010_thumb1.png" width="244" height="35"></a></p> <p>For now I will leave the Gateway Administrators alone. Select Close.</p> <p>Now try to logon with a user in the group that was given user access.</p> <p>Should be able to log right in</p> <p><a href="https://msdnshared.blob.core.windows.net/media/2018/06/clip_image011.png"><img title="clip_image011" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;margin: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="clip_image011" src="https://msdnshared.blob.core.windows.net/media/2018/06/clip_image011_thumb.png" width="244" height="121"></a></p> <p>If the account doesn’t have rights to Windows Admin Center expect a Not Authorized Error</p> <p><a href="https://msdnshared.blob.core.windows.net/media/2018/06/clip_image012.png"><img title="clip_image012" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="clip_image012" src="https://msdnshared.blob.core.windows.net/media/2018/06/clip_image012_thumb.png" width="244" height="44"></a></p> <p>&nbsp;</p> <p>Updated 6/11 </p> <p><a href="https://blogs.technet.microsoft.com/chadcox/2018/06/12/part-2-configure-just-enough-admin-to-manage-domain-joined-servers-from-windows-admin-center/" target="_blank">Part 2: Configure Just Enough Admin to Manage Domain Joined Servers from Windows Admin Center</a></p> <p>This is all for now stay tuned for for the other post.</p> <p>-Chad</p>]]></content:encoded>
    </item>
    <item>
      <title>Active Directory PowerShell: Private Clouds and the Tale of Too Many Nested AD Groups</title>
      <link>https://docs.microsoft.com/archive/blogs/chadcox/active-directory-powershell-private-clouds-and-the-tale-of-too-many-nested-ad-groups</link>
      <pubDate>Tue, 22 May 2018 18:56:55 GMT</pubDate>
      <dc:creator><![CDATA[Chad Cox]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/chadcox/?p=3605</guid>
      <description><![CDATA[&nbsp; I’ve ran into this issue a few times now so I’m assuming its becoming more and more of a...]]></description>
      <content:encoded><![CDATA[<p>&nbsp;</p> <p>I’ve ran into this issue a few times now so I’m assuming its becoming more and more of a trend.&nbsp; There are lots of blogs that talk about how to clean up token bloat and how to deal with SID history but very few address cleaning up unused groups and how to deal with groups that have been over nested. <p>This explains what could happen if a group is nested into many groups: <a href="https://support.microsoft.com/en-us/help/328889/logging-on-a-user-account-that-is-a-member-of-more-than-1010-groups-ma">Logging on as user account that is a member of more than 1,010 groups may fail on a Windows Server-based computer</a>  <p>What it Looks like when a user tries to log in with a large number of group memberships.&nbsp; Not Good!! <p><a href="https://msdnshared.blob.core.windows.net/media/2018/05/image219.png"><img title="image" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/2018/05/image_thumb166.png" width="244" height="184"></a>  <h2>The Scenario</h2> <p>Private Cloud is implemented into Enterprises. when a VM is provisioned, The Cloud Admins have decided to provision a set of Active Directory (AD) objects to go along with each and every VM.&nbsp; <p><a href="https://msdnshared.blob.core.windows.net/media/2018/05/image220.png"><img title="image" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/2018/05/image_thumb167.png" width="429" height="335"></a>  <p>The idea is simple (However Not Recommended):  <ul> <li>Create AD Groups for different task required for a server, Nest the AD Group into a local group on the server.  <li>Create services accounts, the server’s application <u>MAY</u> need.  <li>Place Server Admins / Application Admins User accounts into the appropriate group when they need to perform task on the server. (“Just in Time”)</li></ul> <p>&nbsp;</p> <p><a href="https://msdnshared.blob.core.windows.net/media/2018/05/image223.png"><img title="image" style="border-top: 0px;border-right: 0px;border-bottom: 0px;padding-top: 0px;padding-left: 0px;border-left: 0px;padding-right: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/2018/05/image_thumb168.png" width="451" height="339"></a></p> <p>Usually the problem:</p> <ul> <li>No solution is in place to move Admin’s User Account in and out of AD Groups as needed.  <li><font><strong>When server is decommissioned, nothing in place to clean up the AD Group or Service Account User Objects.</strong></font>  <li>Admin Staff gets lazy and starts nesting these groups in other groups to simplify their access.</li></ul> <p>What happens if Domain Users accidentally becomes a member of one of the many nested groups?&nbsp; (refer back to link provided above)?</p> <p>&nbsp;</p> <p><em><font size="2">Removal of Server not resulting in removal of groups</font></em> <img class="wlEmoticon wlEmoticon-sadsmile" style="border-top-style: none;border-left-style: none;border-bottom-style: none;border-right-style: none" alt="Sad smile" src="https://msdnshared.blob.core.windows.net/media/2018/05/wlEmoticon-sadsmile.png"></p> <p><a href="https://msdnshared.blob.core.windows.net/media/2018/05/image224.png"><img title="image" style="border-top: 0px;border-right: 0px;border-bottom: 0px;padding-top: 0px;padding-left: 0px;border-left: 0px;padding-right: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/2018/05/image_thumb169.png" width="448" height="332"></a></p> <p>&nbsp;</p> <p>How to clean this up:</p> <ol> <li>Discovery,&nbsp; has the environment seen an increase of AD groups created over the last year.&nbsp; Usually the number is higher or has a pattern that will result in higher than previous years.  <li>Is there any groups that are members of a large number of groups or are nested in a large number of groups  <li>Has a stale group clean up process been implemented?</li></ol> <p>&nbsp;</p> <h2>Discover Group Growth</h2> <p>This script will show the number of groups added to Active Directory over the history of the forest.&nbsp; Usually you will see a trend that groups are being created at a faster pace than previous years.</p> <p>Demo Script can be found here:&nbsp; <a href="https://raw.githubusercontent.com/chadmcox/Active-Directory-Group-Scripts/master/DetectADSecurityGroupGrowth.ps1" target="_blank">Github Link</a>: <a href="https://github.com/chadmcox/Active-Directory-Group-Scripts/blob/master/DetectADSecurityGroupGrowth.ps1">DetectADSecurityGroupGrowth</a></p> <p>Results will look something like this:</p> <p><a href="https://msdnshared.blob.core.windows.net/media/2018/05/image225.png"><img title="image" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/2018/05/image_thumb170.png" width="540" height="410"></a></p> <p><em>This shows that this month had a huge amount of groups created and the location of a majority of the groups created over the last year was in a Private Cloud OU.</em></p> <h2>Discover Group “Over” Nesting</h2> <p>The next step will be to go out and determine if any groups are in a over nesting scenario.&nbsp; This is were the group is a member of several other groups.&nbsp; Small numbers aren’t the concern, we want to watch for groups that are over nested.</p> <p>Demo Script can be found here:&nbsp; <a href="https://raw.githubusercontent.com/chadmcox/Active-Directory-Group-Scripts/master/ExpandADGroupMembership.ps1" target="_blank">Github Link: ExpandADGroupMembership</a>&nbsp; (this will take a while to run if a lot of group nesting exist)</p> <p><a href="https://msdnshared.blob.core.windows.net/media/2018/05/image226.png"><img title="image" style="border-top: 0px;border-right: 0px;border-bottom: 0px;padding-top: 0px;padding-left: 0px;border-left: 0px;padding-right: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/2018/05/image_thumb171.png" width="540" height="100"></a></p> <p><em>The groups found in the results are over nested, and need to be evaluated. Work with the object owners to come up with a different solution.&nbsp; In this case adding the allserveradmin group directly to every server would have ended with the same results and wouldn’t have increased the admins group token count.</em></p> <p>&nbsp;</p> <h2>Implement Clean Up</h2> <p>All of these scripts use the group attribute msDS-ReplValueMetaData, which contains replication data around linked attributes.&nbsp; I could have easily combined the queries into one but wanted to allow granularity between possible ad group clean up task as I see them.&nbsp; Each script is a wrapper functions that leverage the Active Directory Module cmdlets.</p> <ol> <li>Retrieve groups that have never ever been used (member, memberof and msDS-ReplValueMetaData will be empty). Consider creating a process to discover and remove groups that have been created but never used after 6 months. </li> <ul> <li><a href="https://blogs.technet.microsoft.com/chadcox/2017/04/19/active-directory-reporting-unused-group-age-report/" target="_blank">ADPoSh: Create Unused Group Age Report</a></li></ul> <li>Retrieve groups with no members but have had members in the past (member is currently empty and msDS-ReplValueMetaData contains date info).&nbsp; Display the last date the last member was removed.&nbsp; Review the list, If a group hasn’t been modified in last 2 years consider removing.</li> <ul> <li><a href="https://raw.githubusercontent.com/chadmcox/Active-Directory-Group-Scripts/master/GetEmptyADGroupLastChanged.ps1" target="_blank">Github Link: GetEmptyADGroupLastChanged</a></li></ul> <li>Retrieve groups with members and leverage data out of the msDS-ReplValueMetaData to determine the last time group membership truly changed.&nbsp; If a group hasn’t been changed in 3+ years is it still being used?&nbsp; Determine if any of its members are groups before removing.</li> <ul> <li><a href="https://raw.githubusercontent.com/chadmcox/Active-Directory-Group-Scripts/master/GetADGroupLastMembershipChange.ps1" target="_blank">Github Link: GetADGroupLastMembershipChange</a></li></ul></ol> <blockquote> <p>&nbsp;</p></blockquote> <p>The idea of these scripts are to assist in helping identify the problem before it becomes a problem.&nbsp; Ideally a mapping of where all the groups are leveraged would be preferred, but auditing every resource and application is a big task.&nbsp; Microsoft Premier Customers can work with their Technical Account Manager on signing up for the ACLXRAY Delivery which does auditing of Active Directory Object using throughout a forest.</p> <p>That is all for today</p> <p>-Chad</p> <p>&nbsp;</p> <blockquote> <p><font size="2"><strong>Possible Solutions:</strong></font></p> <p><a href="https://docs.microsoft.com/en-us/microsoft-identity-manager/pam/privileged-identity-management-for-active-directory-domain-services" target="_blank"><font size="2">Privileged Access Management for Active Directory Domain Services</font></a></p> <p><a href="https://docs.microsoft.com/en-us/powershell/jea/overview" target="_blank"><font size="2">Just Enough Administration</font></a></p> <p><font size="2"><strong>More Reading about msDS-ReplValueMetaData:</strong></font></p> <p><a href="https://blogs.technet.microsoft.com/pie/2014/08/25/metadata-2-the-ephemeral-admin-or-how-to-track-the-group-membership/" target="_blank"><font size="2">Metadata #2 – The ephemeral admin, or how to track the group membership</font></a></p> <p><a href="https://blogs.msdn.microsoft.com/adpowershell/2009/11/01/accessing-replication-metadata-using-adpowershell/" target="_blank"><font size="2">Accessing Replication Metadata using ADPowerShell</font></a></p></blockquote> <p><font size="2"></font></p>]]></content:encoded>
    </item>
    <item>
      <title>Active Directory PowerShell Script to Report on Users with SPNs</title>
      <link>https://docs.microsoft.com/archive/blogs/chadcox/active-directory-powershell-script-to-report-on-users-with-spns</link>
      <pubDate>Wed, 25 Apr 2018 18:17:34 GMT</pubDate>
      <dc:creator><![CDATA[Chad Cox]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/chadcox/?p=3355</guid>
      <description><![CDATA[&nbsp; A peer of mine Chris Nadler, reached out and said “Hey we really don’t have any good ways to...]]></description>
      <content:encoded><![CDATA[<p>&nbsp;</p> <p>A peer of mine Chris Nadler, reached out and said “Hey we really don’t have any good ways to scan for a particular type of account in Active Directory that could be a prime target for malicious activity what do you think this would take.”&nbsp; So here it is, this script goes out and pulls every Active Directory User object with ServicePrincipalName’s (SPN) defined and gathers important information about that account. After I was done writing it, I also realized it was a way to potentially get rid of unknown accounts by validating if the computer’s they should be performing authentications for are still online.&nbsp; Disclaimer&nbsp; I would use it as one of many steps to determine if an account is still used or valid.</p> <p>Here are things the script looks for:</p> <ul> <li>Is the SPN’s computer that is defined currently online.  <li>Is the User Account set up with Kerberos Constrained vs UnConstrained Delegation.  <li>What kind of encryption is being used for the accounts password. (msds-supportedencryptiontypes)  <li>Checks to see if the Account is a member of a Domain Privileged Group.  <ul> <li>Also checks so see if the primary Group Membership has changed. </li></ul> <li>The password age. </li></ul> <p>Our Recommendations:</p> <ul> <li>No Accounts should be set up with Unconstrained Kerberos Delegation. <li>Same goes for Protocol Transitioning Constrained Delegation. <li>None of these accounts should be in a privileged group.&nbsp; Example – Domain Admins or Enterprise Admins  <li>Passwords should be changed regularly with a a minimum 15, preferred 25 character password.  <li>Only Valid SPN’s should be defined.  <li>DES Encryption should not be used. </li></ul> <p>&nbsp;</p> <p>I provide the script below along with a sample of the output that gets displayed in PowerShell.&nbsp; The script will also exports the results to a csv file for easy searching and filtering in Excel.</p> <p>Here is an example of the output:</p> <p><a href="https://msdnshared.blob.core.windows.net/media/2018/04/image385.png"><img title="image" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/2018/04/image_thumb360.png" width="482" height="249"></a></p> <p>Here is the source code which can be found on Github: <a href="https://gist.githubusercontent.com/chadmcox/0fe781f324034f03a7fc6bdd7a4fe471/raw/dd34fd72027cc4e4325d955e572b43d85485a137/findSneakyADServiceAccounts.ps1">Link</a></p> <p>&nbsp;</p><script src="https://gist.github.com/chadmcox/0fe781f324034f03a7fc6bdd7a4fe471.js"></script> <p>&nbsp;</p> <p>And that is all for now.</p> <p>-Chad</p> <p>Recommend Reading:</p> <ul> <li>Kerberoasting  <li><a href="https://blogs.technet.microsoft.com/jepayne/2015/11/20/what-should-i-know-about-security-the-massive-list-of-links-post/">What should I know about security? The massive list of links post.</a>  <li><a href="https://blogs.technet.microsoft.com/motiba/2018/02/23/detecting-kerberoasting-activity-using-azure-security-center/">Detecting Kerberoasting activity using Azure Security Center</a>  <li><a href="https://blogs.technet.microsoft.com/389thoughts/2017/04/18/get-rid-of-accounts-that-use-kerberos-unconstrained-delegation/">Get rid of accounts that use Kerberos Unconstrained Delegation</a>  <li><a href="https://blogs.technet.microsoft.com/poshchap/2016/04/22/security-focus-report-on-unconstrained-delegation/">Security Focus: Report on Unconstrained Delegation</a> <li><a href="https://blogs.technet.microsoft.com/poshchap/2016/04/29/security-focus-report-on-protocol-transition-2/">Security Focus: Report on Protocol Transition</a></li></ul>]]></content:encoded>
    </item>
    <item>
      <title>Quick Tip:  Windows Server Core Start PowerShell</title>
      <link>https://docs.microsoft.com/archive/blogs/chadcox/quick-tip-windows-server-core-start-powershell</link>
      <pubDate>Tue, 24 Apr 2018 16:16:09 GMT</pubDate>
      <dc:creator><![CDATA[Chad Cox]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/chadcox/?p=3305</guid>
      <description><![CDATA[&nbsp; When logging into a Windows Server Core machine, I was dealing with some frustration due to...]]></description>
      <content:encoded><![CDATA[<p>&nbsp;</p> <p>When logging into a Windows Server Core machine, I was dealing with some frustration due to not being able to do other admin task while the default cmd prompt was in use.&nbsp; To get past this use the default or initial command prompt similar to how you would use the start menu in the Windows GUI.&nbsp; This makes it so that you aren't stuck, waiting for a command to finish in order to do another command.&nbsp; </p> <p>Example:&nbsp; Instead of typing PowerShell in the command window and switching over to PowerShell CLI.&nbsp; Type in: <strong>Start PowerShell</strong> , this will launch a separate PowerShell CLI prompt.</p> <p><a href="https://msdnshared.blob.core.windows.net/media/2018/04/image380.png"><img title="image" style="border-top: 0px;border-right: 0px;border-bottom: 0px;padding-top: 0px;padding-left: 0px;border-left: 0px;padding-right: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/2018/04/image_thumb356.png" width="597" height="370"></a></p> <p>This can also be used with Start CMD</p> <p><a href="https://msdnshared.blob.core.windows.net/media/2018/04/image382.png"><img title="image" style="border-top: 0px;border-right: 0px;border-bottom: 0px;padding-top: 0px;padding-left: 0px;border-left: 0px;padding-right: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/2018/04/image_thumb357.png" width="604" height="349"></a></p> <p>Or even Start Sconfig</p> <p><a href="https://msdnshared.blob.core.windows.net/media/2018/04/image383.png"><img title="image" style="border-top: 0px;border-right: 0px;border-bottom: 0px;padding-top: 0px;padding-left: 0px;border-left: 0px;padding-right: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/2018/04/image_thumb358.png" width="614" height="316"></a></p> <p>For those who use Windows Linux Subsystem, I installed Ubuntu.&nbsp; Start Ubuntu</p> <p><a href="https://msdnshared.blob.core.windows.net/media/2018/04/image384.png"><img title="image" style="border-top: 0px;border-right: 0px;border-bottom: 0px;padding-top: 0px;padding-left: 0px;border-left: 0px;padding-right: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/2018/04/image_thumb359.png" width="615" height="353"></a></p> <p>And that is all.</p> <p>- Chad</p>]]></content:encoded>
    </item>
    <item>
      <title>My Notes on Setting up A POC Windows Hello For Business Lab using Hybrid Key Trust</title>
      <link>https://docs.microsoft.com/archive/blogs/chadcox/my-notes-on-setting-up-a-poc-windows-hello-for-business-lab-using-hybrid-key-trust</link>
      <pubDate>Mon, 19 Mar 2018 15:07:20 GMT</pubDate>
      <dc:creator><![CDATA[Chad Cox]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/chadcox/?p=3235</guid>
      <description><![CDATA[My goal with this lab is to get Windows Hello Business to work on Windows 10 to show the user...]]></description>
      <content:encoded><![CDATA[<p>My goal with this lab is to get Windows Hello Business to work on Windows 10 to show the user experience and provide some lessons learned.&nbsp; I have provided as many of the steps and PowerShell cmdlets I used to set up this lab so that it can be easier to duplicate.&nbsp; I would like to give credit to a few of my peers @ Microsoft – Mike S, Greg C, Jacob M and Scott D thanks for helping me work through some scenarios and providing useful information.</p> <p>&nbsp;</p> <p>Update 3/22/2018</p> <p>This guide is in no way to be a replacement for the documents Microsoft put together.&nbsp; Please make sure to review those documents as well.</p> <p><font size="4">This particular lab is based on this set up documents. </font><a href="https://docs.microsoft.com/en-us/windows/security/identity-protection/hello-for-business/hello-hybrid-key-trust"><font size="4">Hybrid Azure AD joined Key Trust Deployment</font></a></p> <p>To learn about deployment options and Windows Hello for Business Benefits go to the official documents. </p> <p><a href="https://docs.microsoft.com/en-us/windows/security/identity-protection/hello-for-business/hello-identity-verification">Windows Hello for Business</a></p> <p>This particular lab is great for a POC because it doesn’t require ADFS w/MFA Adapter.</p> <h3>LAB Setup</h3> <p>AD Domain Name: hello.contoso.com  <p>Azure AD Domain Name: hellodemo2.chadcolabs.us  <p>Virtual Machines  <ul> <li>Hello-DC01 - Domain Controller / Certificate Authority - Windows Server 2016  <li>Hello-APP1 - Azure AD Connect Server - Windows Server 2016  <li>Hello-Client - Windows 10 1709</li></ul> <h3>On Hello-DC01</h3> <p>Ran the following PowerShell Commands to set up Domain Controller, Forest and Certificate Services</p> <div id="codeSnippetWrapper" style="font-size: 8pt;overflow: auto;cursor: text;border-top: silver 1px solid;font-family: 'Courier New', courier, monospace;border-right: silver 1px solid;width: 97.5%;border-bottom: silver 1px solid;padding-bottom: 4px;direction: ltr;text-align: left;padding-top: 4px;padding-left: 4px;border-left: silver 1px solid;margin: 20px 0px 10px;line-height: 12pt;padding-right: 4px;max-height: 200px;background-color: #f4f4f4"> <div id="codeSnippet" style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4"><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">Set-TimeZone -Id <span style="color: #006080">"Mountain Standard Time"</span></pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">Rename-computer -newname HELLO-DC01</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">Restart-computer</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">&nbsp;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">Install-WindowsFeature AD-Domain-Services -IncludeManagementTools</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">Install-ADDSForest -DomainName hello.contoso.com</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">&nbsp;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">#No ADFS KDSRootKey Not Needed  no  MSA Used</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">#Add-KdsRootKey -EffectiveTime (Get-Date).AddHours(-10)</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">&nbsp;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">New-ADGroup -GroupScope Global -Name <span style="color: #006080">"KeyCredential Admins"</span></pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">New-ADGroup -GroupScope Global -Name <span style="color: #006080">"Windows Hello for Business Users"</span></pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">&nbsp;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">#good to have turn on <span style="color: #0000ff">in</span> the environment</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">Enable-ADOptionalFeature <span style="color: #006080">'recycle bin feature'</span> -Scope ForestOrConfigurationSet -target <span style="color: #006080">"hello.contoso.com"</span></pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">&nbsp;</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">#Configure ADCS</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">Install-WindowsFeature ADCS-Cert-Authority -IncludeManagementTools</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">Install-AdcsCertificationAuthority -CAType EnterpriseRootCA -KeyLength 4096 -HashAlgorithmName SHA256 -ValidityPeriod Years -ValidityPeriodUnits 20 -CACommonName  <span style="color: #006080">"HELLO-DC01"</span> -CryptoProviderName <span style="color: #006080">"RSA#Microsoft Software Key Storage Provider"</span> -DatabaseDirectory c:\windows\system32\Certlog -LogDirectory  c:\windows\system32\Certlog -OverwriteExistingDatabase -OverwriteExistingCAinDS -OverwriteExistingKey</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">&nbsp;</pre><!--CRLF--></div></div>
<p><a href="https://docs.microsoft.com/en-us/windows/access-protection/hello-for-business/hello-cert-trust-validate-pki">Configure the Certificates following these directions – Read Here</a> 
<ul>
<li>Configure Domain Controller Certificates 
<li>Publish Certificate Templates to the Certificate Authority 
<li>Configure Domain Controllers for Automatic Certificate Enrollment 
<li>Deploy the Domain Controller Auto Certificate Enrollment Group Policy Object</li></ul>
<p>Give KeyCredential Admins, Read and Write to the msDS-KeyCredentialLink attribute On Descendant User Objects on the root of the domain.&nbsp; (Can also use the Key Admin Group) 
<p><a href="https://msdnshared.blob.core.windows.net/media/2018/03/image167.png"><img title="image" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/2018/03/image_thumb151.png" width="244" height="152"></a> 
<h3>On Hello-APP1</h3>
<div id="codeSnippetWrapper" style="font-size: 8pt;overflow: auto;cursor: text;border-top: silver 1px solid;font-family: 'Courier New', courier, monospace;border-right: silver 1px solid;width: 97.5%;border-bottom: silver 1px solid;padding-bottom: 4px;direction: ltr;text-align: left;padding-top: 4px;padding-left: 4px;border-left: silver 1px solid;margin: 20px 0px 10px;line-height: 12pt;padding-right: 4px;max-height: 200px;background-color: #f4f4f4">
<div id="codeSnippet" style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4"><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">Add-WindowsFeature RSAT-AD-Tools</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">Set-TimeZone -Id <span style="color: #006080">"Mountain Standard Time"</span></pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">Rename-computer -newname HELLO-APP01</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">Restart-computer</pre><!--CRLF--></div></div>
<p>Download and Install Azure AD Connect, screens shots on how this was configured below. Since ADFS is not deployed for this lab password sync is being used. 
<p>&nbsp; <p><a href="https://msdnshared.blob.core.windows.net/media/2018/03/image175.png"><img title="image" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;margin: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/2018/03/image_thumb179.png" width="244" height="174"></a>&nbsp; <p><a href="https://msdnshared.blob.core.windows.net/media/2018/03/image197.png"><img title="image" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/2018/03/image_thumb180.png" width="244" height="173"></a>&nbsp; <p>&nbsp; <p>Need to add the Azure AD Account to the KeyCredential Admins (or Key Admin) group, this will allow the Azure AD connect account to set the attribute in Active Directory</p>
<div id="codeSnippetWrapper" style="font-size: 8pt;overflow: auto;cursor: text;border-top: silver 1px solid;font-family: 'Courier New', courier, monospace;border-right: silver 1px solid;width: 97.5%;border-bottom: silver 1px solid;padding-bottom: 4px;direction: ltr;text-align: left;padding-top: 4px;padding-left: 4px;border-left: silver 1px solid;margin: 20px 0px 10px;line-height: 12pt;padding-right: 4px;max-height: 200px;background-color: #f4f4f4">
<div id="codeSnippet" style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4"><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">get-aduser -filter {samaccountname -like <span style="color: #006080">"msol*"</span>}</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">get-aduser -filter {samaccountname -like <span style="color: #006080">"msol*"</span>} | Add-ADPrincipalGroupMembership -memberof <span style="color: #006080">"KeyCredential Admins"</span></pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">Get-ADGroupMember <span style="color: #006080">"KeyCredential Admins"</span></pre><!--CRLF--></div></div>
<p><a href="https://msdnshared.blob.core.windows.net/media/2018/03/image198.png"><img title="image" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;margin: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/2018/03/image_thumb181.png" width="244" height="83"></a></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/2018/03/image199.png"><img title="image" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;margin: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/2018/03/image_thumb182.png" width="244" height="44"></a></p>
<h3>On Hello-APP1 Enable Device Registration</h3>
<div id="codeSnippetWrapper" style="font-size: 8pt;overflow: auto;cursor: text;border-top: silver 1px solid;font-family: 'Courier New', courier, monospace;border-right: silver 1px solid;width: 97.5%;border-bottom: silver 1px solid;padding-bottom: 4px;direction: ltr;text-align: left;padding-top: 4px;padding-left: 4px;border-left: silver 1px solid;margin: 20px 0px 10px;line-height: 12pt;padding-right: 4px;max-height: 200px;background-color: #f4f4f4">
<div id="codeSnippet" style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4"><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">Import-Module <span style="color: #006080">'C:\Program Files\Microsoft Azure Active Directory Connect\AdPrep\AdSyncPrep.psm1'</span></pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">Initialize-ADSyncDomainJoinedComputerSync -AdConnectorAccount: <span style="color: #006080">"MSOL_6d8f8960fc61"</span></pre><!--CRLF--></div></div>
<p><a href="https://msdnshared.blob.core.windows.net/media/2018/03/image200.png"><img title="image" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;margin: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/2018/03/image_thumb183.png" width="244" height="27"></a></p>
<p>Verify the service connection point was created in Active Directory</p>
<div id="codeSnippetWrapper" style="font-size: 8pt;overflow: auto;cursor: text;border-top: silver 1px solid;font-family: 'Courier New', courier, monospace;border-right: silver 1px solid;width: 97.5%;border-bottom: silver 1px solid;padding-bottom: 4px;direction: ltr;text-align: left;padding-top: 4px;padding-left: 4px;border-left: silver 1px solid;margin: 20px 0px 10px;line-height: 12pt;padding-right: 4px;max-height: 200px;background-color: #f4f4f4">
<div id="codeSnippet" style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4"><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">(get-adobject -filter * -SearchBase `</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">    <span style="color: #006080">"CN=62a0ff2e-97b9-4513-943f-0d221bd30080,CN=Device Registration Configuration,CN=Services,$((get-adrootdse).configurationNamingContext)"</span> `</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">    -Properties keywords).keywords</pre><!--CRLF--></div></div>
<p><a href="https://msdnshared.blob.core.windows.net/media/2018/03/image201.png"><img title="image" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;margin: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/2018/03/image_thumb184.png" width="244" height="23"></a></p>
<h3>Before jumping into Enabling Windows Hello for business lets make sure Device Registration or Azure AD Join is working.</h3>
<p>Create a GPO and link to the OU that contains the computers.</p>
<p>Open the gpo and navigate to Computer Configuration, Policies, Administrative Templates, Windows Components, Device registration and enabled Register domain joined computers as devices.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/2018/03/image202.png"><img title="image" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;margin: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/2018/03/image_thumb185.png" width="232" height="122"></a><a href="https://msdnshared.blob.core.windows.net/media/2018/03/image203.png"><img title="image" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;margin: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/2018/03/image_thumb186.png" width="244" height="175"></a></p>
<h3>On Hello-Client</h3>
<p>Join Hello-client to the domain and make sure the computer is in the OU where the gpo is linked.</p>
<p>Run gpupdate /force on Hello-Client to make sure the GPO was applied.</p>
<p>Logon to the Azure Portal and check to see if the device shows up in Azure AD under devices.&nbsp; </p>
<p><a href="https://msdnshared.blob.core.windows.net/media/2018/03/image204.png"><img title="image" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;margin: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/2018/03/image_thumb187.png" width="244" height="44"></a></p>
<p>if it doesn’t show up validate the device settings allow users to join devices.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/2018/03/image205.png"><img title="image" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;margin: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/2018/03/image_thumb188.png" width="244" height="113"></a></p>
<p>On Hello-Client run dsregcmd /status to confirm</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/2018/03/image206.png"><img title="image" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;margin: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/2018/03/image_thumb189.png" width="244" height="183"></a></p>
<p>Once confirmed that device registration is working enable Windows Hello for Business.</p>
<h3>Enable Windows Hello for Business</h3>
<p>Create and Link a GPO to the OU where the clients reside.&nbsp; Edit the GPO and Navigate to Computer Configuration, Policies, Administrative Templates, Windows Components, Windows Hello for Business and enabled Use Windows Hello for Business.&nbsp; </p>
<p><a href="https://msdnshared.blob.core.windows.net/media/2018/03/image207.png"><img title="image" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;margin: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/2018/03/image_thumb190.png" width="244" height="117"></a> 
<p><a href="https://msdnshared.blob.core.windows.net/media/2018/03/image208.png"><img title="image" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;margin: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/2018/03/image_thumb191.png" width="244" height="128"></a> 
<p>On Hello-Client run gpupdate /force, restart the computer and logon.&nbsp; After logging on with a synced user the following should show up. One of the things that surprised me was I didn’t need to set up Azure AD MFA for the Synced User.&nbsp; As it turns out if the user is not federated and the account is in Azure AD, AAD will send a SMS-Based proof MFA when a user registers a new device.&nbsp; <a href="https://docs.microsoft.com/en-us/windows/security/identity-protection/hello-for-business/hello-how-it-works#register-a-new-user-or-device">Read: Register a new user or device</a></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/2018/03/image209.png"><img title="image" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;margin: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/2018/03/image_thumb192.png" width="244" height="186"></a><a href="https://msdnshared.blob.core.windows.net/media/2018/03/image210.png"><img title="image" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;margin: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/2018/03/image_thumb193.png" width="244" height="239"></a> </p>
<p><a href="https://msdnshared.blob.core.windows.net/media/2018/03/image211.png"><img title="image" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;margin: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/2018/03/image_thumb194.png" width="244" height="234"></a><a href="https://msdnshared.blob.core.windows.net/media/2018/03/image212.png"><img title="image" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;margin: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/2018/03/image_thumb195.png" width="244" height="233"></a> 
<p><a href="https://msdnshared.blob.core.windows.net/media/2018/03/image213.png"><img title="image" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;margin: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/2018/03/image_thumb196.png" width="244" height="191"></a><a href="https://msdnshared.blob.core.windows.net/media/2018/03/image214.png"><img title="image" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;margin: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/2018/03/image_thumb197.png" width="244" height="174"></a> 
<p>After this is set up, the user wont be able to log in with the pin until an Azure AD Connect sync occurs (30 Minute sync cycle). To validate check the user to see if the msDS-KeyCredentialLink attribute is populated.</p>
<div id="codeSnippetWrapper" style="font-size: 8pt;overflow: auto;cursor: text;border-top: silver 1px solid;font-family: 'Courier New', courier, monospace;border-right: silver 1px solid;width: 97.5%;border-bottom: silver 1px solid;padding-bottom: 4px;direction: ltr;text-align: left;padding-top: 4px;padding-left: 4px;border-left: silver 1px solid;margin: 20px 0px 10px;line-height: 12pt;padding-right: 4px;max-height: 200px;background-color: #f4f4f4">
<div id="codeSnippet" style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4"><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">#Verify the user now has msDS-KeyCredentialLink populated.</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">get-aduser tom -properties <span style="color: #006080">"msDS-KeyCredentialLink"</span></pre><!--CRLF--></div></div>
<p><a href="https://msdnshared.blob.core.windows.net/media/2018/03/image215.png"><img title="image" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;margin: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/2018/03/image_thumb198.png" width="244" height="63"></a> 
<p>Once populated login to Hello-Client, with the PIN.&nbsp; You will probably need to change the sign in option 
<p><a href="https://msdnshared.blob.core.windows.net/media/2018/03/image216.png"><img title="image" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;margin: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/2018/03/image_thumb199.png" width="244" height="173"></a><a href="https://msdnshared.blob.core.windows.net/media/2018/03/image217.png"><img title="image" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;margin: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/2018/03/image_thumb200.png" width="244" height="152"></a> 
<h3>Here are some of the things I learned during this process.&nbsp; </h3>
<p>1) Personal and Computer installed certs during the process.&nbsp; These are mostly from being device registered.</p>
<div id="codeSnippetWrapper" style="font-size: 8pt;overflow: auto;cursor: text;border-top: silver 1px solid;font-family: 'Courier New', courier, monospace;border-right: silver 1px solid;width: 97.5%;border-bottom: silver 1px solid;padding-bottom: 4px;direction: ltr;text-align: left;padding-top: 4px;padding-left: 4px;border-left: silver 1px solid;margin: 20px 0px 10px;line-height: 12pt;padding-right: 4px;max-height: 200px;background-color: #f4f4f4">
<div id="codeSnippet" style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4"><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">Get-ChildItem –Path Cert:\currentuser\My | fl</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">Get-ChildItem –Path Cert:\LocalMachine\My | fl</pre><!--CRLF--></div></div>
<p><a href="https://msdnshared.blob.core.windows.net/media/2018/03/image218.png"><img title="image" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;margin: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/2018/03/image_thumb201.png" width="244" height="87"></a><a href="https://msdnshared.blob.core.windows.net/media/2018/03/image219.png"><img title="image" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;margin: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/2018/03/image_thumb202.png" width="244" height="81"></a></p>
<p>2a) This is what a Successful Authentication Network Trace looks like using Windows Hello For Business. Note it is using a PA-PK-AS-REQ just like a smart card.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/2018/03/image220.png"><img title="image" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;margin: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/2018/03/image_thumb203.png" width="244" height="122"></a></p>
<p>2b) This is what a trace looks like, that is missing the required Domain Controller cert. KDC_ERR_PADATA_TYPE_NOSUPP(16)</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/2018/03/image222.png"><img title="image" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;margin: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/2018/03/image_thumb204.png" width="244" height="133"></a></p>
<p>On the domain controller, <a href="https://docs.microsoft.com/en-us/windows/security/threat-protection/auditing/event-4771">an Event ID 4771 in the security log should show.</a></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/2018/03/image223.png"><img title="image" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;margin: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/2018/03/image_thumb205.png" width="244" height="110"></a></p>
<p>0x10<br>KDC_ERR_PADATA_TYPE_NOSUPP<br>KDC has no support for PADATA type (pre-authentication data)<br>Smart card logon is being attempted and the proper certificate cannot be located. This can happen because the wrong certification authority (CA) is being queried or the proper CA cannot be contacted in order to get Domain Controller or Domain Controller Authentication certificates for the domain controller.<br>It can also happen when a domain controller doesn’t have a certificate installed for smart cards (Domain Controller or Domain Controller Authentication templates). 
<p>PreAuthType 14-17 from RFC 4120 is PKINIT, but none of our charts call out 16 directly, PreAuthtype of 15 is PA-PK-AS-REP_OLD which is a smart card auth.</p>
<p>This is what an actual smart card capture looks like<font></font></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/2018/03/image224.png"><img title="image" style="border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;margin: 0px;padding-right: 0px;border-top-width: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/2018/03/image_thumb206.png" width="244" height="96"></a><font></font></p><font>
<p>&nbsp;</p></font>
<p>My next challenge will be Upgrading a Windows 2012r2 lab with ADFS 3.0 to Windows Server 2016 to support Windows Hello for Business using On Pre Certificate Trust.</p>
<p>-Chad</p>
<p>Update 5/2/2018 – this is a great description on what is happening in the background&nbsp; - <a href="https://jairocadena.com/2018/04/02/windows-hello-for-business-registration-and-authentication-with-azuread/">Windows Hello for Business: Registration and Authentication with #AzureAD</a></p>
<h3>Useful Resources:</h3>
<p>Windows Hello for Business <a href="https://docs.microsoft.com/en-us/windows/security/identity-protection/hello-for-business/hello-identity-verification">https://docs.microsoft.com/en-us/windows/security/identity-protection/hello-for-business/hello-identity-verification</a> 
<p>Hybrid Azure AD joined Key Trust Deployment <a href="https://docs.microsoft.com/en-us/windows/security/identity-protection/hello-for-business/hello-hybrid-key-trust">https://docs.microsoft.com/en-us/windows/security/identity-protection/hello-for-business/hello-hybrid-key-trust</a> 
<p>Setting up Windows Hello for Business with Intune 
<p><a href="https://blogs.technet.microsoft.com/microscott/setting-up-windows-hello-for-business-with-intune/">https://blogs.technet.microsoft.com/microscott/setting-up-windows-hello-for-business-with-intune/</a> 
<p>Azure AD Connect at this time was 1.1.654.0 
<p><cite><a href="https://www.microsoft.com/en-us/download/details.aspx?id=47594">https://www.microsoft.com/en-us/download/details.aspx?id=47594</a></cite> 
<p>Public Key Cryptography for Initial Authentication (PKINIT) in Kerberos Protocol 
<p><a href="https://winprotocoldoc.blob.core.windows.net/productionwindowsarchives/MS-PKCA/%5bMS-PKCA%5d.pdf">https://winprotocoldoc.blob.core.windows.net/productionwindowsarchives/MS-PKCA/%5bMS-PKCA%5d.pdf</a></p>]]></content:encoded>
    </item>
    <item>
      <title>AD PowerShell Tip: How to Find Unused Organizational Units in Active Directory</title>
      <link>https://docs.microsoft.com/archive/blogs/chadcox/ad-powershell-tip-how-to-find-unused-organizational-units-in-active-directory</link>
      <pubDate>Tue, 13 Mar 2018 17:14:51 GMT</pubDate>
      <dc:creator><![CDATA[Chad Cox]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/chadcox/?p=2335</guid>
      <description><![CDATA[&nbsp; This is a quick tip I recently discovered and wanted to share.&nbsp; The Active Directory...]]></description>
      <content:encoded><![CDATA[<p>&nbsp;</p> <p>This is a quick tip I recently discovered and wanted to share.&nbsp; The Active Directory PowerShell Module also displays <a href="https://msdn.microsoft.com/en-us/library/cc223384.aspx">constructed attributes</a> in results.&nbsp; One useful attribute I use for Organizational Units (OU) is msDS-Approx-Immed-Subordinates, this attribute returns the number of direct descendants under any OU or container in Active Directory. Its doesn’t seem to be something that you can use in a filter but you can use it in your where-object clause.</p> <div id="codeSnippetWrapper" style="font-size: 8pt;overflow: auto;cursor: text;border-top: silver 1px solid;font-family: 'Courier New', courier, monospace;border-right: silver 1px solid;width: 97.5%;border-bottom: silver 1px solid;padding-bottom: 4px;direction: ltr;text-align: left;padding-top: 4px;padding-left: 4px;border-left: silver 1px solid;margin: 20px 0px 10px;line-height: 12pt;padding-right: 4px;max-height: 200px;background-color: #f4f4f4"> <div id="codeSnippet" style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4"><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">#get all ou<span style="color: #006080">'s and the number of direct descendants </pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">get-adorganizationalunit -filter * -properties "msDS-Approx-Immed-Subordinates" | select `</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">    name, "msDS-Approx-Immed-Subordinates", distinguishedname</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">#get ou'</span>s with no direct descendant</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">get-adorganizationalunit -filter * -properties <span style="color: #006080">"msDS-Approx-Immed-Subordinates"</span> | select `</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">    name, <span style="color: #006080">"msDS-Approx-Immed-Subordinates"</span>, distinguishedname | `</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">        <span style="color: #0000ff">where</span> {$_.<span style="color: #006080">"msDS-Approx-Immed-Subordinates"</span> -eq 0}</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">#get ou's with direct descendants</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">get-adorganizationalunit -filter * -properties <span style="color: #006080">"msDS-Approx-Immed-Subordinates"</span> | select `</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: #f4f4f4">    name, <span style="color: #006080">"msDS-Approx-Immed-Subordinates"</span>, distinguishedname | `</pre><!--CRLF--><pre style="border-top-style: none;font-size: 8pt;overflow: visible;border-left-style: none;font-family: 'Courier New', courier, monospace;width: 100%;border-bottom-style: none;color: black;padding-bottom: 0px;direction: ltr;text-align: left;padding-top: 0px;border-right-style: none;padding-left: 0px;margin: 0em;line-height: 12pt;padding-right: 0px;background-color: white">        <span style="color: #0000ff">where</span> {$_.<span style="color: #006080">"msDS-Approx-Immed-Subordinates"</span> -ne 0}</pre><!--CRLF--></div></div>
<p><a href="https://msdnshared.blob.core.windows.net/media/2018/03/image144.png"><img title="image" style="border-top: 0px;border-right: 0px;border-bottom: 0px;padding-top: 0px;padding-left: 0px;border-left: 0px;padding-right: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/2018/03/image_thumb131.png" width="557" height="188"></a></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/2018/03/image145.png"><img title="image" style="border-top: 0px;border-right: 0px;border-bottom: 0px;padding-top: 0px;padding-left: 0px;border-left: 0px;margin: 0px;padding-right: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/2018/03/image_thumb132.png" width="244" height="143"></a></p>
<p>I put together a sample script to find and delete unused Organizational Units.</p>
<p><a href="https://raw.githubusercontent.com/chadmcox/ADPoSh/master/FindandDeleteUnusedOUs.ps1">GitHub: FindandDeleteUnusedOUs.ps1</a></p>



<p>Hope you find this useful.</p>
<p>-Chad</p>]]></content:encoded>
    </item>
    <item>
      <title>I have Azure AD, now what?</title>
      <link>https://docs.microsoft.com/archive/blogs/chadcox/i-have-azure-ad-now-what</link>
      <pubDate>Tue, 13 Mar 2018 15:39:49 GMT</pubDate>
      <dc:creator><![CDATA[Chad Cox]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/chadcox/?p=2285</guid>
      <description><![CDATA[&nbsp; One common question I see is what should be the first thing I do after I set up Azure...]]></description>
      <content:encoded><![CDATA[<p>&nbsp;</p> <p>One common question I see is what should be the first thing I do after I set up Azure AD?&nbsp; Luckily for you the Product Group has provided a nice article that covers that topic.&nbsp; Please do this first and get your peers on board.&nbsp; Most customers set up Azure AD, set up syncing and start using it, before ever thinking about security.&nbsp; <strong><font style="background-color: #ffff00">It is never to late to start following this guidance!!!</font></strong></p> <p><a href="https://docs.microsoft.com/en-us/azure/active-directory/admin-roles-best-practices">Securing privileged access for hybrid and cloud deployments in Azure AD</a> <p>&nbsp; <p>Enjoy <p>- Chad  <p>&nbsp; <p>&nbsp; <p>Other Useful AAD Link: <p><a href="https://docs.microsoft.com/en-us/azure/active-directory/active-directory-playbook-intro">Azure Active Directory Proof of Concept Playbook: Introduction</a></p>]]></content:encoded>
    </item>
  </channel>
</rss>