Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Question about Microsoft Dynamics 2015 and errors that are generated in event log

(0) ShareShare
ReportReport
Posted on by

Hi

Trying to resolve this problem that we have in our test and production servers.

Although everything from the application side is working (for now), these errors are constantly generated in event log.

Log Name:      Application
Source:        MSCRMMonitoringTest
Date:          04/04/2018 10:52:53
Event ID:      18702
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      CRM.xyz
Description:
Monitoring test failed: Test Title: Verify active crm keys exist for the deployment.: Machine: CRM: ServerRole: AsyncService
Test Log:
Key 'CrmTicketKey' is not activeKey 'CrmWRPCTokenKey' is activeKey 'CrmEmailCredentialsKey' is activeKey 'CrmTicketKey' is not activeKey 'CrmStaticVersionScaleGroupKey' is activeKey 'CrmWRPCTokenKey' is active.

Log Name:      Application
Source:        MSCRMKeyGenerator
Date:          04/04/2018 10:52:53
Event ID:      18949
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      CRM.xyz
Description:
The current active key (KeyType : CrmTicketKey) is expired.  This may indicate that a key is not being regenerated correctly.  Current Active Key : CrmKey(Id:01234-, ScaleGroupId:00000000-0000-0000-0000-000000000000, KeyType:CrmTicketKey, Expired:True, ValidOn:03/23/2018 10:11:49, ExpiresOn:03/25/2018 10:11:49, CreatedOn:03/23/2018 10:11:49, CreatedBy:NT AUTHORITY\NETWORK SERVICE.  Key Setting : CrmKeySetting(Id:012345, KeyType:CrmTicketKey, KeyLength:128, KeyGenerationInterval:24, KeyTimeToLive:48, CryptoTimeToLive:24, Algorithm:HMACSHA256, ArchiveLength:1, Enabled:True, ActiveKeys:[ScaleGroupId=00000000-0000-0000-0000-000000000000,ActiveKeyId=012345])


After all of this, I've found some articles on the internet that I should:

1. Restart Async Services
2. Running Execute Microsoft.Crm.Tools.WRPCKeyRenewal.exe with parameter /R  and IISReset command. Also restarted the server afterwards.

 
I did so... and these events to not generate themselves for a day or two.
Afterwards, everything gets back as it was before. Any ideas or suggestions how to resolve these errors permanently?

Regards

*This post is locked for comments

  • Community Member Profile Picture
    on at
    RE: Question about Microsoft Dynamics 2015 and errors that are generated in event log

    Hi

    Thank you all for comments.

    On our test server I did 'IgnoreTokenCheck' registry entry. Rebooted the server afterwards and everything was nice for a day or two. Again last two days the same errors have started to repeat in event log. And everything is, as it was before!

    I have executed the query on test database, and got the output:

    CreatedOn            Enabled Id          KeyType                                                                ScaleGroupId IsDeleted

    2018-03-22 12:20:49 FALSE abcd CrmWRPCTokenKey 00000000-0000-0000-0000-000000000000 FALSE

    2018-03-23 11:55:24 FALSE efgh CrmWRPCTokenKey 00000000-0000-0000-0000-000000000000 FALSE

    2018-04-04 10:59:15 FALSE ijkl CrmWRPCTokenKey 00000000-0000-0000-0000-000000000000 FALSE

    2018-04-05 12:52:42 TRUE mnop CrmWRPCTokenKey 00000000-0000-0000-0000-000000000000 FALSE

    So I assume I have to delete first three entries? And that there should be only one (last) entry. Is that correct?

    My last question is... if I delete first three entries, can I expect in the future the problem will be permanently resolved? Or these entries will start to reapear again? For example, after I reboot the server?!

    Regards

  • Community Member Profile Picture
    on at
    RE: Question about Microsoft Dynamics 2015 and errors that are generated in event log

    Hi,

    Quick fix to this issue would be to add the IgnoreTokenCheck registry key so that this check do not happen. On the front end servers under HKLM\Software\Microsoft\MSCRM you can add a 32 bit DWORD “IgnoreTokenCheck”  and set it to 1.

    52141.1.PNG

    You could take a look at the following article.

    https://blogs.msdn.microsoft.com/niran_belliappa/2017/10/05/dynamics-crm-crmwrpctokenkey-errors/

    Hope it helps.

    BR,

    Judy

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

    Appreciate to Mark it as Answer if it helps.

  • Suggested answer
    Temmy Wahyu Raharjo Profile Picture
    2,914 on at
    RE: Question about Microsoft Dynamics 2015 and errors that are generated in event log

    Hi,

    Check community.dynamics.com/.../244268

    One of the solutions is partnersupport.microsoft.com/.../89d196cb-202c-49b5-a2f5-f1fcbce5eb2c

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 54

#3
Victor Onyebuchi Profile Picture

Victor Onyebuchi 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans