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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

At least one security token in the message could not be validated. I got this error message when I tried to connect to CRM online thru my DNN web portal.

(1) ShareShare
ReportReport
Posted on by

"At least one security token in the message could not be validated". I got this error message when I tried to connect to CRM online thru my DNN(DotnetNuke) web portal.

Basically I have bypassed my DNN database. Instead, I have used CRM online as my database and DNN just connects with CRM online through CRM service. 

It worked very well however every a few days, I got "At least one security token in the message could not be validated" error message when DNN was trying to authenticate and connect to CRM online. Reset IIS is a quick an easy fix. However it is really annoying everytime you have to reset IIS manually.

Please help.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    ChrisC Profile Picture
    630 on at

    You should implement code to detect when a token is expiring/expired and refresh/get a new token. Find details in the SDK.

  • Suggested answer
    nghieppham Profile Picture
    4,755 on at

    Hi ParkerZhai,

    Please check that what option did you use to authenticate to CRM Server? You should use IServicemanagement to manage token and refresh the token when you use other application to connect to CRM. If you are use CRM Online or Onpremise 2016, you also use Xrm.Sdk.tooling.connector to connect CRM.

    Regards,

  • Nitu Shah Profile Picture
    10 on at

    Not working

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans