Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

Plugin Registration Tool - Unable to login to the

(0) ShareShare
ReportReport
Posted on by

Hi All, 

I'm pretty new to the CRM customization. We have a CRM 2016 on Premise server setup and I am trying to push a plugin using the latest version (9.0.0.9519) of the PRT.

The Plugin Registration Tool is not able to login. On clicking on Login on the PRT, the login popup stays as is. On checking the logs found the below error. Kindly suggest.

PluginRegistrationTool Information 8 5/20/2020 3:48:48 AM ====================================================================================================
PluginRegistrationTool Information 8 5/20/2020 3:48:48 AM 
PluginRegistrationTool Information 8 5/20/2020 3:48:48 AM START : PluginRegistration, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
PluginRegistrationTool Information 8 5/20/2020 3:48:48 AM VER: 9.0.0.9519
PluginRegistrationTool Information 8 5/20/2020 3:48:48 AM START AT : 5/20/2020 3:48:48 AM
PluginRegistrationTool Information 8 5/20/2020 3:48:48 AM 
PluginRegistrationTool Information 8 5/20/2020 3:48:48 AM ====================================================================================================
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 5/20/2020 3:48:51 AM Created CrmConnectionManager 
Microsoft.Xrm.Tooling.CrmConnectControl Verbose 16 5/20/2020 3:48:51 AM Failed to get credentials from Windows Vault
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 5/20/2020 3:48:51 AM Use Current User Checkbox State = False
Microsoft.Xrm.Tooling.CrmConnectControl Verbose 16 5/20/2020 3:48:51 AM Failed to get credentials from Windows Vault
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 5/20/2020 3:48:51 AM Use Current User Checkbox State = False
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 5/20/2020 3:49:12 AM Use Current User Checkbox State = True
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 5/20/2020 3:49:13 AM Use Current User Checkbox State = False
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 5/20/2020 3:49:31 AM SetConfigKeyInfo, Key Count = 13
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 5/20/2020 3:49:31 AM Login Status in Connect is = Connecting to the Microsoft Common Data Service...
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 5/20/2020 3:49:31 AM Using CRM deployment type Prem
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 5/20/2020 3:49:31 AM SSL Connection = False
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 5/20/2020 3:49:31 AM Discovery URI is = http://dev3-ecrm1/XRMServices/2011/Discovery.svc
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 5/20/2020 3:49:31 AM Login Status in Connect is = Initializing connections to Microsoft Common Data Service...
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 5/20/2020 3:49:31 AM Login Status in Connect is = Connecting to the Microsoft Common Data Service...
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 5/20/2020 3:49:31 AM Login Status in Connect is = Retrieving organizations from Microsoft Common Data Service...
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information 8 5/20/2020 3:49:31 AM DiscoverOrganizations - Initializing Discovery Server Object with http://dev3-ecrm1/XRMServices/2011/Discovery.svc
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Verbose 16 5/20/2020 3:49:31 AM DiscoverOrganizations - attempting to connect to CRM server @ http://dev3-ecrm1/XRMServices/2011/Discovery.svc
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Verbose 16 5/20/2020 3:49:32 AM DiscoverOrganizations - created CRM server proxy configuration for http://dev3-ecrm1/XRMServices/2011/Discovery.svc - duration: 00:00:00.6304718
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Verbose 16 5/20/2020 3:49:32 AM DiscoverOrganizations - proxy requiring authentication type : ActiveDirectory 
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Verbose 16 5/20/2020 3:49:32 AM DiscoverOrganizations - service proxy created - total create duration: 00:00:00.6340537
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information 8 5/20/2020 3:49:32 AM DiscoverOrganizations - Discovery Server Get Orgs Call Complete - Elapsed:00:00:00.4345670
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 5/20/2020 3:49:32 AM Found 1 Org(s)
Microsoft.Xrm.Tooling.CrmConnectControl Verbose 16 5/20/2020 3:49:32 AM DiscoveryServer indicated organization service location = http://dev3-ecrm1//XRMServices/2011/Organization.svc
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 5/20/2020 3:49:32 AM Organization Service URI is = http://dev3-ecrm1//XRMServices/2011/Organization.svc
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 5/20/2020 3:49:32 AM Validating connection to Microsoft Common Data Service...
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 5/20/2020 3:49:32 AM Login Status in Connect is = Validating connection to Microsoft Common Data Service...
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Verbose 16 5/20/2020 3:49:32 AM Initialize CRM connection Started - AuthType: AD
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information 8 5/20/2020 3:49:32 AM Process is bypassed.. OrgDetail object was provided
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Verbose 16 5/20/2020 3:49:32 AM DiscoveryServer indicated organization service location = http://dev3-ecrm1//XRMServices/2011/Organization.svc
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information 8 5/20/2020 3:49:32 AM Organization Service URI is = http://dev3-ecrm1//XRMServices/2011/Organization.svc
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Verbose 16 5/20/2020 3:49:32 AM ConnectAndInitCrmOrgService - Initializing Organization Service Object
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information 8 5/20/2020 3:49:32 AM ConnectAndInitCrmOrgService - Requesting connection to Organization with CRM Version: 8.2.2.112
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information 8 5/20/2020 3:49:32 AM ConnectAndInitCrmOrgService - Using ISerivceManagement
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Verbose 16 5/20/2020 3:49:32 AM ConnectAndInitCrmOrgService - attempting to connect to CRM server @ http://dev3-ecrm1//XRMServices/2011/Organization.svc
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Verbose 16 5/20/2020 3:49:32 AM ConnectAndInitCrmOrgService - created CRM server proxy configuration for http://dev3-ecrm1//XRMServices/2011/Organization.svc - duration: 00:00:00.1812048
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Verbose 16 5/20/2020 3:49:32 AM ConnectAndInitCrmOrgService - proxy requiring authentication type : ActiveDirectory 
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Verbose 16 5/20/2020 3:49:32 AM ConnectAndInitCrmOrgService - service proxy created - total create duration: 00:00:00.1822741
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information 8 5/20/2020 3:49:32 AM ConnectAndInitCrmOrgService - Proxy created, total elapsed time: 00:00:00.1833776
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information 8 5/20/2020 3:49:32 AM Beginning Validation of CRM Connection. RequestID: 13af7f55-8b92-48ea-ae46-0b8c97b07afe
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Error 2 5/20/2020 3:49:33 AM Failed to Executed Command - WhoAmIRequest : RequestId=13af7f55-8b92-48ea-ae46-0b8c97b07afe : total duration: 00:00:00.5543452
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Error 2 5/20/2020 3:49:33 AM Failed to Executed Command - WhoAmIRequest : RequestId=13af7f55-8b92-48ea-ae46-0b8c97b07afe : total duration: 00:00:00.5543452
Source : Not Provided
Method : Not Provided
Date : 5/20/2020
Time : 3:49:33 AM
Error : Failed to Executed Command - WhoAmIRequest : RequestId=13af7f55-8b92-48ea-ae46-0b8c97b07afe : total duration: 00:00:00.5543452
Stack Trace : Not Provided
======================================================================================================================

Microsoft.Xrm.Tooling.Connector.CrmServiceClient Error 2 5/20/2020 3:49:33 AM ************ Exception - Failed to lookup current user
Source : mscorlib
Method : HandleReturnMessage
Date : 5/20/2020
Time : 3:49:33 AM
Error : The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the  configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework SDK documentation and inspect the server trace logs.
Stack Trace : Server stack trace: 
at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)
at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
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.Execute(OrganizationRequest request)
at Microsoft.Xrm.Sdk.Client.OrganizationServiceProxy.ExecuteCore(OrganizationRequest request)
at Microsoft.Xrm.Sdk.Client.OrganizationServiceProxy.Execute(OrganizationRequest request)
at Microsoft.Xrm.Tooling.Connector.CrmWebSvc.GetWhoAmIDetails(IOrganizationService crmService, Guid trackingID)
======================================================================================================================

Microsoft.Xrm.Tooling.Connector.CrmServiceClient Error 2 5/20/2020 3:49:33 AM Unable to connect to CRM: The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the  configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework SDK documentation and inspect the server trace logs.
Source : mscorlib
Method : HandleReturnMessage
Date : 5/20/2020
Time : 3:49:33 AM
Error : The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the  configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework SDK documentation and inspect the server trace logs.
Stack Trace : Server stack trace: 
at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)
at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
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 Microsoft.Xrm.Tooling.Connector.CrmWebSvc.GetWhoAmIDetails(IOrganizationService crmService, Guid trackingID)
at Microsoft.Xrm.Tooling.Connector.CrmWebSvc.InitCRM2011Service()
======================================================================================================================

Microsoft.Xrm.Tooling.Connector.CrmServiceClient Error 2 5/20/2020 3:49:33 AM Unable to Login to Dynamics CRM
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Error 2 5/20/2020 3:49:33 AM Unable to Login to Dynamics CRM
Source : Not Provided
Method : Not Provided
Date : 5/20/2020
Time : 3:49:33 AM
Error : Unable to Login to Dynamics CRM
Stack Trace : Not Provided
======================================================================================================================

Microsoft.Xrm.Tooling.CrmConnectControl Information 8 5/20/2020 3:49:33 AM Login Status in Connect is = Can't connect to Microsoft Common Data Service - .

  • Suggested answer
    Gustavo Longo Profile Picture
    on at
    RE: Plugin Registration Tool - Unable to login to the

    Hello Tarik,
    Based on attached logs, you are using PluginRegistration, Version=9.0.0.0 to connect to Organization with CRM Version: 8.2.2.112.

    Essentially this PRT version can connect to previous org version, however we need pay attention about TLS 1.2 requirement.

    Pay attention on this link to update 8.2 deployment to full support for TLS 1.2: Dynamics 365 Update 2.2 for TLS 1.2 supported clients

    If you prefer use previous SDK version, you can download SDK for Microsoft Dynamics 365 (v8.x) and proceed with connection.

    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

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

Featured topics

Product updates

Dynamics 365 release plans