Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Can't add an Organization in the CRM Outlook client - The given key was not present in the dictionary

Posted on by 2

The CRM Outlook client suddenly stopped working. I uninstalled and re-installed the client, but when trying to add my organisation, it's giving an error - 'The given key was not present in the dictionary'.

I have seen many posts which refer to custom plugins variables, but I do not have any custom plugins. The CRM Outlook plugin itself is not getting configured.

See error message screenshot below.

0143.CRM-error.jpg

Regards,

Dominic.

*This post is locked for comments

  • RE: Can't add an Organization in the CRM Outlook client - The given key was not present in the dictionary

    Hi Josh,

    Thanks for your reply and probably your solution will help someone else in the future who can avoid the pain I went through.

    Many thanks,

    Dominic.

  • Josh Wells - MSFT Profile Picture
    Josh Wells - MSFT 961 on at
    RE: Can't add an Organization in the CRM Outlook client - The given key was not present in the dictionary

    Hey Dominic,

    I apologize for the delay in getting back to you as you caught me in a role change and spent much time traveling.  Glad to see that you go this one fixed. I understand that you may no longer need guidance here but thought I would chime in since I've now seen it.

    The issue you were facing here is around the client metadata.  If you look midway in the stack trace of the screenshot, it shows that it's hitting a method called DiffSync.  This would indicate that you have metadata already loaded on your workstation and that during the configuration process, it's trying to to pull metadata from the server and compare it to what's local.  During that process, it fails when trying to correlate objects within the dictionary of objects for entities and attributes.  


    The resolution was, most likely, clearing out the MetadataCache-OrgGUID.sdf file found in the following location:

    %userprofile%\Appdata\Local\Microsoft\MSCRM\Client

    Apologies for not getting back to you sooner.  Hope this may help others out down the road.  

    Thanks,

    Josh

  • Verified answer
    RE: Can't add an Organization in the CRM Outlook client - The given key was not present in the dictionary

    I solved it myself with this gem that I found

    blogs.msdn.microsoft.com/.../manually-uninstall-install-dynamics-crm-2015-for-microsoft-office-outlook-including-offline-functionality

  • RE: Can't add an Organization in the CRM Outlook client - The given key was not present in the dictionary

    Hi Prashant,

    Thanks for your reply.

    Although we are on O365 and CRM Online 2016, I've tried 2 of the resolutions from your posts, but none worked for me. I removed all the windows stored passwords and also checked on the date & time config, but no luck. Victoria just entered into DST last Sunday and I thought maybe that caused the issue, but the same error persists. The other resolutions do not apply to my current configuration.

    This worked fine just last week. :(

    Regards,

    Dominic.

  • Suggested answer
    PS Profile Picture
    PS 23,577 on at
    RE: Can't add an Organization in the CRM Outlook client - The given key was not present in the dictionary

    Try this: support.microsoft.com/.../2502671

    support.microsoft.com/.../910090

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans