Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

Problem with login to CRM web app

(0) ShareShare
ReportReport
Posted on by 10

Hi,

I have problem with some user cant sign in to crm, Login end on ADFS with error event ID 364. 

Exception details:

Microsoft.IdentityServer.Web.InvalidRequestException: MSIS7042: The same client browser session has made '6' requests in the last '1' seconds. Contact your administrator for details.

   at Microsoft.IdentityServer.Web.Protocols.PassiveProtocolHandler.UpdateLoopDetectionCookie(WrappedHttpListenerContext context)

   at Microsoft.IdentityServer.Web.Protocols.PassiveProtocolHandler.ProcessCommonCookiesInLastAuthenticationStage(ProtocolContext context)

   at Microsoft.IdentityServer.Web.Protocols.WSFederation.WSFederationProtocolHandler.SendSignInResponse(WSFederationContext context, MSISSignInResponse response)

   at Microsoft.IdentityServer.Web.Protocols.WSFederation.WSFederationProtocolHandler.Process(ProtocolContext context)

   at Microsoft.IdentityServer.Web.PassiveProtocolListener.ProcessProtocolRequest(ProtocolContext protocolContext, PassiveProtocolHandler protocolHandler)

   at Microsoft.IdentityServer.Web.PassiveProtocolListener.OnGetContext(WrappedHttpListenerContext context)

Link for crm ws is correct. Do you have any ideas why or what is this problem casued? we have on-premise crm. 

  • Kooperativa Profile Picture
    Kooperativa 10 on at
    RE: Problem with login to CRM web app

    I tried sign in with my credentials on client machine and it was succesful.

    I also renew claims and IFD configuration but it seems that not working as well.

  • Suggested answer
    RE: Problem with login to CRM web app

    Hello Kooperativa,

    Hope you are well.

    This type of loops normally occurs when the ADFS relying party continuously rejects the cookie presented by the client browser.

    You can disable this LoopDetection feature so you can see the error instead, but its not recommended to keep it disabled.

    docs.microsoft.com/.../ad-fs-tshoot-loop

    powershell

    Set-AdfsProperties -EnableLoopDetection $false

    The real troubleshooting should be on understanding why the client is sending an invalid cookie and that may be due to multiple reasons.

    I would suggest you to open a ticket with support so we can help as that discussion may not fit here due to the need of extended logs and configuration checks.

    Possible reasons:

    - Time differences on CRM-ADFS-Client machines

    - Expired Token on client machine, but for some reason instead of requesting a new login, it is trying to use it anyway

    - Rollover of signing / decrypting ADFS certificates , where you need to renew claims and IFD configuration

    - Others

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,430 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans