2

I have a SharePoint web application with ADFS, when ADFS does the authentication web application will throw below error,I have tried some solution from internet but no luck. below is the Error:

ID4014: A SecurityTokenHandler is not registered to read security token ('EncryptedData', 'http://www.w3.org/2001/04/xmlenc#'). Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IdentityModel.Tokens.SecurityTokenException: ID4014: A SecurityTokenHandler is not registered to read security token ('EncryptedData', 'http://www.w3.org/2001/04/xmlenc#').

1

Did it work before or is it the first time you are using ADFS authentication ?

Which version of ADFS are you using ?

Is JWT enabled ? If yes, disable it and try again.

https://blogs.technet.microsoft.com/maheshu/2015/05/26/json-web-token-jwt-support-in-adfs/

Also you can try to follow this great blog post : https://jeremythake.com/troubleshooting-sharepoint-2013-provider-hosted-apps-on-premises-d4b5f633f48d

Please let us know.

  • thank you said,this is the first time.let me try those links and let you know. – mzonerz Aug 24 '17 at 4:46
  • Any news ? Also check the following :) helloitsliam.com/2015/01/23/… – Said Aug 25 '17 at 12:00
  • 1
    Hi sayed i asked the team to check JWT, which is the last hope.sine its from another team(ADFS) I still wait for their confirmation.I will update here. – mzonerz Sep 12 '17 at 6:22
  • Hi sayed i asked the team to check JWT, which is the last hope.sine its from another team(ADFS) I still wait for their confirmation.I will update here. – mzonerz Sep 12 '17 at 6:22
  • Please check the Certificate 100 times,Our issue was Certificate. – mzonerz Jan 10 '18 at 11:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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