Skip to main content

Notifications

Announcements

No record found.

Service | Customer Service, Contact Center, Fie...
Unanswered

Can not login ADFS claim-based dynamics 365 CRM Onpremises

(0) ShareShare
ReportReport
Posted on by 135

Hi all,

we have some issue on setup adfs claim based, when we try to access CRM url and try to login

pastedimage1572495600488v1.png

it's not redirect to our crm homepage. it's error show up

pastedimage1572495683682v2.png

we already configure relying party trust. 

this is event viewer error message : 

Encountered error during federation passive request.

Additional Data

Protocol Name:
wsfed

Relying Party:

Exception details:
Microsoft.IdentityServer.Web.CookieManagers.InvalidContextException: MSIS7001: The passive protocol context was not found or not valid. If the context was stored in cookies, the cookies that were presented by the client were not valid. Ensure that the client browser is configured to accept cookies from this website and retry this request.
at Microsoft.IdentityServer.Web.Protocols.GenericProtocolRequest.ParseEncodedRequestParts(String[] encodedRequestParts)
at Microsoft.IdentityServer.Web.Protocols.GenericProtocolRequest..ctor(String encodedGenericRequest)
at Microsoft.IdentityServer.Web.Protocols.WSFederation.WSFederationProtocolHandler.GetOriginalRequestFromResponse(ProtocolContext context)
at Microsoft.IdentityServer.Web.PassiveProtocolListener.ProcessProtocolRequest(ProtocolContext protocolContext, PassiveProtocolHandler protocolHandler)
at Microsoft.IdentityServer.Web.PassiveProtocolListener.OnGetContext(WrappedHttpListenerContext context)

do you know any solutions for this issue? 

Thank youu

  • LeoAlt Profile Picture
    LeoAlt 16,329 on at
    RE: Can not login ADFS claim-based dynamics 365 CRM Onpremises

    Hi partner,

    Did you add the organization url to IE security trusted sties?

    I've found some similar issues and solutions for you.

    community.dynamics.com/.../233831

    community.dynamics.com/.../cannot-login-to-the-crm-organization-url-continuously-looping-with-error-encountered-error-during-federation-passive-request

    support.microsoft.com/.../passive-federation-request-fails-when-accessing-an-application-using-a

    interactivewebs.com/.../

    www.mistercloudtech.com/.../

    Hope it helps.

    Best Regards,

    Leo

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,431 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,503 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans