Customize the ADFS authentication page with buttons!

Q. How can I add custom HTML to the logon page of my ADFS server?

A. As part of the ADFS server customization it is possible to specify some sign-in page description text which is HTML. This can really be anything including a neat looking table showing some useful links like that shown below.

To do this first work out the HTML you want in a standard HTML editor then modify if to be one long string and if you have double quotes as you will need to double them up. Below is an example I use however this should all run on one line.

Set-AdfsGlobalWebContent -SignInPageDescriptionText "
Register for Forgot PasswordForgot or Reset Password?
Register for Phone / MultiFactorRegister this device
"

Each week, John Savill answers all of your toughest tech questions about the worlds of Windows Server, Azure, and beyond. Read his past IT advice here, and email your questions to john@savilltech.com.

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish