Skip to main content

Notifications

Announcements

No record found.

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 12,181 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 12,181 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

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,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans