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)

Dynamics CRM 2011 Outlook Client user configuration not loading

(0) ShareShare
ReportReport
Posted on by 30

Hello,

We have configured about 150 users using the Dynamics CRM 2011 Outlook Client configuration wizard in a Terminal Server environment, and tested the configuration afterwards by logging off and logging in with the specific user accounts. All worked fine at that time. After some time (a day or a few days) for a few users the Outlook configuration is not working anymore. The users don't see the CRM tab on the Ribbon and the Organization name on the left side also is not showing up. We have tried to reconfigure the Outlook settings for some user's, however after a few days their Dynamics CRM 2011 Outlook client doesn't work again.  In the Event Viewer the following error is logged:

Source: MSCRMAddin, Event ID 5904 Description: The Microsoft CRM Outlook add-in was not initialized because Microsoft Outlook was started under a profile for which Microsoft CRM was not installed.  Restart Microsoft Outlook under an appropriate profile, or install Microsoft CRM for the current profile. HR=0x0. Context=CStateEngine. Function=CInitializeState::Initialize. Line=60.

Some resources on the internet say that this occurs because the user logged in is not configured in the Outlook Dynamics CRM 2011 client, however we configured each user specifically.

Also the following trace is logged

# CRM Tracing Version 1.1 Unmanaged
# LocalTime: 2014-07-08 10:39:36.397
# Categories: *:Verbose
# Schedule: No registry key - using default value: Daily
# ComputerName: SERVER03
# CRMVersion: 5.0.9690.1992
[2014-07-08 10:39:36.397] Process:OUTLOOK |Thread:20588 |Category: Unmanaged.Platform |User: PlatformUser |Level: Error | IsMSCRMProfile File: c:\bt\32691\src\application\outlook\addin\common.cpp Line: 2072
>hr = 0x80004005
[2014-07-08 10:39:36.397] Process:OUTLOOK |Thread:20588 |Category: Unmanaged.Platform |User: PlatformUser |Level: Warning | hr = 0x0. CStateEngine Function: CInitializeState::Initialize File: c:\bt\32691\src\application\outlook\addin\initializestate.cpp Line: 60
[2014-07-08 10:39:36.397] Process:OUTLOOK |Thread:20588 |Category: Unmanaged.Platform |User: PlatformUser |Level: Error | CInitializeState::ExecuteEx File: c:\bt\32691\src\application\outlook\addin\initializestate.cpp Line: 36
>hr = 0x80004005
[2014-07-08 10:39:36.397] Process:OUTLOOK |Thread:20588 |Category: Unmanaged.Platform |User: PlatformUser |Level: Error | Initialize State execution failed Function: CInitializeState::ExecuteEx File: c:\bt\32691\src\application\outlook\addin\initializestate.cpp Line: 38
[2014-07-08 10:39:36.397] Process:OUTLOOK |Thread:20588 |Category: Unmanaged.Platform |User: PlatformUser |Level: Error | StateManagerSpy: 'Initialize' State execution FAILED. OrganizationName='CRM', OrganizationId='{191A0559-652F-4C5F-A5BC-A81B9290E47A}' Function: CStateEngine::Execute File: c:\bt\32691\src\application\outlook\addin\stateengine.cpp Line: 85
[2014-07-08 10:39:36.397] Process:OUTLOOK |Thread:20588 |Category: Unmanaged.Platform |User: PlatformUser |Level: Info | StateManagerSpy: 'Disable' State is going to execute. OrganizationName='CRM', OrganizationId='{191A0559-652F-4C5F-A5BC-A81B9290E47A}' Function: CStateEngine::Execute File: c:\bt\32691\src\application\outlook\addin\stateengine.cpp Line: 73
[2014-07-08 10:39:36.397] Process:OUTLOOK |Thread:20588 |Category: Unmanaged.Platform |User: PlatformUser |Level: Info | Reading registry key 0B1A001A-9351-43d0-A6C0-44A8D711E020 failed Function: FReadDWORDRegKeyValue File: c:\bt\32691\src\application\outlook\addin\..\Common\utility.h Line: 220
[2014-07-08 10:39:36.647] Process:OUTLOOK |Thread:20588 |Category: Unmanaged.Platform |User: PlatformUser |Level: Info | Reading registry key MSCRMStoreId failed Function: FReadWzRegKeyValue File: c:\bt\32691\src\application\outlook\addin\..\Common\utility.h Line: 309
[2014-07-08 10:39:36.647] Process:OUTLOOK |Thread:20588 |Category: Unmanaged.Platform |User: PlatformUser |Level: Info | IRibbonUI::InvalidateRibbonControl('(null)') Function: RibbonManager::InvalidateRibbonControl File: c:\bt\32691\src\application\outlook\addin\ribbonmanager.cpp Line: 61
[2014-07-08 10:39:36.647] Process:OUTLOOK |Thread:20588 |Category: Unmanaged.Platform |User: PlatformUser |Level: Info | StateManagerSpy: 'Disable' State execution SUCCEED.OrganizationName='CRM', OrganizationId='{191A0559-652F-4C5F-A5BC-A81B9290E47A}' Function: CStateEngine::Execute File: c:\bt\32691\src\application\outlook\addin\stateengine.cpp Line: 83
[2014-07-08 10:39:36.663] Process:OUTLOOK |Thread:16812 |Category: Unmanaged.Platform |User: PlatformUser |Level: Error | CAddin::raw_GetCustomUIInternal File: c:\bt\32691\src\application\outlook\addin\ribboncallbacks.h Line: 83
>hr = 0x80040216
[2014-07-08 10:39:36.663] Process:OUTLOOK |Thread:16812 |Category: Unmanaged.Platform |User: PlatformUser |Level: Error | Error getting the RibbonX from OutlookInstance::LoadExplorerRibbonXml. Function: CAddin::raw_GetCustomUIInternal File: c:\bt\32691\src\application\outlook\addin\ribboncallbacks.h Line: 86
[2014-07-08 10:39:36.663] Process:OUTLOOK |Thread:20588 |Category: Unmanaged.Platform |User: PlatformUser |Level: Info | Value of bInitialized 0 Function: CAddinStateManager::HrClientInitMutex File: c:\bt\32691\src\application\outlook\addin\addinstatemanager.cpp Line: 448
[2014-07-08 10:39:36.663] Process:OUTLOOK |Thread:9080 |Category: Unmanaged.Platform |User: PlatformUser |Level: Info | Reading registry key 0B1A001A-9351-43d0-A6C0-44A8D711E020 failed Function: FReadDWORDRegKeyValue File: c:\bt\32691\src\application\outlook\addin\..\Common\utility.h Line: 220
[2014-07-08 10:39:43.46] Process:OUTLOOK |Thread:16812 |Category: Unmanaged.Platform |User: PlatformUser |Level: Info | Event ExplorerEvents::Shutdown received. Function: CExplorerEventsRoot::Shutdown File: c:\bt\32691\src\application\outlook\addin\explorerevents.cpp Line: 77
[2014-07-08 10:39:43.46] Process:OUTLOOK |Thread:16812 |Category: Unmanaged.Platform |User: PlatformUser |Level: Info | Event ExplorerEvents::Shutdown received. Function: CExplorerEventsRoot::Shutdown File: c:\bt\32691\src\application\outlook\addin\explorerevents.cpp Line: 77

After reconfiguring the settings with the ConfigWizard the users can use Dynamics CRM again but that means we have to reconfigure a lot of users again when they already are configured in the past and it is not certain if they keep working in the future. Preferably we would like to find a solution for the problem at hand and use the current configuration without changing it. Has anyone had this problem before and found a solution? Could you give us some tips on where to look to solve this problem?

Thanks in advance

*This post is locked for comments

I have the same question (0)
  • AFTAB HUSSAIN Profile Picture
    on at

    Hello,

    Please refer the link below.

    social.microsoft.com/.../mscrmaddin-outlook-addin-was-not-initialized

    Thanks !

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