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 :
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.
I have the same question (0)
  • Gustavo Longo Profile Picture
    on at

    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,

  • Sheena Profile Picture
    10 on at

    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.

  • Suggested answer
    Bipin D365 Profile Picture
    28,983 Moderator on at

    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.

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 > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Martin Dráb Profile Picture

Martin Dráb 45 Most Valuable Professional

#2
iampranjal Profile Picture

iampranjal 36

#3
Satyam Prakash Profile Picture

Satyam Prakash 31

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans