CRM2011: Plugin Registration Tool Error – Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly ‘Microsoft.IdentityModel, Version=126.96.36.199, Culture=neutral
I came accoss this error today when trying to connect to our sandbox 2011 server. The pluginregistration tool built successfully from the SDK, however any attempt to connect with the server failed with this error.
Bit of googling explained that this was missing the Windows Identification Foundation
extension on my machine. Which makes sense seeing that 2011 uses that as a type of authentication.
Downloading this solved the issue!