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, ...
Unanswered

RSAT - Could not connect to Dynamics 365 Finance and Operations apps. Please verify current valid certificates are installed, and that setting correctly identify the environment including the thumbprint points to the certificate.

(0) ShareShare
ReportReport
Posted on by 5

Hello everyone,

I'm having this problem after installing the new Version of Regression Suite Automation Tool (2.4.12381.46) on a new Virtual Machine with SU 10.0.29.

All the steps from the Tutorials were double checked:

  • There wasn't any previous version of RSAT installed
  • wif.config contains the thumbprint
  • Certificates are installed

I already generated different certificates using the RSAT-Tool or manual through makercert.exe [Ref

Did anyone face a similar problem?

Best regards 

Status: Test case failed.

ERROR:
Could not connect to Dynamics 365 Finance and Operations apps. Please verify current valid certificates are installed, and that setting correctly identify the environment including the thumbprint points to the certificate.
The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it is in the Faulted state.

DEBUG INFO:


System.InvalidOperationException
Could not connect to Dynamics 365 Finance and Operations apps. Please verify current valid certificates are installed, and that setting correctly identify the environment including the thumbprint points to the certificate.
 at MS.Dynamics.Performance.Application.TaskRecorder.Artikel_Variante_DatenKopierenBase.TryToConnectToEnvironment(Int32 connectionRetryCount, Int32 connectionRetryDelayInMilliseconds)
at MS.Dynamics.Performance.Application.TaskRecorder.Artikel_Variante_DatenKopierenBase.TestSetup(Boolean verboseSnapshotsEnabled, Int32 actionTimeout, Boolean caseSensitiveValidation, Boolean groupComparison, Int32 pauseBetweenActions, String playbackDirectory, Int32 connectionRetryCount, Int32 connectionRetryDelayInMilliseconds)

System.ServiceModel.CommunicationObjectFaultedException
The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it is in the Faulted state.

Server stack trace:
at System.ServiceModel.Channels.CommunicationObject.ThrowIfDisposedOrNotOpen()
at System.ServiceModel.Channels.ServiceChannel.EnsureOpened(TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at MS.Dynamics.TestTools.CloudCommonTestUtilities.AxUserManagementServiceReference.IAxUserManagement.EnumUsers()
at MS.Dynamics.TestTools.CloudCommonTestUtilities.Authentication.UserManagement.PopulateAxUsers()
at MS.Dynamics.TestTools.CloudCommonTestUtilities.Authentication.UserManagement.Initialize()
at MS.Dynamics.TestTools.CloudCommonTestUtilities.Authentication.UserManagement.get_AdminUser()
at MS.Dynamics.Performance.Application.TaskRecorder.Artikel_Variante_DatenKopierenBase.TryToConnectToEnvironment(Int32 connectionRetryCount, Int32 connectionRetryDelayInMilliseconds)

I have the same question (0)
  • huijij Profile Picture
    19,811 on at

    Hi  RPrado,

    Did you use a previous version of RSAT on the same computer, if so close it and uninstall it before installing a new version.

  • RPrado Profile Picture
    5 on at

    Hi Judy,

    Thanks for the Answer. The virtual machine is new, and there weren't any previous versions installed.

    Best Regards

  • e.soul Profile Picture
    51 on at

    I am getting the same error message. I uninstalled RSAT and installed 2.4.12381.46. Then the problems started :)

  • RPrado Profile Picture
    5 on at

    After installing the version 2.4.13225.15, I become a new error message while testing the connection.

    • Error Message
      • "Failed to connect with the Hostname because the certificate does not allow access to the environment. Please make sure to select a thumbprint for a certificate that matches the Hostname environment, or if needed issue and install new certificates for the Hostname environment. Then try again after that."
        • pastedimage1672840279963v1.png

     

    • Repro steps
      • Certificate was generated using RSAT
      • wif.config was updated and verified
      • AOSService was restarted
      • Local Machine was restarted
    • Observation
      • Connection works for cloud hosted environments
      • Tests were made with multiple Certificates generated by RSAT
  • Chandranshu Profile Picture
    10 on at

    Do we have resolution for this issue ?

  • RPrado Profile Picture
    5 on at
    [quote user="Chandranshu"]

    Do we have resolution for this issue ?

    [/quote]

    Unfortunately, there's still no solution on this post.

  • e.soul Profile Picture
    51 on at

    For me it is solved

    It was the pfx file, which was not installed correctly. See instructions.

  • Alex Kwitny Profile Picture
    395 on at

    I have the same issue (10.0.29 vm) and I have a hunch where the problem might be. The secure token server (STS) that negotiates the token is not configured correctly.

    Specifically in web.config, this node:

    That thumbprint refers to a missing certificate? Not sure how to fix it though...

    Seems like the VM is broken for RSAT.

  • RPrado Profile Picture
    5 on at

    Hello e.soul, thank you for your answer. Could you please provide more information about your solution? Which Method did you use to generate or fix the key? I tried generating the Key both in RSAT and manual (using makecert.exe), and I didn't get any positive results.

  • U.Limper Profile Picture
    on at

    Hi, same here for a 10.0.34 vm, same error message and no idea yet :(

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 611 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 285 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans