web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
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.

(0) ShareShare
ReportReport
Posted on by 122

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

I have the same question (0)
  • Suggested answer
    Radu Chiribelea Profile Picture
    6,667 on at

    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

  • thomas.s Profile Picture
    122 on at

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

  • Radu Chiribelea Profile Picture
    6,667 on at

    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
    122 on at

    Thanks. No we didnt configured NLB in deployment manager.

  • Radu Chiribelea Profile Picture
    6,667 on at

    If you enable that, do you see any change?

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
11manish Profile Picture

11manish 153

#2
ManoVerse Profile Picture

ManoVerse 147 Super User 2026 Season 1

#3
Jimmy Passeti Profile Picture

Jimmy Passeti 66 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans