<?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>Microsoft ADFS &#8211; Jeffrey Bostoen</title>
	<atom:link href="https://jeffreybostoen.be/category/microsoft/microsoft-adfs/feed/" rel="self" type="application/rss+xml" />
	<link>https://jeffreybostoen.be</link>
	<description>Freelance iTop consultant and developer - IT Consulting - Official iTop Partner</description>
	<lastBuildDate>Fri, 04 Aug 2023 13:30:03 +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>

<image>
	<url>https://jeffreybostoen.be/wp-content/uploads/2023/01/cropped-android-chrome-512x512-1-32x32.png</url>
	<title>Microsoft ADFS &#8211; Jeffrey Bostoen</title>
	<link>https://jeffreybostoen.be</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Microsoft ADFS &#8211; Event ID 381</title>
		<link>https://jeffreybostoen.be/microsoft-adfs-event-id-381/</link>
		
		<dc:creator><![CDATA[Jeffrey Bostoen]]></dc:creator>
		<pubDate>Fri, 21 Apr 2023 11:44:42 +0000</pubDate>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Microsoft ADFS]]></category>
		<guid isPermaLink="false">https://jeffreybostoen.be/?p=814</guid>

					<description><![CDATA[When the Active Directory Federation Services service fails to start because certificates were revoked or have been expired: in best case it&#8217;s expired. All internet solutions suggest to run cmdlets. This fails, because the service isn&#8217;t started. The error message points to Could not connect to net.tcp://localhost:1500/policy . The supposed solution? Making sure the ADFS [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>When the <strong>Active Directory Federation Services</strong> service fails to start because certificates were revoked or have been expired: in best case it&#8217;s expired. All internet solutions suggest to run cmdlets. This fails, because the service isn&#8217;t started. </p>



<p>The error message points to <code>Could not connect to net.tcp://<em>localhost</em>:<em>1500</em>/policy</code> . The supposed solution? Making sure the ADFS service is running. See the irony here?</p>



<p>What worked in my case: changing the time of the virtual machine to be in the past. Since it was an Azure machine, I had to disable two services: <strong>win32time </strong>and <strong>Hyper-V Time Synchronization</strong>. Then, I could change the date to something in the past and I finally managed to get ADFS running. On Google Cloud, I recently encountered the same issue. I also disabled <strong>win32time</strong>, all Google-related services (bit of an overkill), quickly changed time and managed to get ADFS running.</p>



<p>You could perhaps obtain more info from the SQL or WID database &gt; ADFS &gt; ServiceSettings, which contained the thumbprints in my case.</p>



<p>Hint: you can open the WID database with SQL Server Management Studio (SSMS).<br>Connection string: <br><code>np:\.\pipe\MICROSOFT##WID\tsql\query</code>  <br>You should be able to authenticate using the machine&#8217;s local admin account.</p>



<p>Then I changed the date/time to the real world time again and ran <strong>Update-ADFSCertificate -urgent</strong> with success.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Set-ADFSSSLCertificate: Certificate does not have a subject name that matches the specified Federation Service name: foo.bar.com</title>
		<link>https://jeffreybostoen.be/set-adfssslcertificate-certificate-does-not-have-a-subject-name-that-matches-the-specified-federation-service-name-foo-bar-com/</link>
		
		<dc:creator><![CDATA[Jeffrey Bostoen]]></dc:creator>
		<pubDate>Wed, 05 Jan 2022 12:47:37 +0000</pubDate>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Microsoft ADFS]]></category>
		<guid isPermaLink="false">https://jeffreybostoen.be/?p=501</guid>

					<description><![CDATA[One of the main causes is that the subject name does match, but it should also be present in alternative subject names (DNS).]]></description>
										<content:encoded><![CDATA[
<p>One of the main causes is that the subject name does match, but it should also be present in <strong>alternative subject names</strong> (DNS).</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
