Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Suggested answer

CRM 2016 organization service causes "The request for security token has invalid or malformed elements." in a load balanced environment.

Posted on by 120

Hi,

Custom site is talking to CRM 2016 organization service and some times getting "The request for security token has invalid or malformed elements."

This issue is happening in load balanced environment and we are using F5. Any suggestions on this issue is greatly appreciated.

Thanks

  • Radu Chiribelea Profile Picture
    Radu Chiribelea 6,667 on at
    RE: CRM 2016 organization service causes "The request for security token has invalid or malformed elements." in a load balanced environment.

    If you enable that, do you see any change?

  • thomas.s Profile Picture
    thomas.s 120 on at
    RE: CRM 2016 organization service causes "The request for security token has invalid or malformed elements." in a load balanced environment.

    Thanks. No we didnt configured NLB in deployment manager.

  • Radu Chiribelea Profile Picture
    Radu Chiribelea 6,667 on at
    RE: CRM 2016 organization service causes "The request for security token has invalid or malformed elements." in a load balanced environment.

    I mentioned NLB together with the associated setting as I don't know how this particular setup is called on F5 - however the concept is still the same...

    Is the CRM Deployment Manager configured for NLB and SSL Offloading? docs.microsoft.com/.../microsoft-dynamics-365-deployment-properties

  • thomas.s Profile Picture
    thomas.s 120 on at
    RE: CRM 2016 organization service causes "The request for security token has invalid or malformed elements." in a load balanced environment.

    We are not using NLB, we are using F5 to load balance it. In F5 we are using source IP for persistence. 

  • Suggested answer
    Radu Chiribelea Profile Picture
    Radu Chiribelea 6,667 on at
    RE: CRM 2016 organization service causes "The request for security token has invalid or malformed elements." in a load balanced environment.

    Hi Thomas,

    How is the affinity set up for the load balancer? In order for CRM to work properly affinity needs to be set to Single (NLB) see blogs.msdn.microsoft.com/.../

    Regards,

    Radu

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 Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans