TrustedMissingIdentityClaimSource Error with Claims Auth in SharePoint 2010


I've seen this error happen a few times to myself and others so I thought I would share the likely culprit.  The scenario is, you set up claims authentication in SharePoint 2010…and you're pretty sure you've configured everything correctly.  🙂   When you actually try and navigate to the site though you may get the standard ASP.NET error page that says something along the lines of a TrustedMissingIdentityClaimSource error (assuming you have custom errors turned off).  Most frequently I've seen this error when you have configured EmailAddress to be the identity claim, but the person you are trying to log in with does not have an email address in Active Directory (or whatever directory you're using).  It can be confusing of course because you see yourself getting redirected to ADFS (for purposes of this conversation, could be any IP-STS), you see that you've been authenticated there, but then SharePoint blows up.  It serves as a reminder as the difference between who I am (the identity you log in with), and things about me (attributes like EmailAddress and other claims that can be used for permissions provisioning now).

So, if you get this error, the first thing I would recommend checking is whether your user account that you logged in with has a value in the identity claim it is expecting.  Remember too, if there's no value in that attribute, the claim will typically not even get sent over to SharePoint (i.e. as an empty string value for example).

Comments (9)

  1. Kevin McD says:

    So to answer my own question… the second thing you check (after you've verified that the account that you logged in with DOES have a value in the identity claim it is expecting) is to confirm you're actually PASSING said value(s) all the way to SharePoint.

    In our example, you could successfully get:

    From RESOURCE browser, to SP in RESOURCE Forest, using RESOURCE Windows Credentials

    From RESOURCE browser, to RESOURCE Forest ADFS, to SP in RESOURCE Forest, using RESOURCE SAML Claim

    From ACCOUNT browser, to RESOURCE Forest ADFS, using ACCOUNT SAML Claim, but Fails at SP, throwing an error about "An exception occurred when trying to issue security token: The trusted login provider did not supply a token accepted by this farm"

    We seemed to have missed the step to configure the Claim Rules on the RESOURCE Relying Party Trust to pass-through the email address and role information.

    So…

    Check 1 – make sure the account that you logged in with DOES have a value in the identity claim it is expecting

    Check 2 – make sure that the value is making it all the way through to the Consuming Party.

    HTH.

    McD

  2. alexandrad9x says:

    http://dichvuketoanlongbien.com/
    http://dichvuketoanlongbien.com/a2-96-dich-vu-ke-toan-tron-goi.html
    http://dichvuketoanlongbien.com/a2-98-dich-vu-ke-toan-thue.html
    http://dichvuketoanlongbien.com/a2-103-dich-vu-bao-cao-tai-chinh.html
    http://dichvuketoanlongbien.com/a2-97-dich-vu-quyet-toan-thue.html
    http://dichvuketoanlongbien.com/a2-114-dich-vu-ke-toan-tai-29-quan-huyen.html
    http://dichvuketoanlongbien.com/i780-dich-vu-ke-toan-thue-tron-goi-tai-bac-ninh.html
    http://dichvuketoanlongbien.com/i779-dich-vu-ke-toan-thue-tron-goi-tai-bac-giang.html
    http://dichvuketoanlongbien.com/i778-dich-vu-ke-toan-thue-tron-goi-tai-phu-tho.html
    http://dichvuketoanlongbien.com/i781-dich-vu-ke-toan-thue-tron-goi-tai-hung-yen.html
    http://dichvuketoanlongbien.com/i782-dich-vu-ke-toan-thue-tron-goi-tai-vinh-phuc.html
    http://dichvuketoanlongbien.com/i783-dich-vu-ke-toan-thue-tron-goi-tai-hai-phong.html
    http://www.trungtamketoan.com.vn/
    http://www.trungtamketoan.com.vn/p/trung-tam-dao-tao-ke-toan-tai-ha-noi.html
    http://www.trungtamketoan.com.vn/p/trung-tam-dao-tao-ke-toan-tai-tp-hcm.html
    http://www.trungtamketoan.com.vn/p/trung-tam-dao-tao-ke-toan-tai-quang-ninh.html
    http://www.trungtamketoan.com.vn/p/trung-tam-dao-tao-ke-toan-tai-hai-duong.html
    http://www.trungtamketoan.com.vn/p/trung-tam-dao-tao-ke-toan-tai-bac-giang.html
    http://www.trungtamketoan.com.vn/p/trung-tam-dao-tao-ke-toan-tai-bac-ninh.html
    http://www.trungtamketoan.com.vn/p/trung-tam-dao-tao-ke-toan-tai-hai-phong.html
    http://www.trungtamketoan.com.vn/p/trung-tam-dao-tao-ke-toan-tai-nam-dinh.html
    http://www.trungtamketoan.com.vn/p/trung-tam-dao-tao-ke-toan-tai-thai-binh.html
    http://www.trungtamketoan.com.vn/p/trung-tam-dao-tao-ke-toan-tai-thanh-hoa.html
    http://www.trungtamketoan.com.vn/p/trung-tam-dao-tao-ke-toan-tai-vinh-phuc.html
    http://www.trungtamketoan.com.vn/p/trung-tam-dao-tao-ke-toan-tai-hung-yen.html
    http://www.trungtamketoan.com.vn/p/trung-tam-dao-tao-ke-toan-tai-phu-tho.html
    http://www.trungtamketoan.com.vn/p/trung-tam-dao-tao-ke-toan-tai-binh-duong.html
    http://www.tosvn.com
    http://iketoan247.blogspot.com
    http://tailieuveketoan.blogspot.com
    http://mauhinhnendep.blogspot.com
    http://www.tosvn.com/search/label/Hack%20CF
    http://www.tosvn.com/search/label/Hack%20AvatarStar
    http://www.tosvn.com/search/label/Hack%20Warcraft-Dota2
    http://www.tosvn.com/2014/12/hack-truy-kich-mien-phi-hack-truy-kich.html
    http://iketoan247.blogspot.com/search/label/thong-tin-kinh-te
    http://iketoan247.blogspot.com/search/label/tin-bai-ve-thue
    http://hoclamketoan.edu.vn/
    http://hoclamketoan.edu.vn/category/khoa-hoc-ke-toan
    http://hoclamketoan.edu.vn/category/dich-vu-ke-toan
    http://hoclamketoan.edu.vn/category/hoc-lam-ke-toan
    http://hoclamketoan.edu.vn/category/tai-lieu-ke-toan
    http://hocketoan360.com/
    http://hocketoan360.com/category/khoa-hoc-ke-toan/
    http://hocketoan360.com/category/dich-vu-ke-toan/
    http://hocketoan360.com/category/tai-lieu-ke-toan/
    http://me.zing.vn/zb/u/htdung2281990
    http://me.zing.vn/zb/c/htdung2281990/6594341
    http://me.zing.vn/zb/c/htdung2281990/1

  3. Kevin McD says:

    Also, if you get "this error" (TrustedMissingIdentityClaimSource Error), what’s the second thing you’d check, after you’ve verified that the account that you logged in with DOES have a value in the identity claim it is expecting…?

    From the ULS Viewer:

    Name=Request (GET:sptest.resource.com/…/default.aspx)

    System.Web.HttpException: The file ‘/_layouts/_login/default.aspx’ does not exist.  

    Site=/

    Unknown SPRequest error occurred. More information: 0x80070005

    Leaving Monitored Scope (Request (GET:sptest.resource.com/…/default.aspx)).
    Execution Time=24.2155776781686

  4. Kevin McD says:

    Steve – great posts, here and with the end-to-end config guide.  

    A few questions regarding claims configured to use EmailAddress as the Identity Claim:  

    I have a user set as the Primary Site Collection Admin, and have confirmed an email address exists for the user.  

    Note that the email address has been changed at a point during the Web Application setup & config process, from email1@contoso.com to email2@contoso.com.

    When selecting the user account in the People Picker to deisgnate as SIte Collection Admin, simply searched for the term "email2," which showed one entry in Active Directory, and one from the SAML feed… selected the one from the SAML  feed.

    In both instances, below, I have provided the same domainuser credentials in the logon window:

    Access the site using Windows(NTLM) Auth, and I am able to successfully access the site with admin rights, but "My Settings" shows my email address as email1@contoso.com (old email address)

    Access the site using SAML Auth, and I get "Access Denied" for current user email2@contoso.com (correct/new email address)

    So unsure why:

    1 – The same user account can access SP as Windows Auth, but not as SAML Auth

    2 – SP doesn't see the updated email address that appears in my AD user properties

    How often does SP look back at AD to validate/sync the values in the various fields from an SP user with the AD user?  Can I manually tell it to update?  Is this through User Profile Sync (do I need to set this up separately?)

    Thanks for any direction you can provide!

  5. HarshP says:

    I also updated the emailaddress in AD properties later and SP doesnt seem to be getting it.

    Any way to fire update to get it ?

  6. DubStep says:

    All the comments above are more reasons why email address should not be used as the identity claim for AD sources IMO.  UPN is guaranteed unique and guaranteed to exist on an AD source.  It is even formatted like an email address.

  7. SDF says:

    http://www.shopbestgoods.com/
    http://www.nike-jordanshoes.com/
    http://www.beatsbydreoutlet.net/
    http://www.michaelkorsus.com/
    http://www.polo-tshirts.com/
    http://www.northsclearance.com/
    http://www.ralph-laurensale.com/
    http://www.gucci-shoesuk2014.com/
    http://www.michael-korsusa.com/
    http://www.polo-outlets.com/
    http://www.ralphslauren.co.uk/
    http://www.marcjacobsonsale.com/
    http://www.mcmworldwides.com/
    http://www.salongchamppairs.com/
    http://www.canada-gooser.com/
    http://www.burberryoutlet2014.com/
    http://www.michaelkors.so/
    http://www.hermes-outletonline.com/
    http://www.oakley-sunglassoutlet.com/
    http://www.north-faceoutlets.net/
    http://www.moncler-clearance.com/
    http://www.woolrich-clearance.com/
    http://www.barbour-jacketsoutlet.com/
    http://www.moncler-jacketsoutletonline.com/
    http://www.monsterbeatsbydres.net/
    http://www.louis-vuittonblackfriday.com/
    http://www.lv-guccishoesfactory.com/
    http://www.mcmoutlet-jp.com/
    http://www.cheapdiscountoutlet.com/
    http://coachoutlet.iwopop.com/
    http://www.coachsfactoryoutlet.com/
    http://www.coach-blackfriday2014.com/
    http://www.coach-storeoutletonline.com/
    http://www.coach-factorysoutletonline.com/
    http://www.coachccoachoutlet.com/
    http://www.coach-factories.net/
    http://www.coach-pursesoutletonline.com/
    http://www.llouisvuitton-factory.net/
    http://www.coach-outletsusa.com/
    http://www.mksfactoryoutlet.com/
    http://www.zxcoachoutlet.com/
    http://www.mischristmas.com/
    http://www.misblackfriday.com/
    http://www.bestcustomsonline.com/
    http://www.newoutletonlinemall.com/
    http://www.clickmichaelkors.com/
    http://www.cmichaelkorsoutlet.com/
    http://www.ralphlaurenepolo.com/
    http://michaelkorsoutlet.mischristmas.com/
    http://mcmbackpack.mischristmas.com/
    http://monsterbeats.mischristmas.com/
    http://northfaceoutlet.mischristmas.com/
    http://mk.misblackfriday.com/
    http://coachoutlet.misblackfriday.com/
    http://coachfactory.misblackfriday.com/
    http://uggaustralia.misblackfriday.com/
    http://coachpurses.misblackfriday.com/
    http://coachusa.misblackfriday.com/
    http://coach.misblackfriday.com/
    http://michaelkorss.misblackfriday.com/
    http://michaelkors.misblackfriday.com/
    http://airmax.misblackfriday.com/
    http://michael-kors.misblackfriday.com/

    http://t.co/1PJuejI1ys
    http://t.co/FYm2MxWwLM
    https://twitter.com/CoachOutlet2014
    https://www.facebook.com/pages/Coach-Factory-Outlet-Online-Store-Michael-Kors-Outlet-Online-Sale-75-Off/712060898859091
    https://www.facebook.com/pages/Ralph-Lauren-Polo-Outlet-Online-Sale/1404100279810690

  8. Amit Victor says:

    Hello,
    I did the same steps which is mentioned.But my webapplication is not working.
    Even its not asking for credentials.
    It is giving me 404 NOT FOUND exception.
    Kindly help..