Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
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,331 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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,409 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans