AD FS: HTTP 400 Error in adfs/ls/wia

It’s my first time deploying AD FS in a test environment and this particular error wasted hours of my time. Anyway, I’m sharing with you what I did to solve the problem.

DISCLAIMER: I am not an AD FS expert. I just need to have a working AD FS environment (a very simple one) just to get an application running.

First, here’s the environment that I have:

  • Active Directory (AD) server
  • Active Directory Federation Services (AD FS) server
  • Database server (but that this is irrelevant in this article)

One of the things to do to verify that your AD FS is running is by browsing to:

https://FQDN of the federation server/adfs/ls/idpinitiatedsignon.aspx

There’s nothing wrong accessing that site. It prompted me to type my credentials, so I did. However, it redirected me to /adfs/ls/wia with an HTTP 400 error, saying “The webpage cannot be found.”

Surprisingly, this error only happens in Internet Explorer. It WORKS on Firefox.


  1. Log in to the domain controller (where AD is installed).
  2. Run ADSI Edit (Active Directory Services Interfaces Editor). Just search it on the Start menu.
  3. On the left pane, right-click on ADSI Edit and click Connect to…
  4. There’s nothing to change in the default values so you can click OK.
  5. On the left pane, click on the “Default naming context” to load its contents, then expand it.
  6. Click on DC=xxxxx,DC=xxxxx (this depends on your domain name), then expand.
  7. In my case, I used Group Managed Service Account during AD FS configuration, so I would click on CN=Managed Service Accounts. Expand it afterwards.
  8. Right click on CN=xxxx (the name of your service account) the click Properties.
  9. You will see the attributes under the Attribute Editor.
  10. Scroll down until you see the servicePrincipalName attribute.
  11. Double-click on it to bring up the Multi-valued String Editor dialog.
  12. In the Value to add: field, type the FQDN of the federation server (where AD FS is installed).
  13. Click OK for both of the dialog boxes.
  14. You can now check if the error is gone after logging in to /adfs/ls/idpinitiatedsignon.aspx. In my case, it did.

Understanding Cyberbullying

Image source

The Internet has made the world a smaller place in a good way. We are now able to connect with friends and family who live far away with just an Internet connection. Social media has made keeping in touch with old classmates more accessible, and it even enables us to create new relationships with people who have the same interests. The Internet has made connecting with people around the world more straightforward, and the field of communication has reached great heights, enabling development across many industries possible. From these advantages that came with the advent of social media, some problems came along with it.

Read More »

Social Interactions in the Social Media Era: The Good and The Bad

Image Source

Social networking has inevitably redefined social interactions for good. Since the inception of every social media platform, its rise had been unstoppable. A recent study shows that Facebook and YouTube continue to dominate this landscape among adults in the US, while majority of the younger users seem to use Snapchat and Instagram more often. If social media platforms are so utilized, how do they impact their users’ social interactions?

Read More »

Workplace Robotics & Artificial Intelligence

Image source

Necessity is the mother of invention. Ever since humankind has started creating new things, the focus of their creation is to help them with the task that they need to perform. From vehicles to electricity, humans have created new technology to find ways to make their lives and work easier. The use of machines in the workplace is nothing new; however, with the advancements in technology these machines that used to do simple tasks are now capable of so much more. The invention of robotics and artificial intelligence has elevated these machines to be able to learn and think for themselves.

Read More »

Self-Driving Cars: Liability and Insurance

Image source

People have always been excited about new technology. When Apple came out with the first iPhone back in 2007, the world was watching; excited about what the new technology has in store and how it can make life more convenient. True enough, because of the iPhone’s launch, a thousand more other features and advances in technology has taken place. Information has become readily available to anyone with a smartphone and an Internet connection; you might even be reading this article on a smartphone or tablet. The same expectations from people apply to autonomous or self-driving cars. People expect that this technology would not only be more convenient but would also be safer on the road.

Read More »