Root Cause: ultimately this came down to registry inconsistencies between the 32 and 64 bit versions of office. This user used the 32 bit version for a while, until their usage called for the 64 bit version. Typical uninstalling and reinstalling failed, uninstall tools failed.
Then one day…
This started off with an issue with Office not updating properly. Received this error when updating:
Sorry, we ran into a problem.
Error Code: 30015-13 (255)
Then received this issue after trying to run a repair install:
Something went wrong
Sorry, we ran into a problem.
Error Code: 30068-4 (3)
I tried using the Unintall tool to no avail. I could uninstall, and reinstall, but could not update, and could not update. I ended up updating my latest Office deployment tool and it fixed the update and repair issue.
https://support.office.com/en-us/article/Uninstall-Office-from-a-PC-9dd49b83-264a-477a-8fcc-2fdf5dbf61d8
THENNNNNNNNN………… Came an issue with Microsoft Dynamics CRM.
CRM would not reinstall, due to the registry inconsistencies (figured out eventually). What was annoying about this, is, I wrongfully assumed Microsoft Support was equipped to fix this quickly, the user was a power user and needed to be back up faster than if I tried to troubleshoot myself and figure out out eventually. They wasted soooooo much time, uninstalling and reinstalling.
Eventually it “installed” but then, as the title puts it, when assinging the user, it error’ed out:
What worked:
Basically Deleting all registry entries fixed the root problem. Look for all entries under:
Program Files (x86)\Microsoft Dynamics CRM
DELETE THESE BLOODY KEYS:
Computer\HKEY_CLASSES_ROOT\TypeLib\{013B08AD-2941-43CB-8E20-E23D4CBC21EE}\1.0\0\win32\
REG_SZ: C:\Program Files (x86)\Microsoft Dynamics CRM\Client\bin\crmexceladdin.dll
Computer\HKEY_CLASSES_ROOT\TypeLib\{50A3DC01-8446-42AC-A118-76000AACB267}\1.0\0\win32\
REG_SZ: C:\Program Files (x86)\Microsoft Dynamics CRM\Client\bin\CrmWinFormsHost.dll
Computer\HKEY_CLASSES_ROOT\TypeLib\{5A299EC0-342B-4B37-8BF5-121922647445}\1.0\0\win32\
REG_SZ: C:\Program Files (x86)\Microsoft Dynamics CRM\Client\bin\crmaddin.dll
Computer\HKEY_CLASSES_ROOT\WOW6432Node\CLSID\{2094C9D3-6133-4EB6-8FFF-1EBB67B207EB}\InprocServer32
REG_SZ: C:\Program Files (x86)\Microsoft Dynamics CRM\Client\bin\crmexceladdin.dll
Computer\HKEY_CLASSES_ROOT\WOW6432Node\CLSID\{26665368-369B-439C-BA35-C1E225482840}\InprocServer32
REG_SZ: C:\Program Files (x86)\Microsoft Dynamics CRM\Client\bin\crmaddin.dll
I’ll say again DELETE everything
Program Files (x86)\Microsoft Dynamics CRM
Stop the Following Services
Microsoft CRM Outlook Client Telemetry Service
Stop SQL Server
Delete the Following Paths:
%localappdata%\Microsoft\MSCRM -Delete
%appdata%\Microsoft\MSCRM -Delete
C:\Program Files (x86)\Microsoft SQL Server -Delete if only CRM using it. See folder 90
C:\Program Files (x86)\Microsoft SQL Server Compact Edition -Delete if only CRM using it
C:\Program Files\Microsoft Dynamics CRM -DELETE
%Appdata%\Local\Microsoft\MSCRM
%Appdata%\Roaming\Microsoft\MSCRM
Delete These additional Registry Keys:
HKEY_CURRENT_USER\Software\Microsoft\Microsoft Dynamics CRM 201* for Microsoft Office Outlook
or Microsoft Dynamics 365 for Microsoft Office Outlook
or Microsoft Dynamics CRM 2016 for Microsoft Office Outlook
HKEY_CURRENT_USER\Software\Microsoft\MSCRM
HKEY_CURRENT_USER\Software\Microsoft\MSCRMClient
HKEY_CURRENT_USER\Software\Microsoft\MSCRMMsgStore
HKEY_CURRENT_USER\Software\Microsoft\MSCRMIntegration
HKEY_CURRENT_USER\Software\Microsoft\Office\Outlook\Addins\crmaddin.RibbonAddin
HKEY_LOCAL_MACHINE\Software\Microsoft\MSCRM
HKEY_LOCAL_MACHINE\Software\Microsoft\MSCRMClient
HKEY_LOCAL_MACHINE \Software\Microsoft\MSCRMIntegration
HKEY_LOCAL_MACHINE\Software\Microsoft\Office\Outlook\Addins\crmaddin.Addin
Delete registry entries at least until you get to: InprocServer32 type entries. There are a lot, and the issue was resolved with the previous steps.
Computer\HKEY_CLASSES_ROOT\WOW6432Node\CLSID\{681CE2BB-D710-4A01-BFE7-9A009C9DE951}\InprocServer32