web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

CRM Ticket Key Error

(0) ShareShare
ReportReport
Posted on by 100

Can anybody know why the CRM Ticket Key error will occur. As I can see in the event viewer the issue is occurring frequently in all of the servers. I referred some of the blogs by running Microsoft.Crm.Tools.WRPCKeyRenewal.exe /R resolved the issue.

But I want to know what are all the consequences if we run the above exe and why the above issue will occur?

please help me in this.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Adrian Begovich Profile Picture
    1,027 Moderator on at
    RE: CRM Ticket Key Error

    Hi Matthias Back,

    Did you try the method in the article I posted?

  • Community Member Profile Picture
    on at
    RE: CRM Ticket Key Error

    Hi,

    did anyone found a solution for it?

    regards

    Matthias

  • Suggested answer
    Adrian Begovich Profile Picture
    1,027 Moderator on at
    RE: CRM Ticket Key Error

    Hi everyone,

    This issue occurs when key renewal fails due to an issue with the asynchronous maintenance job service. This article covers a method of resolving this problem. If you are still having issues, I recommend raising a support case with Microsoft.

  • Community Member Profile Picture
    on at
    RE: CRM Ticket Key Error

    Did you find a solution for this?

  • Community Member Profile Picture
    on at
    RE: CRM Ticket Key Error

    Hi All,
    I have similar problem.
    Our on prem CRM 2016 servers  are logging the following event  constantly and i am not able to resolve it. Event if i cleaned up the expired key when the new one is created after 24hrs the old one still remains.

    --------------------------------Error logged--------------------------------------------------------------

    The current active key (KeyType : CrmTicketKey) is expired. This may indicate that a key is not being regenerated correctly. Current Active Key : CrmKey(Id: xxxx-xx, ScaleGroupId:00000000-0000-0000-0000-000000000000, KeyType:CrmTicketKey, Expired:True, ValidOn:04/13/2018 04:17:56, ExpiresOn:04/15/2018 04:17:56, CreatedOn:04/13/2018 04:17:56, CreatedBy:TKOKEB\svc.crm.async. Key Setting : CrmKeySetting(Id:15f469b3-5f58-4b3d-a539-6b0e9d23a67c, KeyType:CrmTicketKey, KeyLength:128, KeyGenerationInterval:24, KeyTimeToLive:48, CryptoTimeToLive:24, Algorithm:HMACSHA256, ArchiveLength:1, Enabled:True, ActiveKeys:[ScaleGroupId=00000000-0000-0000-0000-000000000000,ActiveKeyId=xxxxxxxxxxxxxx])

    ----------------------------------------------------------------------------------------------------------------

    I have tried the following based on suggestions from different blogs 

    - Deleted the expired CRMTicketkey referenced in  from the CONFIG DB  CrmKeyProperties and  CRMkey Tables
    - Microsoft.Crm.Tools.WRPCKeyRenewal.exe /R
    - Restarted the async & async maintenace service
    - Restarted the Monitoring service
    - Did iis reset

    Referred the following blogs

    community.dynamics.com/.../152320
    community.dynamics.com/.../244268
    mscrmrocks.blogspot.com/.../mscrmkeygenerator-expired-key.html

    But no solution

    Can some one from Microsoft please give us a concrete solution on this

    Thanks

    TMK

  • Community Member Profile Picture
    on at
    RE: CRM Ticket Key Error

    That may be an issue with false error reporting with Monitoring Service. I've been restarting the Monitoring service and errors stop for 24+ hrs. What's interesting is that according to the database tables, regarding CRMTicketKey, keys are being regenerated/dates updated, but for some reason the Monitoring service does not reference the new data until restarted. This all started after upgrading on prem 2016 to 2.2

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Aric Levin - MVP Profile Picture

Aric Levin - MVP 2 Moderator

#1
HR-09070029-0 Profile Picture

HR-09070029-0 2

#3
MA-04060624-0 Profile Picture

MA-04060624-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans