How-To Software Technical

MSCRMKeyGenerator – CrmWRPCTokenKey is expired / WRPCKeyRenewal

Last Night I had an MSCRMKeyGenerator error message “Current active key (KeyType : CrmWRPCTokenKey) is expired. This issue was found after a few users reach out with the follow error message when accessing CRM: Invalid Action  – The selected action was not valid

I attempted the following steps:

Restarted IIS with an IISRESET.  That did not fix the problem
Restarted the Async service. That did not fix the problem

One solution was to issue the following command(s): Microsoft.Crm.Tools.WRPCKeyRenewal.exe /R
Followed by an IISRESET 

One would think this would be done by CRM on some scheduled period, perhaps its up to the CRM Admin to set. That question remains unanswered, but I can tell you that CRM  is working again.

The implementation guide says: “By default, key regeneration occurs every 24 hours” so the bigger question is why isn’t this happening and if it was working why has it stopped