How to Customise ADFS Login Page Server 2012
How to Customise ADFS Login Page.
You require powershell
A couple of days ago, I was asked to customize an ADFS login page. Here are the customization I was required to do
-
- Change the illustration
- Put the Logo
- Change the Sign in with organization account section
- Place the Domain prefix in the username box
- Change the sing in requirement in block, underneath username & password window.
For change of illustration I used
Set-AdfsWebTheme -TargetName default -Illustration @{path=”c:\Contoso\illustration.png”}
For Logo I used
Set-AdfsWebTheme -TargetName default -Logo @{path=”c:\Contoso\logo.png”}
Microsoft Link – https://technet.microsoft.com/en-us/library/dn280950(v=ws.11).aspx
For changing the sign it Organisation name & Auto populating domain prefix I had to
- Create a new theme named custom
- Export the default theme in a location
- Change the onload.js file
- Attach the changed onload.js file to the new custom theme
- Activate the custom theme to the ADFS page
For this work I used below
Microsoft Link – https://technet.microsoft.com/en-us/library/dn636121.aspx






Leave a Reply