Skip to main content

Notifications

Small and medium business | Business Central, N...
Suggested answer

Message in event log: "The HTTP header ClientActivityId is not set or has an invalid GUID"

Posted on by 31
We are using Business Central 22.1. The event log very often contains the following message:

The HTTP header ClientActivityId is not set or has an invalid GUID. Cancellation cannot be registered.

Does anyone have any idea what could be the cause?
Can the message be ignored?
  • Thorsten Kern Profile Picture
    Thorsten Kern 31 on at
    Message in event log: "The HTTP header ClientActivityId is not set or has an invalid GUID"
    Hello,

    I have tried the suggested setting:

    Set-NavServerConfiguration -ServerInstance [Instance] -Keyname ADOpenIdMetadataLocation -Keyvalue "https://login.microsoftonline.com/common/.well-known/openid-configuration"
    Restart-NAVServerInstance -ServerInstance [Instance]
     
    Unfortunately, the message is still written to the log.
  • Suggested answer
    Judy Profile Picture
    Judy Microsoft Employee on at
    Message in event log: "The HTTP header ClientActivityId is not set or has an invalid GUID"
    HI, how did you trigger the error? I have googled the same error; you can check if it can helpful.
    If the issue persists, please submit a SR to Microsoft for further investigation.
    Hope it helps.
     
    Best Regards,
    Judy
  • gdrenteria Profile Picture
    gdrenteria 10,951 Most Valuable Professional on at
    Message in event log: "The HTTP header ClientActivityId is not set or has an invalid GUID"
    Hi again
    I hope you solve it, if you see that this is the case, please mark the message as solved, so we can help other colleagues.
    Best regards
    Gerardo
  • Thorsten Kern Profile Picture
    Thorsten Kern 31 on at
    Message in event log: "The HTTP header ClientActivityId is not set or has an invalid GUID"

    Hi Gerardo,

    Many thanks for your reply! I had already seen the two websites mentioned. However, as Google only lists a total of three search hits for the message (I rarely experience this), I wanted to get an additional opinion. I will carry out a test.

    Best regards,

    Thorsten

  • Suggested answer
    gdrenteria Profile Picture
    gdrenteria 10,951 Most Valuable Professional on at
    Message in event log: "The HTTP header ClientActivityId is not set or has an invalid GUID"
    Hi
    I hope this can  help you and give you some hints 
    The solution was there:
    "The ADOpenIDMetadataLocation key must have the value  https://login.microsoftonline.com/common/.well-known/openid-configuration  . Adjusting that value in the customsettings.config and restarting the service solved the problem."
    best regards
    Gerardo

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,900 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,275 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans