web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

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

XRM Toolbox - Cannot create Connections - Please help!

(1) ShareShare
ReportReport
Posted on by 8
Just recently I have been unable to create new Connections in XRM Toolbox. I have tried the following:
-Download latest version, restart. Clear/delete existing XRM files, restart. 
-Download older version, restart. 
-Try Connection Wizard, Connection String, OAuth, Microsoft Login methods 
-Try connecting to a plugin first
-Try connecting to an org first
 
Is anyone else having this issue?  Here are some screenshots of errors I am getting. This is a real blocker for me and my clients, so I appreciate any help!  


Categories:
I have the same question (0)
  • Tom_Gioielli Profile Picture
    2,291 Super User 2025 Season 2 on at
    XRM Toolbox - Cannot create Connections - Please help!
    No issues on my side when I just tested a connection.
     
    Do you have a VPN or some other network setting that might be getting flagged by your org (in conjunction with a restriction in CRM on access points)? Are you sure your URL is correct and hasn't been changed? Anything changed with 2FA for the Service Account (or if you are using a personal account, do you have a service account to check)?
  • Suggested answer
    Jimmy Passeti Profile Picture
    604 Most Valuable Professional on at
    XRM Toolbox - Cannot create Connections - Please help!
    Hello,
     
    Try the following steps:
     
    After you click on the login button, it ill show the Microsoft pop up for login.
     
    Regards,
    Jimmy Passeti | Microsoft MVP
    ✅ Please mark as Verified if this answered your question!
     
  • CB-20011437-0 Profile Picture
    8 on at
    XRM Toolbox - Cannot create Connections - Please help!
    Thanks for the reply, Tom. I am using Service Accounts to login to the 2 different connections - both don't have 2FA turned on. URL is correct as I have copied and pasted from the CRM environment...
  • CB-20011437-0 Profile Picture
    8 on at
    XRM Toolbox - Cannot create Connections - Please help!
    Thanks for the reply, Jimmy.  I have tried Microsoft Login as well.  This is how most of my colleagues are logging in for their clients.  When I take the above steps, it spins for ~5 mins, then errors out.  I do not receive a pop-up for MS login, unfortunately.  




    This is the error log:
     
    Source    : Not Provided
    Method    : Not Provided
    Date    : 6/10/2025
    Time    : 1:16:27 PM
    Error    : A Dataverse server name is required.
    Parameter name: CrmServerName
    Stack Trace    : Not Provided
    ======================================================================================================================
    Source    : Not Provided
    Method    : Not Provided
    Date    : 6/10/2025
    Time    : 3:23:23 PM
    Error    : A Dataverse server name is required.
    Parameter name: CrmServerName
    Stack Trace    : Not Provided
    ======================================================================================================================
    Source    : Microsoft.IdentityModel.Clients.ActiveDirectory
    Method    : MoveNext
    Date    : 6/10/2025
    Time    : 3:28:07 PM
    Error    : Service returned error. Check InnerException for more details
    Stack Trace    : at Microsoft.Xrm.Tooling.Connector.CrmWebSvc.ProcessAdalExecption(Uri serviceUrl, ClientCredentials clientCredentials, X509Certificate2 userCert, UserIdentifier& user, String clientId, Uri redirectUri, PromptBehavior promptBehavior, String tokenCachePath, Boolean isOnPrem, String authority, Uri& targetServiceUrl, AuthenticationContext& authContext, String& resource, CrmLogEntry logSink, Boolean useDefaultCreds, String& authToken, AdalException adalEx)
       at Microsoft.Xrm.Tooling.Connector.CrmWebSvc.ExecuteAuthenticateServiceProcess(Uri serviceUrl, ClientCredentials clientCredentials, X509Certificate2 userCert, UserIdentifier user, String clientId, Uri redirectUri, PromptBehavior promptBehavior, String tokenCachePath, Boolean isOnPrem, String authority, Uri& targetServiceUrl, AuthenticationContext& authContext, String& resource, UserIdentifier& userIdent, CrmLogEntry logSink, Boolean useDefaultCreds, SecureString clientSecret)
       at Microsoft.Xrm.Tooling.Connector.CrmWebSvc.DiscoverGlobalOrganizations(Uri discoveryServiceUri, ClientCredentials clientCredentials, X509Certificate2 loginCertificate, UserIdentifier user, String clientId, Uri redirectUri, PromptBehavior promptBehavior, String tokenCachePath, Boolean isOnPrem, String authority, UserIdentifier& userOut, CrmLogEntry logSink, Boolean useGlobalDisco, Boolean useDefaultCreds)
       at Microsoft.Xrm.Tooling.Connector.CrmWebSvc.DiscoverOrganizations(Uri discoveryServiceUri, ClientCredentials clientCredentials, UserIdentifier user, String clientId, Uri redirectUri, PromptBehavior promptBehavior, String tokenCachePath, Boolean isOnPrem, String authority, UserIdentifier& userOut, CrmLogEntry logSink, Boolean useGlobalDisco, Boolean useDefaultCreds)
       at Microsoft.Xrm.Tooling.CrmConnectControl.CrmConnectionManager.QueryOAuthDiscoveryServer(Uri discoServer, ClientCredentials liveCreds, UserIdentifier user, String clientId, Uri redirectUri, PromptBehavior promptBehavior, String tokenCachePath, Boolean useGlobalDisco)
       at Microsoft.Xrm.Tooling.CrmConnectControl.CrmConnectionManager.QueryOnlineServerList(ObservableCollection`1 svrs, OrganizationDetailCollection col, ClientCredentials liveCreds, Uri trimToDiscoveryUri, Uri globalDiscoUriToUse)
       at Microsoft.Xrm.Tooling.CrmConnectControl.CrmConnectionManager.FindCrmOnlineDiscoveryServer(ClientCredentials liveCreds)
       at Microsoft.Xrm.Tooling.CrmConnectControl.CrmConnectionManager.ValidateServerConnection(CrmOrgByServer selectedOrg)
    ======================================================================================================================
    Inner Exception Level 1    : 
    Source    : Microsoft.IdentityModel.Clients.ActiveDirectory
    Method    : MoveNext
    Date    : 6/10/2025
    Time    : 3:28:07 PM
    Error    : Request to the endpoint timed out.
    Stack Trace    : at Microsoft.Identity.Core.Http.HttpManager.<ExecuteWithRetryAsync>d__8.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.Identity.Core.Http.HttpManager.<ExecuteWithRetryAsync>d__8.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.Identity.Core.Http.HttpManager.<SendGetAsync>d__5.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.Identity.Core.OAuth2.OAuthClient.<ExecuteRequestAsync>d__23.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.Identity.Core.OAuth2.OAuthClient.<GetResponseAsync>d__18`1.MoveNext()
    ======================================================================================================================
    Inner Exception Level 2    : 
    Source    : mscorlib
    Method    : ThrowForNonSuccess
    Date    : 6/10/2025
    Time    : 3:28:07 PM
    Error    : A task was canceled.
    Stack Trace    : at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.Identity.Core.Http.HttpManager.<ExecuteAsync>d__9.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.Identity.Core.Http.HttpManager.<ExecuteWithRetryAsync>d__8.MoveNext()
    ======================================================================================================================
  • JinsengIT Profile Picture
    42 on at
    XRM Toolbox - Cannot create Connections - Please help!
    Community,  I work with CB-20011437-0.  We reset his computer and he's still having the same issues.  The Windows Sign-In dialogue didn't come up before the Windows reset and it still doesn't come up now.  Any thoughts?

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

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

#1
Sahan Hasitha Profile Picture

Sahan Hasitha 169

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 69 Super User 2025 Season 2

#3
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 67

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans