Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

XRM Toolbox - Connection error

(0) ShareShare
ReportReport
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
    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
    84,331 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

🌸 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 > Customer experience | Sales, Customer Insights, CRM

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

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

#2
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 83

#3
Vahid Ghafarpour Profile Picture

Vahid Ghafarpour 78 Super User 2025 Season 1

Overall leaderboard

Product updates

Dynamics 365 release plans