Hello Justin,
Thanks for showing interest in this issue.
We have actually provided our package to Microsoft support for listing on AppSource. I am not sure on what process they are following but the error is mostly during package deployment. Microsoft guys have just sent us the log file, which has above error during package deployment.
We are majorly facing two issues:
1. Failed to Encrypt Configuration File!
2. ERROR REQUESTING ORGS FROM THE DISCOVERY SERVER
Thanks,
Nilesh
I have pasted entire contents of log file below:
PackageDeployment Information 8 12/14/2017 4:56:20 PM ====================================================================================================
PackageDeployment Information 8 12/14/2017 4:56:20 PM
PackageDeployment Information 8 12/14/2017 4:56:20 PM START : PackageDeployer, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
PackageDeployment Information 8 12/14/2017 4:56:20 PM VER: 2.2.0.724
PackageDeployment Information 8 12/14/2017 4:56:20 PM START AT : 12/14/2017 4:56:20 PM
PackageDeployment Information 8 12/14/2017 4:56:20 PM
PackageDeployment Information 8 12/14/2017 4:56:20 PM ====================================================================================================
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 12/14/2017 4:56:41 PM Created CrmConnectionManager
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 12/14/2017 4:56:42 PM CheckBoxState = False
PackageDeployment Information 8 12/14/2017 4:56:42 PM SelectPackage - Check Point2
PackageDeployment Information 8 12/14/2017 4:56:42 PM SelectPackage - Check Point1
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 12/14/2017 4:56:43 PM CheckBoxState = False
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 12/14/2017 4:57:03 PM SetConfigKeyInfo, Key Count = 15
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 12/14/2017 4:57:04 PM Login Status in Connect is = Connecting to the Microsoft Dynamics CRM server...
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 12/14/2017 4:57:04 PM Using CRM deployment type O365
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 12/14/2017 4:57:04 PM SSL Connection = False
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 12/14/2017 4:57:04 PM Login Status in Connect is = Initializing UII core connections to Microsoft Dynamics CRM...
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 12/14/2017 4:57:04 PM Login Status in Connect is = Connecting to the Microsoft Dynamics CRM server...
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 12/14/2017 4:57:04 PM Using User Specified Server
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 12/14/2017 4:57:04 PM Trying Live Discovery Server, (North America) URI is = disco.crm.dynamics.com/.../Discovery.svc
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 12/14/2017 4:57:04 PM Login Status in Connect is = Retrieving organizations from CRM Online - North America...
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information 8 12/14/2017 4:57:04 PM DiscoverOrganizations - Initializing Discovery Server Object with disco.crm.dynamics.com/.../Discovery.svc
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information 8 12/14/2017 4:57:06 PM AuthenticateService - find authority with name login.windows.net/.../authorize
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information 8 12/14/2017 4:57:11 PM DiscoverOrganizations - Discovery Server Get Orgs Call Complete - Elapsed:00:00:07.1147586
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 12/14/2017 4:57:11 PM Found 1 Org(s)
Microsoft.Xrm.Tooling.CrmConnectControl Verbose 16 12/14/2017 4:57:11 PM DiscoveryServer indicated organization service location = brreddy.api.crm.dynamics.com/.../Organization.svc
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 12/14/2017 4:57:11 PM Organization Service URI is = brreddy.api.crm.dynamics.com/.../Organization.svc
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 12/14/2017 4:57:11 PM Validating connection to Microsoft Dynamics CRM...
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 12/14/2017 4:57:11 PM Login Status in Connect is = Validating connection to Microsoft Dynamics CRM...
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information 8 12/14/2017 4:57:12 PM User Specified Org details are used.
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information 8 12/14/2017 4:57:12 PM Found 1 Org(s)
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Verbose 16 12/14/2017 4:57:12 PM DiscoveryServer indicated organization service location = brreddy.api.crm.dynamics.com/.../Organization.svc
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information 8 12/14/2017 4:57:12 PM Organization Service URI is = brreddy.api.crm.dynamics.com/.../Organization.svc
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information 8 12/14/2017 4:57:12 PM ConnectAndInitCrmOrgService - Initializing Organization Service Object
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information 8 12/14/2017 4:57:12 PM ConnectAndInitCrmOrgService - Requesting connection to Org with CRM Version: 9.0.0.2136
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information 8 12/14/2017 4:57:14 PM AuthenticateService - find authority with name login.windows.net/.../authorize
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information 8 12/14/2017 4:57:15 PM ConnectAndInitCrmOrgService - Proxy created, total elapsed time: 00:00:02.9990528
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information 8 12/14/2017 4:57:15 PM User Org (orgab390dca) found in Discovery Server - ONLY ORG FOUND
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information 8 12/14/2017 4:57:15 PM Beginning Validation of CRM Connection
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information 8 12/14/2017 4:57:25 PM Validation of CRM Connection Complete, total duration: 00:00:10.0916530
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Verbose 16 12/14/2017 4:57:25 PM New Batch Manager Created, Max #of Batches:50000, Max #of RequestsPerBatch:5000
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 12/14/2017 4:57:26 PM Login Status in Connect is = Connection to CRM Complete
Microsoft.Xrm.Tooling.CrmConnectControl Error 2 12/14/2017 4:57:26 PM Error Message: Failed to Encrypt Configuration File!
Source : mscorlib
Method : WinIOError
Date : 12/14/2017
Time : 4:57:26 PM
Error : Element not found.
Stack Trace : at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.Encrypt(String path)
at System.IO.FileInfo.Encrypt()
at Microsoft.Xrm.Tooling.CrmConnectControl.CrmConnectionManager.SaveConfigToFile(Dictionary`2 configToSave)
======================================================================================================================
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 12/14/2017 4:57:26 PM This problem may be related to a domain certificate in windows being out of sync with the domain, please read support.microsoft.com/.../937536
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 12/14/2017 4:57:26 PM CheckBoxState = False
PackageDeployment Information 8 12/14/2017 4:57:26 PM Connection Event from CRM, Moving Next
PackageDeployment Information 8 12/14/2017 4:57:27 PM setting welcome page
PackageDeployment Information 8 12/14/2017 4:57:27 PM welcome page found at C:\USERS\V-RAVVIJ\DESKTOP\PACKAGEDEPLOYER\PkgFolder\Content\en-US\WelcomeHtml\html\default.htm
PackageDeployment Information 8 12/14/2017 4:57:29 PM Starting Config Reading process:
PackageDeployment Information 8 12/14/2017 4:57:29 PM ReadingConfig from : C:\USERS\V-RAVVIJ\DESKTOP\PACKAGEDEPLOYER\PkgFolder\ImportConfig.xml
PackageDeployment Verbose 16 12/14/2017 4:57:29 PM Unpacking config
PackageDeployment Information 8 12/14/2017 4:57:30 PM Reading Solutions.. Please wait
PackageDeployment Information 8 12/14/2017 4:57:31 PM Completed Config Reading process
PackageDeployment Information 8 12/14/2017 4:57:32 PM Status: Importing solutions. Please wait...
PackageDeployment Information 8 12/14/2017 4:57:32 PM Start Import Thread init
PackageDeployment Information 8 12/14/2017 4:57:32 PM Found One Custom Extension
PackageDeployment Information 8 12/14/2017 4:57:32 PM Status: Importing solutions
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Verbose 16 12/14/2017 4:57:48 PM Executed Command - RetrieveMultiple : GetEntityDataBySearchParms : duration: 00:00:15.8137642
PackageDeployment Information 8 12/14/2017 4:57:48 PM Status: Importing sample data files
PackageDeployment Information 8 12/14/2017 4:57:48 PM Status: Custom Install Module - Pre-import process
PackageDeployment Information 8 12/14/2017 4:57:48 PM Executing read of DataImportBypass Custom code setting
PackageDeployment Information 8 12/14/2017 4:57:48 PM Status: Importing data files
PackageDeployment Verbose 16 12/14/2017 4:57:49 PM Checking to see if XXXXSolution.zip is already imported
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Verbose 16 12/14/2017 4:57:59 PM Executed Command - RetrieveMultiple : GetEntityDataBySearchParms : duration: 00:00:10.0136606
PackageDeployment Information 8 12/14/2017 4:57:59 PM Importing 2 files for this import job : C:\USERS\V-RAVVIJ\DESKTOP\PACKAGEDEPLOYER\PkgFolder\XXXXSolution.zip
PackageDeployment Error 2 12/14/2017 4:57:59 PM ALERT! customizations.xml is missing detail Information the Import config section.
PackageDeployment Error 2 12/14/2017 4:57:59 PM ALERT! solution.xml is missing detail Information the Import config section.
PackageDeployment Information 8 12/14/2017 4:57:59 PM Status:
PackageDeployment Information 8 12/14/2017 4:59:20 PM ====================================================================================================
PackageDeployment Information 8 12/14/2017 4:59:20 PM EXIT : PackageDeployer, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
PackageDeployment Information 8 12/14/2017 4:59:20 PM VER: 2.2.0.724
PackageDeployment Information 8 12/14/2017 4:59:20 PM EXIT AT : 12/14/2017 4:59:20 PM
PackageDeployment Information 8 12/14/2017 4:59:20 PM ====================================================================================================
PackageDeployment Information 8 12/14/2017 4:59:30 PM ====================================================================================================
PackageDeployment Information 8 12/14/2017 4:59:30 PM
PackageDeployment Information 8 12/14/2017 4:59:30 PM START : PackageDeployer, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
PackageDeployment Information 8 12/14/2017 4:59:30 PM VER: 2.2.0.724
PackageDeployment Information 8 12/14/2017 4:59:30 PM START AT : 12/14/2017 4:59:30 PM
PackageDeployment Information 8 12/14/2017 4:59:30 PM
PackageDeployment Information 8 12/14/2017 4:59:30 PM ====================================================================================================
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 12/14/2017 4:59:32 PM Created CrmConnectionManager
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 12/14/2017 4:59:32 PM CheckBoxState = False
PackageDeployment Information 8 12/14/2017 4:59:32 PM SelectPackage - Check Point2
PackageDeployment Information 8 12/14/2017 4:59:32 PM SelectPackage - Check Point1
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 12/14/2017 4:59:32 PM CheckBoxState = False
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 12/14/2017 5:01:10 PM SetConfigKeyInfo, Key Count = 15
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 12/14/2017 5:01:10 PM Login Status in Connect is = Connecting to the Microsoft Dynamics CRM server...
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 12/14/2017 5:01:10 PM Using CRM deployment type O365
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 12/14/2017 5:01:10 PM SSL Connection = False
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 12/14/2017 5:01:10 PM Login Status in Connect is = Initializing UII core connections to Microsoft Dynamics CRM...
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 12/14/2017 5:01:10 PM Login Status in Connect is = Connecting to the Microsoft Dynamics CRM server...
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 12/14/2017 5:01:10 PM Trying Live Discovery Server, (North America) URI is = disco.crm.dynamics.com/.../Discovery.svc
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 12/14/2017 5:01:10 PM Login Status in Connect is = Retrieving organizations from CRM Online - North America...
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information 8 12/14/2017 5:01:10 PM DiscoverOrganizations - Initializing Discovery Server Object with disco.crm.dynamics.com/.../Discovery.svc
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information 8 12/14/2017 5:01:11 PM AuthenticateService - find authority with name login.windows.net/.../authorize
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Error 2 12/14/2017 5:01:15 PM ERROR REQUESTING ORGS FROM THE DISCOVERY SERVER
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Error 2 12/14/2017 5:01:15 PM Source : mscorlib
Method : HandleReturnMessage
Date : 12/14/2017
Time : 5:01:15 PM
Error : The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was 'Bearer error=access_denied, error_description=Authentication fail. Ticket id 5f2880d3-6066-4bf7-a205-bb3008131f6b, authorization_uri=login.windows.net/.../authorize, resource_id=disco.crm.dynamics.com'.
Stack Trace : Server stack trace:
at System.ServiceModel.Channels.HttpChannelUtilities.ValidateAuthentication(HttpWebRequest request, HttpWebResponse response, WebException responseException, HttpChannelFactory`1 factory)
at System.ServiceModel.Channels.HttpChannelUtilities.ValidateRequestReplyResponse(HttpWebRequest request, HttpWebResponse response, HttpChannelFactory`1 factory, WebException responseException, ChannelBinding channelBinding)
at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.Xrm.Sdk.Discovery.IDiscoveryService.Execute(DiscoveryRequest request)
at Microsoft.Xrm.Sdk.WebServiceClient.DiscoveryWebProxyClient.<>c__DisplayClass1.<ExecuteCore>b__0()
at Microsoft.Xrm.Sdk.WebServiceClient.WebProxyClient`1.ExecuteAction[TResult](Func`1 action)
at Microsoft.Xrm.Sdk.WebServiceClient.DiscoveryWebProxyClient.ExecuteCore(DiscoveryRequest request)
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)
======================================================================================================================
Inner Exception Level 1 :
Source : System
Method : GetResponse
Date : 12/14/2017
Time : 5:01:15 PM
Error : The remote server returned an error: (401) Unauthorized.
Stack Trace : at System.Net.HttpWebRequest.GetResponse()
at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
======================================================================================================================
Microsoft.Xrm.Tooling.CrmConnectControl Warning 4 12/14/2017 5:01:15 PM MessageSecurityException while trying to connect Discovery Server, (North America) URI is = disco.crm.dynamics.com/.../Discovery.svc
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 12/14/2017 5:01:15 PM Trying Live Discovery Server, (Europe, Middle East and Africa) URI is = disco.crm4.dynamics.com/.../Discovery.svc
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information 8 12/14/2017 5:01:15 PM DiscoverOrganizations - Initializing Discovery Server Object with disco.crm4.dynamics.com/.../Discovery.svc
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 12/14/2017 5:01:15 PM Login Status in Connect is = Retrieving organizations from CRM Online - Europe, Middle East and Africa...
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information 8 12/14/2017 5:01:16 PM AuthenticateService - find authority with name login.windows.net/.../authorize
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information 8 12/14/2017 5:01:19 PM DiscoverOrganizations - Discovery Server Get Orgs Call Complete - Elapsed:00:00:03.9010780
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 12/14/2017 5:01:19 PM Trying Live Discovery Server, (Asia Pacific Area) URI is = disco.crm5.dynamics.com/.../Discovery.svc
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information 8 12/14/2017 5:01:19 PM DiscoverOrganizations - Initializing Discovery Server Object with disco.crm5.dynamics.com/.../Discovery.svc
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 12/14/2017 5:01:19 PM Login Status in Connect is = Retrieving organizations from CRM Online - Asia Pacific Area...
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information 8 12/14/2017 5:01:20 PM AuthenticateService - find authority with name login.windows.net/.../authorize
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Error 2 12/14/2017 5:01:23 PM ERROR REQUESTING ORGS FROM THE DISCOVERY SERVER
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Error 2 12/14/2017 5:01:23 PM Source : mscorlib
Method : HandleReturnMessage
Date : 12/14/2017
Time : 5:01:23 PM
Error : The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was 'Bearer error=access_denied, error_description=Authentication fail. Ticket id 547914e2-d047-4b1e-a74b-2a5ca2b95b0b, authorization_uri=login.windows.net/.../authorize, resource_id=disco.crm5.dynamics.com'.
Stack Trace : Server stack trace:
at System.ServiceModel.Channels.HttpChannelUtilities.ValidateAuthentication(HttpWebRequest request, HttpWebResponse response, WebException responseException, HttpChannelFactory`1 factory)
at System.ServiceModel.Channels.HttpChannelUtilities.ValidateRequestReplyResponse(HttpWebRequest request, HttpWebResponse response, HttpChannelFactory`1 factory, WebException responseException, ChannelBinding channelBinding)
at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.Xrm.Sdk.Discovery.IDiscoveryService.Execute(DiscoveryRequest request)
at Microsoft.Xrm.Sdk.WebServiceClient.DiscoveryWebProxyClient.<>c__DisplayClass1.<ExecuteCore>b__0()
at Microsoft.Xrm.Sdk.WebServiceClient.WebProxyClient`1.ExecuteAction[TResult](Func`1 action)
at Microsoft.Xrm.Sdk.WebServiceClient.DiscoveryWebProxyClient.ExecuteCore(DiscoveryRequest request)
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)
======================================================================================================================
Inner Exception Level 1 :
Source : System
Method : GetResponse
Date : 12/14/2017
Time : 5:01:23 PM
Error : The remote server returned an error: (401) Unauthorized.
Stack Trace : at System.Net.HttpWebRequest.GetResponse()
at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
======================================================================================================================
Microsoft.Xrm.Tooling.CrmConnectControl Warning 4 12/14/2017 5:01:23 PM MessageSecurityException while trying to connect Discovery Server, (Asia Pacific Area) URI is = disco.crm5.dynamics.com/.../Discovery.svc
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 12/14/2017 5:01:23 PM Trying Live Discovery Server, (South America) URI is = disco.crm2.dynamics.com/.../Discovery.svc
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information 8 12/14/2017 5:01:23 PM DiscoverOrganizations - Initializing Discovery Server Object with disco.crm2.dynamics.com/.../Discovery.svc
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 12/14/2017 5:01:23 PM Login Status in Connect is = Retrieving organizations from CRM Online - South America...
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information 8 12/14/2017 5:01:24 PM AuthenticateService - find authority with name login.windows.net/.../authorize
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Error 2 12/14/2017 5:01:27 PM ERROR REQUESTING ORGS FROM THE DISCOVERY SERVER
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Error 2 12/14/2017 5:01:27 PM Source : mscorlib
Method : HandleReturnMessage
Date : 12/14/2017
Time : 5:01:27 PM
Error : The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was 'Bearer error=access_denied, error_description=Authentication fail. Ticket id 084d01c4-67f7-41ee-a7b1-5f654cb7b022, authorization_uri=login.windows.net/.../authorize, resource_id=disco.crm2.dynamics.com'.
Stack Trace : Server stack trace:
at System.ServiceModel.Channels.HttpChannelUtilities.ValidateAuthentication(HttpWebRequest request, HttpWebResponse response, WebException responseException, HttpChannelFactory`1 factory)
at System.ServiceModel.Channels.HttpChannelUtilities.ValidateRequestReplyResponse(HttpWebRequest request, HttpWebResponse response, HttpChannelFactory`1 factory, WebException responseException, ChannelBinding channelBinding)
at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.Xrm.Sdk.Discovery.IDiscoveryService.Execute(DiscoveryRequest request)
at Microsoft.Xrm.Sdk.WebServiceClient.DiscoveryWebProxyClient.<>c__DisplayClass1.<ExecuteCore>b__0()
at Microsoft.Xrm.Sdk.WebServiceClient.WebProxyClient`1.ExecuteAction[TResult](Func`1 action)
at Microsoft.Xrm.Sdk.WebServiceClient.DiscoveryWebProxyClient.ExecuteCore(DiscoveryRequest request)
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)
======================================================================================================================
Inner Exception Level 1 :
Source : System
Method : GetResponse
Date : 12/14/2017
Time : 5:01:27 PM
Error : The remote server returned an error: (401) Unauthorized.
Stack Trace : at System.Net.HttpWebRequest.GetResponse()
at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
======================================================================================================================
Microsoft.Xrm.Tooling.CrmConnectControl Warning 4 12/14/2017 5:01:27 PM MessageSecurityException while trying to connect Discovery Server, (South America) URI is = disco.crm2.dynamics.com/.../Discovery.svc
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 12/14/2017 5:01:27 PM Trying Live Discovery Server, (Oceania) URI is = disco.crm6.dynamics.com/.../Discovery.svc
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 12/14/2017 5:01:27 PM Login Status in Connect is = Retrieving organizations from CRM Online - Oceania...
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information 8 12/14/2017 5:01:27 PM DiscoverOrganizations - Initializing Discovery Server Object with disco.crm6.dynamics.com/.../Discovery.svc
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information 8 12/14/2017 5:01:28 PM AuthenticateService - find authority with name login.windows.net/.../authorize
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Error 2 12/14/2017 5:01:31 PM ERROR REQUESTING ORGS FROM THE DISCOVERY SERVER
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Error 2 12/14/2017 5:01:31 PM Source : mscorlib
Method : HandleReturnMessage
Date : 12/14/2017
Time : 5:01:31 PM
Error : The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was 'Bearer error=access_denied, error_description=Authentication fail. Ticket id e3c1c71d-9d9f-4f69-86e2-c31f832f48aa, authorization_uri=login.windows.net/.../authorize, resource_id=disco.crm6.dynamics.com'.
Stack Trace : Server stack trace:
at System.ServiceModel.Channels.HttpChannelUtilities.ValidateAuthentication(HttpWebRequest request, HttpWebResponse response, WebException responseException, HttpChannelFactory`1 factory)
at System.ServiceModel.Channels.HttpChannelUtilities.ValidateRequestReplyResponse(HttpWebRequest request, HttpWebResponse response, HttpChannelFactory`1 factory, WebException responseException, ChannelBinding channelBinding)
at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.Xrm.Sdk.Discovery.IDiscoveryService.Execute(DiscoveryRequest request)
at Microsoft.Xrm.Sdk.WebServiceClient.DiscoveryWebProxyClient.<>c__DisplayClass1.<ExecuteCore>b__0()
at Microsoft.Xrm.Sdk.WebServiceClient.WebProxyClient`1.ExecuteAction[TResult](Func`1 action)
at Microsoft.Xrm.Sdk.WebServiceClient.DiscoveryWebProxyClient.ExecuteCore(DiscoveryRequest request)
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)
======================================================================================================================
Inner Exception Level 1 :
Source : System
Method : GetResponse
Date : 12/14/2017
Time : 5:01:31 PM
Error : The remote server returned an error: (401) Unauthorized.
Stack Trace : at System.Net.HttpWebRequest.GetResponse()
at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
======================================================================================================================
Microsoft.Xrm.Tooling.CrmConnectControl Warning 4 12/14/2017 5:01:31 PM MessageSecurityException while trying to connect Discovery Server, (Oceania) URI is = disco.crm6.dynamics.com/.../Discovery.svc
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 12/14/2017 5:01:31 PM Trying Live Discovery Server, (Japan) URI is = disco.crm7.dynamics.com/.../Discovery.svc
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 12/14/2017 5:01:31 PM Login Status in Connect is = Retrieving organizations from CRM Online - Japan...
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information 8 12/14/2017 5:01:31 PM DiscoverOrganizations - Initializing Discovery Server Object with disco.crm7.dynamics.com/.../Discovery.svc
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information 8 12/14/2017 5:01:31 PM AuthenticateService - find authority with name login.windows.net/.../authorize
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Error 2 12/14/2017 5:01:34 PM ERROR REQUESTING ORGS FROM THE DISCOVERY SERVER
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Error 2 12/14/2017 5:01:34 PM Source : mscorlib
Method : HandleReturnMessage
Date : 12/14/2017
Time : 5:01:34 PM
Error : The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was 'Bearer error=access_denied, error_description=Authentication fail. Ticket id 118983e5-898d-4e83-9648-b8a5691e4496, authorization_uri=login.windows.net/.../authorize, resource_id=disco.crm7.dynamics.com'.
Stack Trace : Server stack trace:
at System.ServiceModel.Channels.HttpChannelUtilities.ValidateAuthentication(HttpWebRequest request, HttpWebResponse response, WebException responseException, HttpChannelFactory`1 factory)
at System.ServiceModel.Channels.HttpChannelUtilities.ValidateRequestReplyResponse(HttpWebRequest request, HttpWebResponse response, HttpChannelFactory`1 factory, WebException responseException, ChannelBinding channelBinding)
at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.Xrm.Sdk.Discovery.IDiscoveryService.Execute(DiscoveryRequest request)
at Microsoft.Xrm.Sdk.WebServiceClient.DiscoveryWebProxyClient.<>c__DisplayClass1.<ExecuteCore>b__0()
at Microsoft.Xrm.Sdk.WebServiceClient.WebProxyClient`1.ExecuteAction[TResult](Func`1 action)
at Microsoft.Xrm.Sdk.WebServiceClient.DiscoveryWebProxyClient.ExecuteCore(DiscoveryRequest request)
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)
======================================================================================================================
Inner Exception Level 1 :
Source : System
Method : GetResponse
Date : 12/14/2017
Time : 5:01:34 PM
Error : The remote server returned an error: (401) Unauthorized.
Stack Trace : at System.Net.HttpWebRequest.GetResponse()
at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
======================================================================================================================
Microsoft.Xrm.Tooling.CrmConnectControl Warning 4 12/14/2017 5:01:34 PM MessageSecurityException while trying to connect Discovery Server, (Japan) URI is = disco.crm7.dynamics.com/.../Discovery.svc
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 12/14/2017 5:01:34 PM Trying Live Discovery Server, (North America 2) URI is = disco.crm9.dynamics.com/.../Discovery.svc
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information 8 12/14/2017 5:01:34 PM DiscoverOrganizations - Initializing Discovery Server Object with disco.crm9.dynamics.com/.../Discovery.svc
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 12/14/2017 5:01:34 PM Login Status in Connect is = Retrieving organizations from CRM Online - North America 2...
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information 8 12/14/2017 5:01:35 PM AuthenticateService - find authority with name login.windows.net/.../authorize
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Error 2 12/14/2017 5:01:38 PM ERROR REQUESTING ORGS FROM THE DISCOVERY SERVER
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Error 2 12/14/2017 5:01:38 PM Source : mscorlib
Method : HandleReturnMessage
Date : 12/14/2017
Time : 5:01:38 PM
Error : The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was 'Bearer error=access_denied, error_description=Authentication fail. Ticket id 98b5e44b-e742-46bf-96b9-82771c9af302, authorization_uri=login.windows.net/.../authorize, resource_id=disco.crm9.dynamics.com'.
Stack Trace : Server stack trace:
at System.ServiceModel.Channels.HttpChannelUtilities.ValidateAuthentication(HttpWebRequest request, HttpWebResponse response, WebException responseException, HttpChannelFactory`1 factory)
at System.ServiceModel.Channels.HttpChannelUtilities.ValidateRequestReplyResponse(HttpWebRequest request, HttpWebResponse response, HttpChannelFactory`1 factory, WebException responseException, ChannelBinding channelBinding)
at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.Xrm.Sdk.Discovery.IDiscoveryService.Execute(DiscoveryRequest request)
at Microsoft.Xrm.Sdk.WebServiceClient.DiscoveryWebProxyClient.<>c__DisplayClass1.<ExecuteCore>b__0()
at Microsoft.Xrm.Sdk.WebServiceClient.WebProxyClient`1.ExecuteAction[TResult](Func`1 action)
at Microsoft.Xrm.Sdk.WebServiceClient.DiscoveryWebProxyClient.ExecuteCore(DiscoveryRequest request)
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)
======================================================================================================================
Inner Exception Level 1 :
Source : System
Method : GetResponse
Date : 12/14/2017
Time : 5:01:38 PM
Error : The remote server returned an error: (401) Unauthorized.
Stack Trace : at System.Net.HttpWebRequest.GetResponse()
at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
======================================================================================================================
Microsoft.Xrm.Tooling.CrmConnectControl Warning 4 12/14/2017 5:01:38 PM MessageSecurityException while trying to connect Discovery Server, (North America 2) URI is = disco.crm9.dynamics.com/.../Discovery.svc
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 12/14/2017 5:01:38 PM Trying Live Discovery Server, (Canada) URI is = disco.crm3.dynamics.com/.../Discovery.svc
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information 8 12/14/2017 5:01:38 PM DiscoverOrganizations - Initializing Discovery Server Object with disco.crm3.dynamics.com/.../Discovery.svc
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 12/14/2017 5:01:38 PM Login Status in Connect is = Retrieving organizations from CRM Online - Canada...
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information 8 12/14/2017 5:01:40 PM AuthenticateService - find authority with name login.windows.net/.../authorize
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Error 2 12/14/2017 5:01:42 PM ERROR REQUESTING ORGS FROM THE DISCOVERY SERVER
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Error 2 12/14/2017 5:01:42 PM Source : mscorlib
Method : HandleReturnMessage
Date : 12/14/2017
Time : 5:01:42 PM
Error : The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was 'Bearer error=access_denied, error_description=Authentication fail. Ticket id 5ed14ed4-ca5c-4aba-a965-0fc134ac9be2, authorization_uri=login.windows.net/.../authorize, resource_id=disco.crm3.dynamics.com'.
Stack Trace : Server stack trace:
at System.ServiceModel.Channels.HttpChannelUtilities.ValidateAuthentication(HttpWebRequest request, HttpWebResponse response, WebException responseException, HttpChannelFactory`1 factory)
at System.ServiceModel.Channels.HttpChannelUtilities.ValidateRequestReplyResponse(HttpWebRequest request, HttpWebResponse response, HttpChannelFactory`1 factory, WebException responseException, ChannelBinding channelBinding)
at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.Xrm.Sdk.Discovery.IDiscoveryService.Execute(DiscoveryRequest request)
at Microsoft.Xrm.Sdk.WebServiceClient.DiscoveryWebProxyClient.<>c__DisplayClass1.<ExecuteCore>b__0()
at Microsoft.Xrm.Sdk.WebServiceClient.WebProxyClient`1.ExecuteAction[TResult](Func`1 action)
at Microsoft.Xrm.Sdk.WebServiceClient.DiscoveryWebProxyClient.ExecuteCore(DiscoveryRequest request)
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)
======================================================================================================================
Inner Exception Level 1 :
Source : System
Method : GetResponse
Date : 12/14/2017
Time : 5:01:42 PM
Error : The remote server returned an error: (401) Unauthorized.
Stack Trace : at System.Net.HttpWebRequest.GetResponse()
at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
======================================================================================================================
Microsoft.Xrm.Tooling.CrmConnectControl Warning 4 12/14/2017 5:01:42 PM MessageSecurityException while trying to connect Discovery Server, (Canada) URI is = disco.crm3.dynamics.com/.../Discovery.svc
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 12/14/2017 5:01:42 PM Trying Live Discovery Server, (India) URI is = disco.crm8.dynamics.com/.../Discovery.svc
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information 8 12/14/2017 5:01:42 PM DiscoverOrganizations - Initializing Discovery Server Object with disco.crm8.dynamics.com/.../Discovery.svc
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 12/14/2017 5:01:42 PM Login Status in Connect is = Retrieving organizations from CRM Online - India...
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information 8 12/14/2017 5:01:43 PM AuthenticateService - find authority with name login.windows.net/.../authorize
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Error 2 12/14/2017 5:01:45 PM ERROR REQUESTING ORGS FROM THE DISCOVERY SERVER
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Error 2 12/14/2017 5:01:45 PM Source : mscorlib
Method : HandleReturnMessage
Date : 12/14/2017
Time : 5:01:45 PM
Error : The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was 'Bearer error=access_denied, error_description=Authentication fail. Ticket id 0091b6b2-9354-480a-a3d5-be3d6fcd7049, authorization_uri=login.windows.net/.../authorize, resource_id=disco.crm8.dynamics.com'.
Stack Trace : Server stack trace:
at System.ServiceModel.Channels.HttpChannelUtilities.ValidateAuthentication(HttpWebRequest request, HttpWebResponse response, WebException responseException, HttpChannelFactory`1 factory)
at System.ServiceModel.Channels.HttpChannelUtilities.ValidateRequestReplyResponse(HttpWebRequest request, HttpWebResponse response, HttpChannelFactory`1 factory, WebException responseException, ChannelBinding channelBinding)
at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.Xrm.Sdk.Discovery.IDiscoveryService.Execute(DiscoveryRequest request)
at Microsoft.Xrm.Sdk.WebServiceClient.DiscoveryWebProxyClient.<>c__DisplayClass1.<ExecuteCore>b__0()
at Microsoft.Xrm.Sdk.WebServiceClient.WebProxyClient`1.ExecuteAction[TResult](Func`1 action)
at Microsoft.Xrm.Sdk.WebServiceClient.DiscoveryWebProxyClient.ExecuteCore(DiscoveryRequest request)
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)
======================================================================================================================
Inner Exception Level 1 :
Source : System
Method : GetResponse
Date : 12/14/2017
Time : 5:01:45 PM
Error : The remote server returned an error: (401) Unauthorized.
Stack Trace : at System.Net.HttpWebRequest.GetResponse()
at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
======================================================================================================================
Microsoft.Xrm.Tooling.CrmConnectControl Warning 4 12/14/2017 5:01:45 PM MessageSecurityException while trying to connect Discovery Server, (India) URI is = disco.crm8.dynamics.com/.../Discovery.svc
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 12/14/2017 5:01:45 PM Trying Live Discovery Server, (Germany) URI is = disco.crm.microsoftdynamics.de/.../Discovery.svc
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 12/14/2017 5:01:45 PM Login Status in Connect is = Retrieving organizations from CRM Online - Germany...
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information 8 12/14/2017 5:01:45 PM DiscoverOrganizations - Initializing Discovery Server Object with disco.crm.microsoftdynamics.de/.../Discovery.svc
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information 8 12/14/2017 5:01:46 PM AuthenticateService - find authority with name login.microsoftonline.de/.../authorize
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Error 2 12/14/2017 5:01:48 PM ERROR REQUESTING Token FROM THE Authentication context
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Error 2 12/14/2017 5:01:48 PM Source : Microsoft.IdentityModel.Clients.ActiveDirectory
Method : RunAsyncTask
Date : 12/14/2017
Time : 5:01:48 PM
Error : unknown_user_type: Unknown User Type
Stack Trace : at Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationContext.RunAsyncTask[T](Task`1 task)
at Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationContext.AcquireToken(String resource, String clientId, UserCredential userCredential)
at Microsoft.Xrm.Tooling.Connector.CrmWebSvc.ObtainAccessToken(AuthenticationContext authenticationcontext, String resource, String clientId, ClientCredentials clientCredentials)
at Microsoft.Xrm.Tooling.Connector.CrmWebSvc.ExecuteAuthenticateServiceProcess(Uri serviceUrl, ClientCredentials clientCredentials, UserIdentifier user, String clientId, Uri redirectUri, PromptBehavior promptBehavior, String tokenCachePath, Boolean isOnPrem, String authority, Uri& targetServiceUrl, AuthenticationContext& authContext, String& resource)
======================================================================================================================
Microsoft.Xrm.Tooling.CrmConnectControl Error 2 12/14/2017 5:01:48 PM Exception while trying to connect Discovery Server, (Germany) URI is = disco.crm.microsoftdynamics.de/.../Discovery.svc
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 12/14/2017 5:01:48 PM Found 1 Org(s)
Microsoft.Xrm.Tooling.CrmConnectControl Verbose 16 12/14/2017 5:01:48 PM DiscoveryServer indicated organization service location = rdtrialcrm4i.api.crm4.dynamics.com/.../Organization.svc
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 12/14/2017 5:01:48 PM Organization Service URI is = rdtrialcrm4i.api.crm4.dynamics.com/.../Organization.svc
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 12/14/2017 5:01:48 PM Validating connection to Microsoft Dynamics CRM...
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 12/14/2017 5:01:48 PM Login Status in Connect is = Validating connection to Microsoft Dynamics CRM...
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information 8 12/14/2017 5:01:48 PM User Specified Org details are used.
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information 8 12/14/2017 5:01:48 PM Found 1 Org(s)
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Verbose 16 12/14/2017 5:01:48 PM DiscoveryServer indicated organization service location = rdtrialcrm4i.api.crm4.dynamics.com/.../Organization.svc
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information 8 12/14/2017 5:01:48 PM Organization Service URI is = rdtrialcrm4i.api.crm4.dynamics.com/.../Organization.svc
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information 8 12/14/2017 5:01:48 PM ConnectAndInitCrmOrgService - Initializing Organization Service Object
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information 8 12/14/2017 5:01:48 PM ConnectAndInitCrmOrgService - Requesting connection to Org with CRM Version: 9.0.0.2226
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information 8 12/14/2017 5:01:49 PM AuthenticateService - find authority with name login.windows.net/.../authorize
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information 8 12/14/2017 5:01:51 PM ConnectAndInitCrmOrgService - Proxy created, total elapsed time: 00:00:02.9322746
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information 8 12/14/2017 5:01:51 PM User Org (org2230e7cb) found in Discovery Server - ONLY ORG FOUND
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information 8 12/14/2017 5:01:51 PM Beginning Validation of CRM Connection
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Information 8 12/14/2017 5:01:55 PM Validation of CRM Connection Complete, total duration: 00:00:04.0813973
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Verbose 16 12/14/2017 5:01:55 PM New Batch Manager Created, Max #of Batches:50000, Max #of RequestsPerBatch:5000
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 12/14/2017 5:01:55 PM Login Status in Connect is = Connection to CRM Complete
Microsoft.Xrm.Tooling.CrmConnectControl Error 2 12/14/2017 5:01:55 PM Error Message: Failed to Encrypt Configuration File!
Source : mscorlib
Method : WinIOError
Date : 12/14/2017
Time : 5:01:55 PM
Error : Element not found.
Stack Trace : at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.Encrypt(String path)
at System.IO.FileInfo.Encrypt()
at Microsoft.Xrm.Tooling.CrmConnectControl.CrmConnectionManager.SaveConfigToFile(Dictionary`2 configToSave)
======================================================================================================================
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 12/14/2017 5:01:55 PM This problem may be related to a domain certificate in windows being out of sync with the domain, please read support.microsoft.com/.../937536
Microsoft.Xrm.Tooling.CrmConnectControl Information 8 12/14/2017 5:01:55 PM CheckBoxState = False
PackageDeployment Information 8 12/14/2017 5:01:55 PM Connection Event from CRM, Moving Next
PackageDeployment Information 8 12/14/2017 5:01:55 PM setting welcome page
PackageDeployment Information 8 12/14/2017 5:01:55 PM welcome page found at C:\USERS\V-RAVVIJ\DESKTOP\PACKAGEDEPLOYER\PkgFolder\Content\en-US\WelcomeHtml\html\default.htm
PackageDeployment Information 8 12/14/2017 5:01:59 PM Starting Config Reading process:
PackageDeployment Information 8 12/14/2017 5:01:59 PM ReadingConfig from : C:\USERS\V-RAVVIJ\DESKTOP\PACKAGEDEPLOYER\PkgFolder\ImportConfig.xml
PackageDeployment Verbose 16 12/14/2017 5:01:59 PM Unpacking config
PackageDeployment Information 8 12/14/2017 5:02:00 PM Reading Solutions.. Please wait
PackageDeployment Information 8 12/14/2017 5:02:00 PM Completed Config Reading process
PackageDeployment Information 8 12/14/2017 5:02:01 PM Status: Importing solutions. Please wait...
PackageDeployment Information 8 12/14/2017 5:02:01 PM Start Import Thread init
PackageDeployment Information 8 12/14/2017 5:02:01 PM Found One Custom Extension
PackageDeployment Information 8 12/14/2017 5:02:01 PM Status: Importing solutions
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Verbose 16 12/14/2017 5:02:04 PM Executed Command - RetrieveMultiple : GetEntityDataBySearchParms : duration: 00:00:02.7141764
PackageDeployment Information 8 12/14/2017 5:02:04 PM Importing solution for XXXXSolution_AppSource Version: 1.0.0.0
PackageDeployment Information 8 12/14/2017 5:02:04 PM Executing PreSolutionImport Custom code
PackageDeployment Information 8 12/14/2017 5:02:04 PM Executing Solution Import Pre v8.0
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Verbose 16 12/14/2017 5:03:39 PM Executed Command - ImportSolution : Exception Executing ImportSolutionRequest for ImportSolutionToCrm : duration: 00:01:35.0557809
PackageDeployment Information 8 12/14/2017 5:03:40 PM Fetching Data for XXXXSolution_AppSource
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Verbose 16 12/14/2017 5:03:43 PM Executed Command - Retrieve : Trying to Read a Record. Entity = importjob , ID = 6c523743-fd95-4e39-a158-cb6994c61b9c : duration: 00:00:03.2271123
PackageDeployment Information 8 12/14/2017 5:03:43 PM Import for XXXXSolution_AppSource, Progress is : 100
PackageDeployment Information 8 12/14/2017 5:03:43 PM Solution Import Result = success
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Verbose 16 12/14/2017 5:03:46 PM Executed Command - RetrieveMultiple : GetEntityDataBySearchParms : duration: 00:00:03.2466348
PackageDeployment Information 8 12/14/2017 5:03:46 PM Status: Importing sample data files
PackageDeployment Information 8 12/14/2017 5:03:46 PM Status: Custom Install Module - Pre-import process
PackageDeployment Information 8 12/14/2017 5:03:46 PM Executing read of DataImportBypass Custom code setting
PackageDeployment Information 8 12/14/2017 5:03:46 PM Status: Importing data files
PackageDeployment Verbose 16 12/14/2017 5:03:47 PM Checking to see if XXXXSolution.zip is already imported
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Verbose 16 12/14/2017 5:03:48 PM Executed Command - RetrieveMultiple : GetEntityDataBySearchParms : duration: 00:00:01.0396054
PackageDeployment Information 8 12/14/2017 5:03:48 PM Importing 2 files for this import job : C:\USERS\V-RAVVIJ\DESKTOP\PACKAGEDEPLOYER\PkgFolder\XXXXSolution.zip
PackageDeployment Error 2 12/14/2017 5:03:48 PM ALERT! customizations.xml is missing detail Information the Import config section.
PackageDeployment Error 2 12/14/2017 5:03:48 PM ALERT! solution.xml is missing detail Information the Import config section.
PackageDeployment Information 8 12/14/2017 5:03:48 PM Status:
Thanks,
Nilesh