List all Relying Party Trusts that use SHA256 or SHA1 in ADFS

By |2018-07-13T14:29:39+00:00July 13th, 2018|PowerShell, Windows, Windows Server|0 Comments

Here’s a quick one-liner to fetch a list of all relying part trusts that use the SHA256 hashing algorithm.

Get-AdfsRelyingPartyTrust | Where {$_.SignatureAlgorithm -Like “” | FT Name

If you want to get a list of all RPT’s using SHA1, replace the URL with “”.

Hope this helps! 🙂

Leave A Comment

like what you see? 

Sign-up to our newsletter and never miss out on the latest blogs, events and tech news from the world of risual
Give it a try, you can unsubscribe anytime.