im trying to configure ADFS with sharepoint. ADFS-server is correctly configured and i can access ADFS Metadata




Then i toke the "Signin Certificate" from ADFS managment window to Sharepoint

enter image description here

I then created SPWebapplication on port 80 and Sitecollection with SSL. the site collection is https://intra.2008r2.local server and the run this powershell to configure ADFS with my sharepoint. between SharePoint and ADFS server

$cert = New-Object System.Security.Cryptography.X509Certificates.X509Certificate2("C:\Certs\Intra SignIn Cert.cer")
New-SPTrustedRootAuthority -Name "ADFS Signing Certificate" -Certificate $cert

$EmailMap = New-SPClaimTypeMapping -IncomingClaimType "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress" -IncomingClaimTypeDisplayName "EmailAddress" -SameAsIncoming

$UPNMap = New-SPClaimTypeMapping -IncomingClaimType "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn" -IncomingClaimTypeDisplayName "UPN" -SameAsIncoming

$realm = "urn:sharepoint:intra"


$TrustedIdentity = New-SPTrustedIdentityTokenIssuer -Name "Crescent.com" -Description "ADFS Trusted users from Crescent.com Domain" -realm $realm -ImportTrustCertificate $cert -ClaimsMappings $EmailMap,$upnMap -SignInUrl $signInURL -IdentifierClaim $Emailmap.InputClaimType

when i try to access ADFS-metadata, i got "Page Not Found"


Access the Federation Metadata endpoint


And im sure that the rules are correct on ADFS.

the new adfs login is configured on sharepoint, but when i select it i got redirected to loginpage again, and i can se in fiddler that the page cannot be found

enter image description here

2 Answers 2


I think -SignInURL should point to ADFS, not SharePoint site. On my box it's:


It looks like you are using SharePoint site for -SignInUrl attribute. It should be adfs server login url and not the SharePoint site url.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.