Skip to main content
Post a question

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id : DwV0YMHm9T+2dE75T7RX8u
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.

Like (0) ShareShare
ReportReport
Posted on 26 Sep 2022 13:55:55 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)

  • U.Limper Profile Picture
    on 14 Jun 2023 at 16:11:59
    RE: 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.

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

  • RPrado Profile Picture
    5 on 24 Feb 2023 at 07:19:31
    RE: 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.

    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.

  • Alex Kwitny Profile Picture
    395 on 23 Feb 2023 at 23:53:45
    RE: 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.

    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.

  • e.soul Profile Picture
    51 on 16 Jan 2023 at 15:27:35
    RE: 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.

    For me it is solved

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

  • RPrado Profile Picture
    5 on 16 Jan 2023 at 12:40:17
    RE: 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.
    [quote user="Chandranshu"]

    Do we have resolution for this issue ?

    [/quote]

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

  • Chandranshu Profile Picture
    10 on 16 Jan 2023 at 09:18:49
    RE: 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.

    Do we have resolution for this issue ?

  • RPrado Profile Picture
    5 on 04 Jan 2023 at 13:53:53
    RE: 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.

    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
  • e.soul Profile Picture
    51 on 31 Oct 2022 at 10:19:45
    RE: 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.

    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 27 Sep 2022 at 08:00:08
    RE: 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.

    Hi Judy,

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

    Best Regards

  • huijij Profile Picture
    19,811 on 27 Sep 2022 at 06:54:50
    RE: 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.

    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.

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,865 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,723 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans
Loading started