Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't connect to Microsoft Dataverse - O365 - connection Type. Version 1.2024.9.69 #1368

Open
rcevallosq opened this issue Oct 24, 2024 · 2 comments
Labels

Comments

@rcevallosq
Copy link

Hi. Please your kind help.
I have downloaded the version: 1.2024.9.69**, in a new folder location.**
I have deleted all the programs in the folder: C:\Users\rcevallos\AppData\Roaming\MscrmTools\XrmToolBox
I am trying to create my connection using the "Microsoft Login"
I am getting the error: Unable to connect.
I have tried with other connection types and is the same result, please your help.

image

Source : Not Provided
Method : Not Provided
Date : 10/24/2024
Time : 4:32:10 PM
Error : A Dataverse server name is required.
Parameter name: CrmServerName
Stack Trace : Not Provided

Source : Microsoft.IdentityModel.Clients.ActiveDirectory
Method : MoveNext
Date : 10/24/2024
Time : 4:36:16 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)

@rcevallosq rcevallosq added the bug label Oct 24, 2024
@janis-veinbergs
Copy link

Broken for me too. If using Connection String option I get this stuff:

Microsoft.Xrm.Tooling.Connector.CrmServiceClient	Error	2	29.10.2024 10:20:26  Unable to connect to CRM: Method not found: 'System.String Microsoft.Xrm.Sdk.Organization.OrganizationDetail.get_SchemaType()'.
Source	: Microsoft.Xrm.Tooling.Connector
Method	: RefreshInstanceDetails
Date	: 29.10.2024
Time	: 10:20:26
Error	: Method not found: 'System.String Microsoft.Xrm.Sdk.Organization.OrganizationDetail.get_SchemaType()'.
Stack Trace	: at Microsoft.Xrm.Tooling.Connector.CrmWebSvc.RefreshInstanceDetails(IOrganizationService crmService, Uri uriOfInstance)
   at Microsoft.Xrm.Tooling.Connector.CrmWebSvc.DoDirectLogin(Boolean IsOnPrem)
   at Microsoft.Xrm.Tooling.Connector.CrmWebSvc.InitCRM2011Service()

@janis-veinbergs
Copy link

Ah, I manually downloaded .zip from releases and copied files over within my existing xrmtoolbox folder and now it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants