Cloud Decoded

Lets understand cloud better…

  • Home
  • About
  • Contact
  • Disclaimer & Policies
Menu

ADFS, SharePoint

ADFS 3.0 with SharePoint 2013 Redirection Loop – Another way out

November 24, 2014 No Comments

This good old topic with lots of different behaviors and solutions.

In my case I had 3 different SharePoint 2013 web applications say site1.mycompany.com, site2.mycompany.com & site3.mycompany.com configured to use ADFS 3.0

Everything was working fine on all the browsers till the final day of our production rollout… and then the moment came… just a few hours before we had to go live, site2.mycompany.com & site3.mycompany.com started throwing errors when trying to login… It was same old & popular ADFS redirection loop issue… only on Internet Explorer… and only for these 2 sites… Site1 kept on working fine… Tried all the alternatives found on web including changing the TokenLifeTime in ADFS and LogonTokenCacheExpirationWindow in SharePoint. All correctly configured.. even added all the trailing “/” in ADFS relying party configs… All with no luck.. Finally had to rollback our production migration.

Next day again started to look into this and found this thread – though not directly related, it mentions something about cookies getting messed up in a multi-site environment and suggests something like

This gave me some ideas and I tried the following –

1. Since all the sites were working with Chrome, I captured the Fiddler trace of all the sites and looked at the Cookies being set. when you select /_trust/ in the items of fiddler, on right pane under Header, you can see the the cookies. As expected a cookie named FedAuth was being created there by all the sites.

2. Did the same with IE and saw FedAuth cookie was NOT getting created by Site2 and Site 3
3. Opened up web.config of my site2, found the section  federatedAuthentication
and  added this  name=”sri”  to cookieHandler section

4. Did the same for my other 2 sites as well, giving a different cookie name for each one of them, like –

5. Save all the files
6. Reopen the IE and wholla !!!

Though I couldn’t figure out how everything was working earlier in IE as well till that day… very  relaxing to see that now we are able to browse all the sites in IE again…

Hope this helps…

Enjoy,
Anupam

3.0ADFSADFS 3.0ClaimsLoginLoopRedirectionSharePointSharePoint 2013SharePoint 2016
Previous Post Next Post
Anupam Shrivastava

Anupam Shrivastava

Anupam Shrivastava, a learner, explorer, traveler and tech enthusiast. New technologies drive me and cloud is where we live now. So, lets try to make the world better for our fellow cloudizens :)

You may also like

April 16, 2018

Plan Extranet Sites Migration to SharePoint Online

October 8, 2014

Migrate SharePoint 2010 Search Service Application to SharePoint 2013 – The Fineprints

June 26, 2019
Solution-Featured

Optimize SharePoint Search Results using Auto Tagged Content

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Author

Anupam

Anupam Shrivastava, a learner, explorer, traveler and tech enthusiast. New technologies drive me and cloud is where we live now. So, lets try to make the world better for our fellow cloudizens :)

Recent Posts

  • Docker container runtime transition to containerd runtime – Fix Sitecore containers
  • Use Azure Devops Pipelines to Deploy Applications within Closed Networks
  • Sitecore Production Environment on Azure Kubernetes Services – Part 4 (Putting everything together with Azure Devops)
  • Automate Office 365 Health Status Monitoring with Power Automate Using Service Communications Graph API
  • AUTOMATE OFFICE 365 HEALTH STATUS MONITORING USING OFFICE 365 SERVICE COMMUNICATIONS GRAPH API

Recent Comments

  • Phu Huynh on Send Meeting Invites to SharePoint Online Calendar
  • andreea on Power of Power Automate and a Big Limitation!
  • Gaurav Singh on SharePoint Crawl Error- Processing this item failed because of a timeout
  • Eddie Cortez on Send Documents by Email to SharePoint Online
  • gam on Deploy Solutions to On-Premise Servers using Azure DevOps

Categories

  • ADFS
  • Analytics
  • Azure
  • Azure Chatbot
  • Azure DevOps
  • Enterprise Search
  • Flow
  • Kubernetes
  • MS Teams
  • Office 365
  • OneDrive
  • Power Automate
  • PowerApps
  • SharePoint
  • SharePoint Online
  • SharePoint Online
  • Sitecore
  • Tools
  • Visual Studio

Archives

  • May 2023
  • October 2022
  • March 2022
  • January 2022
  • October 2021
  • September 2021
  • August 2021
  • May 2021
  • March 2021
  • February 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • November 2019
  • September 2019
  • August 2019
  • July 2019
  • June 2019
  • April 2019
  • March 2019
  • November 2018
  • October 2018
  • September 2018
  • August 2018
  • June 2018
  • May 2018
  • April 2018
  • March 2018
  • February 2018
  • December 2017
  • November 2017
  • October 2017
  • August 2017
  • July 2017
  • June 2017
  • May 2017
  • September 2016
  • October 2015
  • May 2015
  • February 2015
  • January 2015
  • November 2014
  • October 2014
  • April 2013
  • October 2012
  • June 2012
  • February 2010
  • October 2009
  • August 2007

Popular Tags

ADFS 3.0 AKS Analytics Apps Architecture Automation Azure Azure AD Azure bot Azure EndPoints Chat Chat Bot Chatbot Chrome Customization Enterprise Search External Access FAST FAST Search 2010 Flow Forms Flow Groups Guest Health Kubernetes Machine Learning Microsoft Flow Migration Monitoring O365 Office 365 OneDrive OneDrive for Business Performance PowerApps PowerShell Redirection Search SharePoint SharePoint 2010 SharePoint 2013 SharePoint 2016 SharePoint Online Skype Teams
  • Home
  • About
  • Contact
  • Disclaimer & Policies

Cloud Decoded

Lets understand cloud better…