Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 818 Bytes

adfs.md

File metadata and controls

19 lines (15 loc) · 818 Bytes
  • Add server to AD FS farm:
Import-Module ADFS

# Get the credential used for performaing installation/configuration of ADFS.
$installationCredential = Get-Credential -Message "Enter the credential for the account used to perform the configuration."

# Get the credential used for the federation service account.
$serviceAccountCredential = Get-Credential -Message "Enter the credential for the Federation Service Account."

Add-AdfsFarmNode \
      -CertificateThumbprint:"<CERTIFICATE THUMBPRINT>" \
      -Credential:$installationCredential \
      -OverwriteConfiguration:$true \
      -PrimaryComputerName:"<SERVER HOSTNAME>" \
      -ServiceAccountCredential:$serviceAccountCredential