Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Answered

XRM Toolbox - Connection error

Posted on by 175

Has anyone seen this before?  I am using the Connection Wizard to log in.  This login worked last week, and the credentials have not changed.  I also tried OAuth to no avail.  This is an online environment.  

pastedimage1593193640301v2.png

Here is the log:

Microsoft.Xrm.Tooling.Connector.CrmServiceClient Verbose 16 6/26/2020 1:44:03 PM Initialize CRM connection Started - AuthType: Office365
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information 8 6/26/2020 1:44:03 PM Using User Specified Server
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information 8 6/26/2020 1:44:03 PM DiscoverOrganizations - Initializing Discovery Server Object with disco.crm.dynamics.com/.../Discovery.svc
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Verbose 16 6/26/2020 1:44:03 PM DiscoverOrganizations - attempting to connect to CRM server @ disco.crm.dynamics.com/.../Discovery.svc
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Verbose 16 6/26/2020 1:44:23 PM DiscoverOrganizations - created CRM server proxy configuration for disco.crm.dynamics.com/.../Discovery.svc - duration: 00:00:20.3486358
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Verbose 16 6/26/2020 1:44:23 PM DiscoverOrganizations - proxy requiring authentication type : OnlineFederation
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Error 2 6/26/2020 1:47:03 PM Unable to connect to CRM: Value cannot be null.
Parameter name: identityProvider
Source : Microsoft.Xrm.Sdk
Method : ThrowIfNull
Date : 6/26/2020
Time : 1:47:03 PM
Error : Value cannot be null.
Parameter name: identityProvider
Stack Trace : at Microsoft.Xrm.Sdk.ClientExceptionHelper.ThrowIfNull(Object parameter, String name)
at Microsoft.Xrm.Sdk.Client.ServiceConfiguration`1.AuthenticateOnlineFederationInternal(AuthenticationCredentials authenticationCredentials)
at Microsoft.Xrm.Sdk.Client.ServiceConfiguration`1.Authenticate(AuthenticationCredentials authenticationCredentials)
at Microsoft.Xrm.Tooling.Connector.CrmWebSvc.ClaimsIFDFailOverAuth[T](IServiceManagement`1 servicecfg, Uri homeRealm, ClientCredentials userCredentials, ClientCredentials deviceCredentials, Int32 depthLevel, Boolean tryNetworkCred)
at Microsoft.Xrm.Tooling.Connector.CrmWebSvc.CreateAndAuthenticateProxy[T](IServiceManagement`1 servicecfg, Uri ServiceUri, Uri homeRealm, ClientCredentials userCredentials, ClientCredentials deviceCredentials, String LogString, CrmLogEntry logSink)
at Microsoft.Xrm.Tooling.Connector.CrmWebSvc.DiscoverOrganizations(Uri discoveryServiceUri, Uri homeRealmUri, ClientCredentials clientCredentials, ClientCredentials deviceCredentials, CrmLogEntry logSink)
at Microsoft.Xrm.Tooling.Connector.CrmWebSvc.QueryLiveDiscoveryServer(Uri discoServer, Boolean useGlobal)
at Microsoft.Xrm.Tooling.Connector.CrmWebSvc.FindCrmOnlineDiscoveryServer(CrmOnlineDiscoveryServers onlineServerList, Boolean useO365Servers)
at Microsoft.Xrm.Tooling.Connector.CrmWebSvc.InitCRM2011Service()
======================================================================================================================

Microsoft.Xrm.Tooling.Connector.CrmServiceClient Error 2 6/26/2020 1:47:03 PM Unable to Login to Dynamics CRM
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Error 2 6/26/2020 1:47:03 PM Unable to Login to Dynamics CRM
Source : Not Provided
Method : Not Provided
Date : 6/26/2020
Time : 1:47:03 PM
Error : Unable to Login to Dynamics CRM
Stack Trace : Not Provided
======================================================================================================================

  • William Bradley Profile Picture
    William Bradley 175 on at
    RE: XRM Toolbox - Connection error

    Not sure what happened but all of the connections seemed to have been corrupted.  

    But I fixed it. Restarted my machine, Deleted the XRM tool, searched my computer for any old files pertaining to the tool and deleted those, then reinstalled - now it works.  Odd.  
  • Verified answer
    a33ik Profile Picture
    a33ik 84,323 Most Valuable Professional on at
    RE: XRM Toolbox - Connection error

    Hello,

    Have you installed the latest version of XrmToolbox?

    If something doesn't work well for me I create new connection using "SDK Login Control" option from "Choose Connection Method" dialog.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans