Hi Guido:
Thank you very much for the reply, I've upgrade the Microsoft.CrmSdk.CoreAssemblies to latest version(9.0.2.42), but I can't connect to Dynamic 365 Cloud, we used connection string as:
Server=myCompany.crm3.dynamics.com; Authentication Type=Integrated;
since this is a Rest API service, it's being called by other Rest API services within my company.
if the Authentication Type=Integrated; is not supported for Dynamic 365 Cloud, is there a workaroud? we want to automate the connection, not prompt for login, since its a REST API service, not an client app.
Here's the error:
The authentication endpoint Kerberos was not found on the configured Secure Token Service! System.NotSupportedException: The authentication endpoint Kerberos was not found on the configured Secure Token Service!
at Microsoft.Xrm.Sdk.Client.IssuerEndpointDictionary.GetIssuerEndpoint(TokenServiceCredentialType credentialType)
at Microsoft.Xrm.Sdk.Client.ServiceConfiguration`1.CreateChannelFactory(ClientCredentials clientCredentials)
at Microsoft.Xrm.Sdk.Client.ServiceProxy`1.get_ChannelFactory()
at Microsoft.Xrm.Sdk.Client.ServiceProxy`1.CreateNewServiceChannel()
at Microsoft.Xrm.Sdk.Client.ServiceProxy`1.ValidateAuthentication()
at Microsoft.Xrm.Sdk.Client.ServiceContextInitializer`1.Initialize(ServiceProxy`1 proxy)
at Microsoft.Xrm.Sdk.Client.OrganizationServiceProxy.ExecuteCore(OrganizationRequest request)
at Microsoft.Xrm.Client.Services.OrganizationService.InnerOrganizationService.UsingService[TResult](Func`2 action)
at Microsoft.Xrm.Sdk.Client.OrganizationServiceContext.Execute(OrganizationRequest request)
at Microsoft.Xrm.Sdk.Linq.QueryProvider.RetrieveEntityCollection(OrganizationRequest request, NavigationSource source)
at Microsoft.Xrm.Sdk.Linq.QueryProvider.Execute
Could you please let me know how to configure the Secure Token Service for the Dynamic 365 Cloud?
Your help is great appreciated.
Regards,
Ping