Skip to Content
Active Directory Administration Cookbook
book

Active Directory Administration Cookbook

by Sander Berkouwer
May 2019
Intermediate to advanced
620 pages
21h 41m
English
Packt Publishing
Content preview from Active Directory Administration Cookbook

How to do it...

To enable Extranet Smart Account Lock-out for an AD FS farm running SQL Server, run the following lines of PowerShell to update the AD FS Artifact Store:

These three lines of PowerShell do not need to be run on AD FS farms using Windows Internal Database.
$cred = Get-CredentialImport-Module ADFSUpdate-AdfsArtifactDatabasePermission -Credential $cred

To enable Extranet Smart Account Lock-out for an AD FS farm, run the following lines of PowerShell:

Import-Module ADFS
Set-AdfsProperties -ExtranetLockoutThreshold 10
Set-AdfsProperties -ExtranetObservationWindow (New-Timespan -minutes 5)
Set-AdfsProperties -EnableExtranetLockout $true
Set-AdfsProperties -ExtranetLockoutMode AdfsSmartLockoutEnforce
Restart-Service adfssrv
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Active Directory Cookbook

Active Directory Cookbook

Robbie Allen
Active Directory Cookbook, 4th Edition

Active Directory Cookbook, 4th Edition

Brian Svidergol, Robbie Allen

Publisher Resources

ISBN: 9781789806984Supplemental Content