Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Plugin Registration tool not connecting to dynamics 365 on premise version 9

(0) ShareShare
ReportReport
Posted on by 10

Plugin registration tool is not getting connected to dynamics 365 on-premise with an error log as follows. The server timings are the same so the issue might be something else. We have also tried with Xrm Toolbox as well but the result is the same.

Server stack trace: 
   at System.ServiceModel.Channels.SecurityChannelFactory`1.SecurityRequestChannel.ProcessReply(Message reply, SecurityProtocolCorrelationState correlationState, TimeSpan timeout)
   at System.ServiceModel.Channels.SecurityChannelFactory`1.SecurityRequestChannel.Request(Message message, TimeSpan timeout)
   at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, 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 Microsoft.Xrm.Sdk.IOrganizationService.RetrieveMultiple(QueryBase query)
   at Microsoft.Xrm.Sdk.Client.OrganizationServiceProxy.RetrieveMultipleCore(QueryBase query)
   at QBBCRMIntegration.BusinessLogic.CrmOperations.RetrieveMultiple(QueryBase queryBase) in C:\Josy Projects\QBB 09-01-2020\GBMQBBWebAPI\QBBCRMIntegration\CRM.BusinessLogic\Common\CrmOperations.cs:line 127
   at QBBCRMIntegration.CRM.BusinessLogic.Repository.CrmAdminsettingsRepository.GetallAdminsettings() in C:\Josy Projects\QBB 09-01-2020\GBMQBBWebAPI\QBBCRMIntegration\CRM.BusinessLogic\Repository\CrmAdminsettingsRepository.cs:line 36qbbprmpprs01/.../AdminSettingsAPI. Error Message:An unsecured or incorrectly secured fault was received from the other party. See the inner FaultException for the fault code and detail.
  • Suggested answer
    Bipin D365 Profile Picture
    28,981 Moderator on at
    RE: Plugin Registration tool not connecting to dynamics 365 on premise version 9

    Hi,

    Can you download latest sdk tools from link below and try to connect.

    https://xrm.tools/

    Also, make sure you are passing correct user name and password.

    User name should be in domainname/username format.

    If found helpful, Please mark my answer verified.

  • Sheena Profile Picture
    10 on at
    RE: Plugin Registration tool not connecting to dynamics 365 on premise version 9

    Hi Gustavo,

    Thanks for the quick response.

    I have tried using latest Plugin registration tool and also checked the TLS version and its 1.2 itself. But still the error is the same.  This issue we are facing in the client environment, which was working fine before. But few weeks back the client system team has revoked the local admin privileges and then applied it again. After this only we are facing this error.

    So is there any change we can check whether the issue is with user permission or something. If so how can we check that. Appreciate your comments on this.

  • Gustavo Longo Profile Picture
    on at
    RE: Plugin Registration tool not connecting to dynamics 365 on premise version 9

    Hello Sheena,

    I hope you are well.

    Make sure you are using most update version for Plugin Registration Tool.

    Link: docs.microsoft.com/.../download-tools-nuget

    Above error message "Error Message:An unsecured or incorrectly secured fault was received from the other party. See the inner FaultException for the fault code and detail." means that connection was not established correctly.

    Two points to double check:

    -Blockings

    -TLS version

    Dynamics 365 v9 enforces use of TLS 1.2.

    Some tools to check TLS version available on your endpoints:

    Online tool:

    www.ssllabs.com/.../

    Offline tool:

    nmap.org/.../ssl-enum-ciphers.html

    nmap -sV --script ssl-enum-ciphers -p 443 <host>

    www.nartac.com/.../

    Regards,

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Siv Sagar Profile Picture

Siv Sagar 149 Super User 2025 Season 1

#2
Daivat Vartak (v-9davar) Profile Picture

Daivat Vartak (v-9d... 53 Super User 2025 Season 1

#3
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 47

Overall leaderboard

Product updates

Dynamics 365 release plans