Pages

Wednesday 7 September 2016

Error "Could not load file or assembly 'Microsoft.IdentityModel.Clients.ActiveDirectory.XXXXXXXXX" while connecting CRM service

When you get error 'Microsoft.IdentityModel.Clients.ActiveDirectory.XXXXXXXXX' while connecting service .Kindly  refer "Microsoft.IdentityModel.Clients.ActiveDirectory.dll" which is available in CRM2016 SDK\ bin folder .


1 comment:

  1. I already have added reference to a Nuget package - "Microsoft.IdentityModel.Clients.ActiveDirectory" version - 2.28.1, in my project, and could also see the references added correctly in the Visual Studio project. Still I am getting this error. And yes, this is very intermittent issue, it just started throwing this error since last few days. why it should fail, if its already referenced through NuGet

    ReplyDelete