I am Dale Hayter, a Microsoft and VMware certified Technical Consultant.

My blog has been built up over the years from my experience of working on an IT helpdesk and also from being out on-site.

Single Sign on with Chrome, Firefox and Edge with ADFS 3.0

If you have deployed ADFS 3.0 in your organisation you will find that by default only Internet Explorer works for SSO. To add support for Edge and Chrome we have to make some changes on the ADFS servers. By default ADFS 3.0 does not recognise the browser user agent for Chrome or Edge. So we need to add them to the ADFS config.

First of all we need to confirm that the browser headers are not present. Run the command.

Get-ADFSProperties | Select -ExpandProperty WIASupportedUserAgents

You will now see a list of all browser user agents supported.

browser

The ones we need to look out for are Edge and Mozilla 5.0. Unfortunately, you cannot just add the 2 needed. The command we need to run adds all the present ones and the new ones.

Set-AdfsProperties –WIASupportedUserAgents @("MSAuthHost/1.0/In-Domain","MSIE 6.0","MSIE 7.0","MSIE 8.0","MSIE 9.0","MSIE 10.0","Trident/7.0", "MSIPC","Windows Rights Management Client","Mozilla/5.0","Edge/12")

Now we have them all present. They should all now be present. Run the Get-ADFSProperties command mentioned earlier to see the list.

browser2

We can start restart the ADFS Services.

net stop adfssrv
net start adfssrv

Remember to restart the service on every ADFS server.

So far I haven’t been able to automate Firefox working across an organisation. On each machine you need to make a change in Firefox to allow it to pass through your network logon details to the ADFS page. Open a Firefox page and type “about:config” in the address bar. Then click on the “I’ll be careful, I promise!” button.

aboutconfig

Search for network.automatic-ntlm-auth.trusted-uris in the search bar. Then double click on the line that appears.

ntlm

Add in the name of your ADFS URL. Do not add the https part. Once done click ok. Thats it all done 🙂

ntlmuris

Update 03/05/18 :

Updated command to include all versions of firefox and edge

Set-AdfsProperties –WIASupportedUserAgents @("MSAuthHost/1.0/In-Domain","MSIE 6.0","MSIE 7.0","MSIE 8.0","MSIE 9.0","MSIE 10.0","Trident/7.0","MSIPC","Windows Rights Management Client","Edge","Chrome","Firefox")