Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

CRM Ticket Key Error

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

  • Suggested answer
    Adrian Begovich Profile Picture
    Adrian Begovich 21,009 Super User 2024 Season 2 on at
    RE: CRM Ticket Key Error

    Hi Matthias Back,

    Did you try the method in the article I posted?

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

    Hi,

    did anyone found a solution for it?

    regards

    Matthias

  • Suggested answer
    Adrian Begovich Profile Picture
    Adrian Begovich 21,009 Super User 2024 Season 2 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
    Community Member Microsoft Employee on at
    RE: CRM Ticket Key Error

    Did you find a solution for this?

  • Community Member Profile Picture
    Community Member Microsoft Employee 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
    Community Member Microsoft Employee 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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans