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 :
Finance | Project Operations, Human Resources, ...
Suggested Answer

RSAT tool error when connecting to Finance and Operations online - At least one security token in the message could not be validated

(0) ShareShare
ReportReport
Posted on by 22

Working with a cloud hosted Dyn F&O instance 

RSAT tool version -  pastedimage1653574392559v1.png

I followed the config guide Regression suite automation tool installation and configuration - Finance & Operations | Dynamics 365 | Microsoft Docs and got it to work and successfully played back a couple of scripts.

Few days on, I get this error when executing the same script, no changes - 

Status: Test case failed. ERROR: <Message>An unsecured or incorrectly secured fault was received from the other party. See the inner FaultException for the fault code and detail.</Message> <Message>At least one security token in the message could not be validated.</Message> DEBUG INFO: <?xml version="1.0" encoding="utf-16"?> <Error xmlns:xsi="">www.w3.org/.../XMLSchema-instance" xmlns:xsd="">www.w3.org/.../XMLSchema"> <ExceptionType>System.ServiceModel.Security.MessageSecurityException</ExceptionType> <Message>An unsecured or incorrectly secured fault was received from the other party. See the inner FaultException for the fault code and detail.</Message> <StackTrace> Server stack trace: at System.ServiceModel.Channels.SecurityChannelFactory`1.SecurityRequestChannel.ProcessReply(Message reply, SecurityProtocolCorrelationState correlationState, TimeSpan timeout)

There's also this script error that shows up when I try to Run the script. Any pointers on how to resolve this?

pastedimage1653574555364v2.png

I have the same question (0)
  • Suggested answer
    Magno Pereira Profile Picture
    2,435 Moderator on at

    Hi sowmitr,

    It seems to be something related to certificates. Can you double-check it?

    The certificate should be in the local machine's trusted root store, and the pfx file in the local machine's personal store.

    • Add to Phrasebook
      • No word lists for English → Portuguese...
      • Create a new word list...
    • Copy
  • sowmitr Profile Picture
    22 on at

    I did check the certs twice and they are exactly as you mention. cer on local's trusted root store and pfx on the local's personal.

    I got the certs using this option but there may've been code deployments since the time I downloaded them. I don't presume the certs have to change with every code deployment do they? pastedimage1653575665095v1.png

  • Suggested answer
    Magno Pereira Profile Picture
    2,435 Moderator on at

    No, they don't. And what about the thumbprint? did you select it in the RSAT?

  • sowmitr Profile Picture
    22 on at

    I copied the thumbprint from the .cer and put it into the RSAT settings

  • Suggested answer
    Magno Pereira Profile Picture
    2,435 Moderator on at

    if you click on the dropdown list, does the certificate appear in the thumbprint field?

    field
    campo
    fēld
    Nouns
    o campo
    field
    ,
    countryside
    ,
    camp
    a área
    area
    ,
    field
    ,
    zone
    a jazida
    field
    ,
    coal-bed
    a área de atuação
    field
    a batalha
    battle
    ,
    war
    ,
    engagement
    o raio visual
    field
    Upgrade to Pro to see more synonyms
    Save
    CONTINUE
    view saved words →
    Don't translate on double-click
    Don't show floating button
    Check the localized version of the site
    Upgrade to Pro to unlock more features
    No Internet Connection
    • Add to Phrasebook
      • No word lists for English → Portuguese...
      • Create a new word list...
    • Copy
  • sowmitr Profile Picture
    22 on at

    yes, it does appear in the dropdown list.

  • sowmitr Profile Picture
    22 on at

    Update  Got it to work but it did need the new cert to be downloaded from LCS and installed on my local for it to work. Not sure if this step is required each time there's a deployment but will be keeping an eye out. 

  • Suggested answer
    Magno Pereira Profile Picture
    2,435 Moderator on at

    Great! Sometimes it's easier to repeat everything all over again. But one thing is for sure this error message was certificate-related.

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 544 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 450 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 250 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans