ADFS Sign-In Page Customization using Power-Shell Commands

      Comments Off on ADFS Sign-In Page Customization using Power-Shell Commands

Open Power-Shell as Administrator and type following command to Import ADFS Module

 Import-Module ADFS
  • PowerShell command to Change Company Name

 

Set-AdfsGlobalWebContent –CompanyName "Farook Ismail"

 

  • PowerShell Command to Change Company Logo

 

Use the following PowerShell Windows PowerShell cmdlet and syntax.

We recommend the dimensions for the logo to be 260×35 @ 96 dpi with a file size of no greater than 10 KB.

   Set-AdfsWebTheme -TargetName default -Logo @{path="C:\ADFS\MIFLogo.png"}

 

  • PowerShell Command to Change Illustration (Image on Left pane)

 

the graphic on the left, which is displayed on the sign-in page, use the following Windows PowerShell PowerShell cmdlet and syntax.

We recommend the dimensions for the illustration to be 1420×1080 pixels @ 96 DPI with a file size of no greater than 200 KB.

Set-AdfsWebTheme -TargetName default -Illustration @{path="c:\ADFS\illustration.png"}

 

  • Add sign-in page description

 

To add a sign-in page description to the sign-in page, use the following Windows PowerShell PowerShell cmdlet and syntax.

Set-AdfsGlobalWebContent -SignInPageDescriptionText “<P><B>Sign-in requires format DomainName\username.</B></P>”