Hello,
I'm in the process of setting up SharePoint 2013 in combination with AD FS. I've set up everything according to the different articles out there, but it doesn't seem to be working for some reason.
Symptom: I get the sign in page, select the ADFS login option, the browser does some postbacks and redirects and then returns to the sign in page again. This is repeated over and over.
In the ULS logs, only Access Denied errors seem to be linked to this issue, which would be quite normal as long as we're not being authenticated.
With Fiddler, I checked the requests going over the line and found the following requests:
302 POST /_login/default.aspx?ReturnUrl=%2f_layouts%2f15%2fAuthenticate.aspx%3fSource%3d%252F&Source=%2F
404 GET /_trust/default.aspx?trust=ADFS&ReturnUrl=%2f_layouts%2f15%2fAuthenticate.aspx%3fSource%3d%252F&Source=%2F HTTP/1.1
302 GET /Pages/PageNotFoundError.aspx?requestUrl=https://portal.contoso.com/_trust/default.aspx HTTP/1.1
302 GET /_layouts/15/Authenticate.aspx?Source=%2FPages%2FPageNotFoundError%2Easpx%3FrequestUrl%3Dhttps%3A%2F%2Fportal%2Econtoso%2Ecom%2F%5Ftrust%2Fdefault%2Easpx HTTP/1.1
200 GET /_login/default.aspx?ReturnUrl=%2f_layouts%2f15%2fAuthenticate.aspx%3fSource%3d%252FPages%252FPageNotFoundError%252Easpx%253FrequestUrl%253Dhttps%253A%252F%252Fportal%252Econtoso%252Ecom%252F%255Ftrust%252Fdefault%252Easpx&Source=%2FPages%2FPageNotFoundError%2Easpx%3FrequestUrl%3Dhttps%3A%2F%2Fportal%2Econtoso%2Ecom%2F%5Ftrust%2Fdefault%2Easpx
HTTP/1.1
Two things stand out:
- The 404 on the /_trust/default.aspx
- Where is the redirect to the AD FS?
So it appears that the problem is not with the AD FS, but with SharePoint as we never even touch the AD FS. But why? I recreated the trusted token issuer, which made no difference. Checked the certificates and stuff, seems to be fine.
Apart from obviously looking for a solution, I'm looking for a place to start looking. I've check the ULS logs and now don't know where to look any more. So if you guys have any ideas, that would be much appreciated.
MSTC MCPD SharePoint 2010 / SharePoint 2013