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

<channel>
	<title>Intune Archives - Wiredwolf Canada</title>
	<atom:link href="https://catastrophe.wiredwolf.com/category/microsoft-office-365/intune/feed/" rel="self" type="application/rss+xml" />
	<link>https://catastrophe.wiredwolf.com/category/microsoft-office-365/intune/</link>
	<description></description>
	<lastBuildDate>Wed, 17 Feb 2021 19:22:59 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>Automatic Enrollment Issues with Intune</title>
		<link>https://catastrophe.wiredwolf.com/automatic-enrollment-issues-with-intune/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Fri, 22 Jan 2021 20:23:45 +0000</pubDate>
				<category><![CDATA[Intune]]></category>
		<category><![CDATA[Microsoft Office 365]]></category>
		<guid isPermaLink="false">https://catastrophe.wiredwolf.com/?p=20941</guid>

					<description><![CDATA[<p>This has been one of the more frustrating Microsoft Issues I've had to deal with recently. The deployment is relatively straightforward. Set up a GPO to deploy to all workstations and make some minor adjustments in the O365 tenant. It's well documented so I won't bother with that here. Just make sure one of the  [...]</p>
<p>The post <a href="https://catastrophe.wiredwolf.com/automatic-enrollment-issues-with-intune/">Automatic Enrollment Issues with Intune</a> appeared first on <a href="https://catastrophe.wiredwolf.com">Wiredwolf Canada</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div class="fusion-fullwidth fullwidth-box fusion-builder-row-1 nonhundred-percent-fullwidth non-hundred-percent-height-scrolling" style="--awb-border-radius-top-left:0px;--awb-border-radius-top-right:0px;--awb-border-radius-bottom-right:0px;--awb-border-radius-bottom-left:0px;--awb-flex-wrap:wrap;" ><div class="fusion-builder-row fusion-row"><div class="fusion-layout-column fusion_builder_column fusion-builder-column-0 fusion_builder_column_1_1 1_1 fusion-one-full fusion-column-first fusion-column-last" style="--awb-bg-size:cover;--awb-margin-bottom:0px;"><div class="fusion-column-wrapper fusion-flex-column-wrapper-legacy"><div class="fusion-text fusion-text-1"><p>This has been one of the more frustrating Microsoft Issues I&#8217;ve had to deal with recently.  </p>
<p>The deployment is relatively straightforward.  Set up a GPO to deploy to all workstations and make some minor adjustments in the O365 tenant.  It&#8217;s well documented so I won&#8217;t bother with that here.  Just make sure one of the first things you check is that the GPO is being applied to the USER.</p>
<p>The problem is waiting for machines to check in.  Once it&#8217;s all set up you have to wait for the machines to show up in the <a href="https://endpoint.microsoft.com">Microsoft Endpoint</a>.</p>
<p>Devices &#8211;&gt; All Devices</p>
<p>In my case after 2 months on a 60+ PC network spanning 5 sites only 16 machines showed up as being compliant.  </p>
<p>These are the bits that I learned to help facilitate finding information, troubleshooting, and ultimately resolving the issues.</p>
<p>First, it&#8217;s important to note that Intune Deployment <em>does not like</em> when other MDM-type deployments have been applied to the PC.  I guess this makes sense, but in my opinion they should make it easier to figure out what&#8217;s wrong.</p>
<p>Logging for this is found here:  Event Viewer &#8211;&gt; Application and Services Logs &#8211;&gt; Microsoft &#8211;&gt; Windows &#8211;&gt; DeviceManagement-Enterprise-Diagnostics-Provider &#8211;&gt; Admin</p>
<p>Commands:</p>
<p>&#8220;dsregcmd&#8221; is the go-to command for determining the status of the machine with Intune.</p>
<blockquote>
<p>dsregcmd /status</p>
</blockquote>
<p>This tells you the current status of the machine.  </p>
<p><a href="https://docs.microsoft.com/en-us/mem/intune/enrollment/troubleshoot-windows-auto-enrollment">Troubleshoot Windows 10 auto-enrollment in Intune &#8211; Microsoft Intune | Microsoft Docs</a></p>
<p>This site tells you to find these entries:</p>
<ul>
<li>Device State:
<ul>
<li>AzureAdJoined: YES</li>
<li>DomainJoined: YES</li>
</ul>
</li>
<li>SSO State:
<ul>
<li>AzureAdPrt: YES</li>
</ul>
</li>
</ul>
<p>In each machine I checked, both checking in successfully and those not appearing at all in Endpoint, none showed AzureAdPrt: YES.</p>
<p>I didn&#8217;t really find the Microsoft Article to be terribly helpful.</p>
<p>Reviewing the logs gave me the kernel I needed to start searching for why the machines weren&#8217;t being picked up.  I stumbled across a number of sites that tried to address it, but were difficult to follow.  </p>
<p>Ultimately I found this process to work:</p>
<ol>
<li>Look in the Registry for an entry in ComputerHKEY_LOCAL_MACHINESOFTWAREMicrosoftEnrollments
<ol>
<li>There will be numerous entries but the majority of them will have only the following sub-entries
<ol>
<li>Altitude</li>
<li>EnrollmentState</li>
<li>EnrollmentType</li>
</ol>
</li>
<li>The entry will be a hexadecimal key like 18DCFFD4-37D6-4BC6-87E0-4266FDBB8E49 but they appear to be pretty random so check them all</li>
<li>The entry we&#8217;re looking for will have way more information in it
<ol>
<li>AADOpaqueID</li>
<li>AADResourceID</li>
<li>CurKeyContainer</li>
<li>DiscoveryService&#8230;</li>
<li>ProviderID</li>
<li>UPN</li>
<li>Etc&#8230;</li>
</ol>
</li>
<li>Delete this key and any others like it
</li>
<ol>
<li>It&#8217;s possible there will be more than one &#8211; check them all</li>
</ol>
<li>Execute this command on the affected workstation:   <b>dsregcmd /leave</b></li>
<li>Reboot the PC</li>
</ol>
</li>
<li>Locate the PC in Azure AD under Devices and delete it</li>
<li>Re-run the AD Sync &#8211; PowerShell Command:
<ol>
<li><b>Start-ADSyncSyncCycle -PolicyType Delta</b></li>
</ol>
<ol>
<li>Wait for the Sync to complete and give Azure AD a couple of minutes to pick up the changes</li>
</ol>
</li>
<li>Log in to the PC and open a CMD prompt and re-run &#8220;<b>gpupdate /force</b>&#8220;</li>
<li>Run <b>dsregcmd /status<br />
</b></p>
<ol>
<li>The status should not show any connectivity (URL/URI entries) to Office yet but they will populate</li>
</ol>
</li>
<li>Log out of the PC and wait for the licensed Intune user to log in</li>
<li>Check status of Endpoint &#8211; the PC should now be showing up</li>
</ol>
</div><div class="fusion-clearfix"></div></div></div></div></div>
<p>The post <a href="https://catastrophe.wiredwolf.com/automatic-enrollment-issues-with-intune/">Automatic Enrollment Issues with Intune</a> appeared first on <a href="https://catastrophe.wiredwolf.com">Wiredwolf Canada</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
