Skip to main content

Notifications

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:
  • 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()
    ======================================================================================================================
  • 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...
  • Suggested answer
    Jimmy Passeti Profile Picture
    495 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!
     
  • Tom_Gioielli Profile Picture
    1,732 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)?

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

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

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

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

#2
Siv Sagar Profile Picture

Siv Sagar 149 Super User 2025 Season 1

#3
Vahid Ghafarpour Profile Picture

Vahid Ghafarpour 124 Super User 2025 Season 1

Product updates

Dynamics 365 release plans