Skip to main content

Notifications

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

XRM toolbox and MFA

Posted on by 89
I'm assuming the problem is MFA. I can't connect through any connector.  I upgraded to the latest version, and my connections don't work.
 
I've deleted existing connections through appdata/roaming, etc., this doesn';t help.
 
OAuth, not working.
 
It recognizes that I'm logged in with an existing account, but then says it can't connect.

Error message:
Source    : Not Provided
Method    : Not Provided
Date    : 2/6/2024
Time    : 9:50:57 AM
Error    : A Dataverse server name is required.
Parameter name: CrmServerName
Stack Trace    : Not Provided
======================================================================================================================
Source    : Microsoft.IdentityModel.Clients.ActiveDirectory
Method    : MoveNext
Date    : 9/22/2024
Time    : 11:55:42 AM
Error    : unknown_user_type: Unknown User Type
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)
  • Verified answer
    Amit Katariya007 Profile Picture
    Amit Katariya007 8,454 Super User 2024 Season 1 on at
    XRM toolbox and MFA
    Hello User,
     
    Please follow till step no 5..what Sachin has suggested then only select 2nd check box which is "Display List Of Available Organisation". Then click on login and it will open a login page. 
     
    Login with your credentials it will show lost of organisation where you have access. Then select your required organisation and save the connection.
     
    Thank you,
    Amit Katariya
  • Suggested answer
    Inksrm Profile Picture
    Inksrm 719 on at
    XRM toolbox and MFA
    I updated my XRM toolbox with the latest version today (v1.2024.9.69) and it fixed all the connections that the prior update had broken. 
  • Suggested answer
    Sachin Jadhav Profile Picture
    Sachin Jadhav 131 on at
    XRM toolbox and MFA
    Hi,
     
    I was having similar issue recently post update. So i create connection in following way nowadays.
     
    1. Click Connect button on top
     
     
    2. Click New
     
     
    3. Click Microsoft Login Control
     
     
    4. Click "Open Microsoft Login Control"
     
     
    5. Select Office 365 and shown checkboxes, enter your credentials, Login & select environment.
     
     
    Once the connection is created, go from Connect option and select the required connection.
     
     
     
    This method is working so far.  
     
    Please accept the answer if it addresses your answer

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans