web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Outlook Client for CRM 2013 removes organization when user logs on.

(0) ShareShare
ReportReport
Posted on by

I have a user that as soon as she logs on to her computer, the CRM organization is removed from the Outlook client. What's weird is that the client works fine until the user logs off and then back on to their computer. I have enabled tracing and below is the logs. These log files are just after the client is configured with the organization. Every time the organization is removed, tracing is turned back off and the log files are deleted, so I can't tell what happens when the organization is removed. This problem is not isolated to the user's computer. I have tried on another machine with the same results.

I have searched all over for the various error messages in the log files and have tried every solution I have come across. CRM is on-premise Here's what I have done.

  • Client and server are both set to receive time from the network and they are on the same time zone
  • I have uninstalled and reinstalled the Dynamics CRM Outlook client. I have also tried uninstalling and reinstalling Office
  • I have deleted the user profile folder (c:\Users\<username>)
  • I have set the user's access mode to Administrator
  • I have verified the client and server are the same version (6.1.0.581)
  • Since we do use a proxy .pac file. I have tried: https://support.microsoft.com/en-us/kb/2664157
  • I can access the organization.svc URL from the browser
  • URL is added to the trusted sites list

Microsoft.Crm.Application.Outlook.ConfigWizard-Client log

# CRM Tracing Version 2.0
# LocalTime: 2015-10-01 08:30:51.970
# Categories: 
# CallStackOn: Yes
# ComputerName: DEM-AMA
# CRMVersion: 6.1.0000.0581

[2015-10-01 08:30:51.970] Process:Microsoft.Crm.Application.Outlook.ConfigWizard |Organization:00000000-0000-0000-0000-000000000000 |Thread:   12 |Category: Exception |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId:  | CrmException..ctor  ilOffset = 0x7
	at CrmException..ctor(String message, Exception innerException, Int32 errorCode, Boolean isFlowControlException)  ilOffset = 0x7
	at ClaimsBasedAuthProvider`1.AuthenticateClaims()  ilOffset = 0x63
	at ClaimsBasedAuthProvider`1.SignIn()  ilOffset = 0x1C
	at ClientAuthProvidersFactory`1.SignIn(Uri endPoint, Credential credentials, AuthUIMode uiMode, IClientOrganizationContext context, Form parentWindow, Boolean retryOnError)  ilOffset = 0x44
	at DeploymentInfo.LoadOrganizations(AuthUIMode uiMode, Form parentWindow, Credential credentials)  ilOffset = 0x41
	at DeploymentsInfo.InternalLoadOrganizations(OrganizationDetailCollection orgs, AuthUIMode uiMode, Form parentWindow)  ilOffset = 0x9C
	at DeploymentsInfo.LoadOrganizations(AuthUIMode uiMode, Form parentWindow)  ilOffset = 0x112
	at ServerForm.LoadOrganizations(Boolean forceUI)  ilOffset = 0x44
	at ServerForm.<InitializeBackgroundWorkers>b__2(Object sender, DoWorkEventArgs e)  ilOffset = 0x24
	at BackgroundWorker.WorkerThreadStart(Object argument)  ilOffset = 0xD
	at StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)  ilOffset = 0xFFFFFFFF
	at StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)  ilOffset = 0xB1
	at ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)  ilOffset = 0x70
	at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)  ilOffset = 0x4
	at QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()  ilOffset = 0x0
	at ThreadPoolWorkQueue.Dispatch()  ilOffset = 0xA2
>Crm Exception: Message: Credentials required, ErrorCode: -2147220988
[2015-10-01 08:30:51.986] Process:Microsoft.Crm.Application.Outlook.ConfigWizard |Organization:00000000-0000-0000-0000-000000000000 |Thread:   12 |Category: Application.Outlook |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId:  | ClientAuthProvidersFactory`1.SignIn  ilOffset = 0x44
	at ClientAuthProvidersFactory`1.SignIn(Uri endPoint, Credential credentials, AuthUIMode uiMode, IClientOrganizationContext context, Form parentWindow, Boolean retryOnError)  ilOffset = 0x44
	at DeploymentInfo.LoadOrganizations(AuthUIMode uiMode, Form parentWindow, Credential credentials)  ilOffset = 0x41
	at DeploymentsInfo.InternalLoadOrganizations(OrganizationDetailCollection orgs, AuthUIMode uiMode, Form parentWindow)  ilOffset = 0x9C
	at DeploymentsInfo.LoadOrganizations(AuthUIMode uiMode, Form parentWindow)  ilOffset = 0x112
	at ServerForm.LoadOrganizations(Boolean forceUI)  ilOffset = 0x44
	at ServerForm.<InitializeBackgroundWorkers>b__2(Object sender, DoWorkEventArgs e)  ilOffset = 0x24
	at BackgroundWorker.WorkerThreadStart(Object argument)  ilOffset = 0xD
	at StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)  ilOffset = 0xFFFFFFFF
	at StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)  ilOffset = 0xB1
	at ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)  ilOffset = 0x70
	at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)  ilOffset = 0x4
	at QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()  ilOffset = 0x0
	at ThreadPoolWorkQueue.Dispatch()  ilOffset = 0xA2
>Silent sign-in failed and requested UiMode is silentonly. Failing authentication process.
[2015-10-01 08:30:51.986] Process:Microsoft.Crm.Application.Outlook.ConfigWizard |Organization:00000000-0000-0000-0000-000000000000 |Thread:   12 |Category: Application.Outlook |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId:  | DeploymentsInfo.InternalLoadOrganizations  ilOffset = 0x9C
	at DeploymentsInfo.InternalLoadOrganizations(OrganizationDetailCollection orgs, AuthUIMode uiMode, Form parentWindow)  ilOffset = 0x9C
	at DeploymentsInfo.LoadOrganizations(AuthUIMode uiMode, Form parentWindow)  ilOffset = 0x112
	at ServerForm.LoadOrganizations(Boolean forceUI)  ilOffset = 0x44
	at ServerForm.<InitializeBackgroundWorkers>b__2(Object sender, DoWorkEventArgs e)  ilOffset = 0x24
	at BackgroundWorker.WorkerThreadStart(Object argument)  ilOffset = 0xD
	at StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)  ilOffset = 0xFFFFFFFF
	at StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)  ilOffset = 0xB1
	at ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)  ilOffset = 0x70
	at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)  ilOffset = 0x4
	at QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()  ilOffset = 0x0
	at ThreadPoolWorkQueue.Dispatch()  ilOffset = 0xA2
>Exception during Signin Microsoft.Crm.CrmException: Credentials required
   at Microsoft.Crm.Outlook.ClientAuth.ClaimsBasedAuthProvider`1.AuthenticateClaims()
   at Microsoft.Crm.Outlook.ClientAuth.ClaimsBasedAuthProvider`1.SignIn()
   at Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvidersFactory`1.SignIn(Uri endPoint, Credential credentials, AuthUIMode uiMode, IClientOrganizationContext context, Form parentWindow, Boolean retryOnError)
   at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo.DeploymentInfo.LoadOrganizations(AuthUIMode uiMode, Form parentWindow, Credential credentials)
   at Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo.InternalLoadOrganizations(OrganizationDetailCollection orgs, AuthUIMode uiMode, Form parentWindow)
[2015-10-01 08:31:04.717] Process:Microsoft.Crm.Application.Outlook.ConfigWizard |Organization:00000000-0000-0000-0000-000000000000 |Thread:    4(MSCRM:-RegistryWatcher.RegTrackerThreadProc) |Category: Platform |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId:  | RegistryCollection.UpdateCollection  ilOffset = 0x36
	at RegistryCollection.UpdateCollection(Object sender, EventArgs e)  ilOffset = 0x36
	at RegistryWatcher.RegTrackerThreadProc()  ilOffset = 0x45
	at ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)  ilOffset = 0x70
	at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)  ilOffset = 0x4
	at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)  ilOffset = 0x2F
	at ThreadHelper.ThreadStart()  ilOffset = 0x25
>Error occurred while refreshing registry cache, cache has been cleared. Exception: System.IO.IOException: No more data is available.

   at Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String str)
   at Microsoft.Win32.RegistryKey.GetValueNames()
   at Microsoft.Crm.RegistryCollection.UpdateCollection(Object sender, EventArgs e)


*This post is locked for comments

I have the same question (0)

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans