Hi folks,
When trying to connect to connect my Plugin Registration Tool to the Discovery URL i get this error for Dynamics CRM 2011 OnPremise:
" Unable to retrieve the organizations from the Discovery Service.
Would you like to see the details for this error? "
Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.IdentityModel, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
at Microsoft.Crm.Tools.PluginRegistration.AutoRefreshSecurityToken`2.RenewTokenIfRequired()
at Microsoft.Crm.Tools.PluginRegistration.ManagedTokenDiscoveryServiceProxy.ValidateAuthentication()
at Microsoft.Xrm.Sdk.Client.ServiceContextInitializer`1.Initialize(ServiceProxy`1 proxy)
at Microsoft.Xrm.Sdk.Client.DiscoveryServiceProxy.Execute(DiscoveryRequest request)
at Microsoft.Crm.Tools.PluginRegistration.CrmConnection.RetrieveOrganizations()
at Microsoft.Crm.Tools.PluginRegistration.ConnectionsForm.OpenConnection(CrmConnection con)
I already tried the following options but nothing worked:
1. Deleted the config file
2. Changed the System time to suit the server time
3. my system has dotnet 4.6 already installed.
Any suggestions ?
Regards,
Raghu Bhupathiraju.
*This post is locked for comments