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

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

D365 OnPrem : Local agent error "Authentication failed because the remote party has closed the transport stream"

(0) ShareShare
ReportReport
Posted on by 418

I have a problem with Local agent that make me cannot deploy new application.

I found the error on event log is about Authentication failed because the remote party has closed the transport stream.

Please help to advise.

2020_2D00_04_2D00_22_5F00_16_2D00_10_2D00_12.png

2020_2D00_04_2D00_22_5F00_16_2D00_10_2D00_26.png

I have the same question (0)
  • Tanyaboon Profile Picture
    418 on at
    RE: D365 OnPrem : Local agent error "Authentication failed because the remote party has closed the transport stream"

    Thank you very much Mingzhou Deng for the answer.

  • Verified answer
    Mingzhou Deng Profile Picture
    on at
    RE: D365 OnPrem : Local agent error "Authentication failed because the remote party has closed the transport stream"

    You may try to disable RC4 Cipher on Orchestrator machines first:

    • Manually disable RC4 in TLS on systems running .NET Framework 4.5/4.5.1/4.5.2

    Despite the fact that an update is available for systems running .NET Framework 4.5/4.5.1/4.5.2, the following steps are primarily for customers with .NET Framework 4.5/4.5.1/4.5.2 applications running on systems with .NET Framework 4.6 present. For customers running only .NET Framework 4.5, 4.5.1, or 4.5.2, the manual steps serve as an optional alternative to installing the available update.

    Note These steps require the use of Registry Editor. Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk. For information about how to edit the registry, view the "Changing Keys And Values" Help topic in Registry Editor (Regedit.exe) or view the "Add and Delete Information in the Registry" and "Edit Registry Data" Help topics in Regedt32.exe.

    1. Create a text file named strongcrypto4-enable.reg that contains the following text:

    For 32-bit applications on 32-bit systems and 64-bit applications on x64-based systems:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\v4.0.30319

    "SchUseStrongCrypto"=dword:00000001

    For 32-bit applications on x64-based systems:

    HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\.NETFramework\v4.0.30319

    "SchUseStrongCrypto"=dword:00000001

    2. Run regedit.exe.

    3. In Registry Editor, click the File menu and then click Import.

    4. Navigate to and select the strongcrypto4-enable.reg file that you created in the first step.

    (Note If your file is not listed where you expect it to be, ensure that it has not been automatically given a .txt file extension, or change the dialog’s file extension parameters to All Files).

    5. Click Open and then click OK

    6. Exit Registry Editor and restart the system.

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Sohaib Cheema Profile Picture

Sohaib Cheema 789 User Group Leader

#2
André Arnaud de Calavon Profile Picture

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

#3
Martin Dráb Profile Picture

Martin Dráb 497 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans