Hello everyone,
Since a couple of days, I am no more able to login into the PluginRegistration Toolkit on my computer. I used to register plugins quite often, so I am pretty confident with this tool. However, I can successfully connect to the CRM instance using the same credentials.
Here are the login log errors, they look pretty weird :
NB : I am not able to login to the ConfigurationMigration tool as well, so this error looks like a Local Computer issue. I have already tried to reinstall the SDK, but it doesn't work.
Source : System.Security
Method : Unprotect
Date : 11/10/2016
Time : 10:33:08 PM
Error : The data is invalid.
Stack Trace : at System.Security.Cryptography.ProtectedData.Unprotect(Byte[] encryptedData, Byte[] optionalEntropy, DataProtectionScope scope)
at Microsoft.Xrm.Tooling.Connector.CrmServiceClientTokenCache..ctor(String cacheFilePath)
at Microsoft.Xrm.Tooling.Connector.CrmWebSvc.ObtainAuthenticationContext(String Authority, Boolean requireValidation, String tokenCachePath)
at Microsoft.Xrm.Tooling.Connector.CrmWebSvc.ExecuteAuthenticateServiceProcess(Uri serviceUrl, ClientCredentials clientCredentials, UserIdentifier user, String clientId, Uri redirectUri, PromptBehavior promptBehavior, String tokenCachePath, Boolean isOnPrem, String authority, Uri& targetServiceUrl, AuthenticationContext& authContext, String& resource)
at Microsoft.Xrm.Tooling.Connector.CrmWebSvc.DiscoverOrganizations(Uri discoveryServiceUri, ClientCredentials clientCredentials, UserIdentifier user, String clientId, Uri redirectUri, PromptBehavior promptBehavior, String tokenCachePath, Boolean isOnPrem, String authority)
at Microsoft.Xrm.Tooling.CrmConnectControl.CrmConnectionManager.QueryOAuthDiscoveryServer(Uri discoServer, ClientCredentials liveCreds, UserIdentifier user, String clientId, Uri redirectUri, PromptBehavior promptBehavior, String tokenCachePath)
at Microsoft.Xrm.Tooling.CrmConnectControl.CrmConnectionManager.FindCrmOnlineDiscoveryServer(ClientCredentials liveCreds)
at Microsoft.Xrm.Tooling.CrmConnectControl.CrmConnectionManager.ValidateServerConnection(CrmOrgByServer selectedOrg)
======================================================================================================================
Has anybody already faced this same error message ? Many thanks
*This post is locked for comments
I have the same question (0)Hi, we had a similar problem on a server. The stack was going through same path but with a different error. We had to delete our user profile on the server and recreate it. This way we probably got passed Token cache, where we had no idea of location...