Change Adfs Login Page

Changing the ADFS (Active Directory Federation Services) login page can be a great way to add a personalized touch to your organization’s login experience. As an IT professional, I have had the opportunity to customize the ADFS login page for my company, and I must say, it was a rewarding experience.

Let’s dive deeper into the process of changing the ADFS login page and explore why it’s worth considering.

What is ADFS?

Before we get into the nitty-gritty of modifying the ADFS login page, let’s briefly understand what ADFS is. ADFS is a Microsoft service that allows single sign-on (SSO) authentication across multiple applications and systems. It provides a secure way to grant users access to various resources without the need for multiple login credentials.

Why Change the ADFS Login Page?

The default ADFS login page might not align with your organization’s branding or user experience goals. By customizing the login page, you can create a seamless and consistent login experience that reflects your company’s identity. Moreover, a personalized login page instills trust and confidence in your users, as they can easily identify and relate to the familiar branding elements.

Step-by-Step Guide to Change the ADFS Login Page

Now, let’s go through the step-by-step process of customizing the ADFS login page:

Step 1: Prepare the Custom Login Page

To create a custom login page, you’ll need to design a web page with the desired branding, layout, and visuals. This can be created using HTML, CSS, and JavaScript. Take this opportunity to add your organization’s logo, color scheme, and any other elements that reflect your brand identity.

Step 2: Deploy the Custom Login Page

Once you have the custom login page ready, it’s time to deploy it to the ADFS server. Connect to the ADFS server and navigate to the ADFS installation directory. Look for the “ls” folder and locate the “default” folder within it. Replace the existing default.aspx file with your custom login page.

Step 3: Configure the Custom Login Page

Next, open the ADFS Management Console and navigate to the “Authentication Policies” section. In the “Primary Authentication” tab, you can configure the custom login page by specifying the URL of your new login page. Save the changes and restart the ADFS service for the modifications to take effect.


Customizing the ADFS login page can be a transformative experience for both your organization and its users. By creating a personalized login page, you can enhance brand consistency, user experience, and instill a sense of trust and familiarity among your users. Remember to keep your custom login page updated with your organization’s evolving branding and design guidelines.

For a more detailed guide and code examples, you can visit the official Microsoft documentation on customizing ADFS sign-in pages.