Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Could not load file or assembly 'Microsoft.IdentityModel.Clients.ActiveDirectory, Version=2.14.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. - Outlook integration

Posted on by 195

Hi Guys,

I am getting the below error while integration outlook 2013 with on Premise CRM 2016.

Could not load file or assembly 'Microsoft.IdentityModel.Clients.ActiveDirectory, Version=2.14.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

has any one faced this issue? Kindly advise.

Thank you,

Sreeni Pavalla

*This post is locked for comments

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Could not load file or assembly 'Microsoft.IdentityModel.Clients.ActiveDirectory, Version=2.14.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. - Outlook integration

    Hello

    Add the reference Microsoft.IdentityModel.Clients.ActiveDirectory.dll which is found under the /bin folder in the SDK

    http://etlexperts.blogspot.com/2017/03/could-not-load-file-or-assembly.html

  • EmployeeOcta Profile Picture
    EmployeeOcta on at
    RE: Could not load file or assembly 'Microsoft.IdentityModel.Clients.ActiveDirectory, Version=2.14.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. - Outlook integration

    Check on the server the below location.

    "C:\Program Files\Reference Assemblies\Microsoft"

    you will get the assembly , if it's not there then as Nithya Suggested install the WIF.

  • Suggested answer
    Nithya Gopinath Profile Picture
    Nithya Gopinath 17,074 on at
    RE: Could not load file or assembly 'Microsoft.IdentityModel.Clients.ActiveDirectory, Version=2.14.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. - Outlook integration

    Hi Sreeni,

    Have you added the 'Microsoft.IdentityModel.Clients.ActiveDirectory' as a reference assembly? Please refer the links below.

    stackoverflow.com/questions/.../the-located-assemblys-manifest-definition-does-not-match-the-assembly-reference

    support.microsoft.com/.../971052

  • EmployeeOcta Profile Picture
    EmployeeOcta on at
    RE: Could not load file or assembly 'Microsoft.IdentityModel.Clients.ActiveDirectory, Version=2.14.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. - Outlook integration

    Hello Sreeni,

    try to figure out from where this assembly is referenced.

    then you will see that the version is not there .

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,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans