Skip to main content
Business Central forum
Suggested answer

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

editSubscribe (1) ShareShare
ReportReport
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?
Attachments
  • 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 2,788 Super User 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 2,788 Super User 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

Helpful resources

Quick Links

New Blog Features Released!

Check out the new community blog features for viewers and authors…

Setting Up Knowledge Sources for Copilot…

Look at how configuring a comprehensive knowledge base is crucial…

Demystifying Copilot with Georg Glantschnig…

Industry experts answer burning questions directly from our amazing Community…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,166 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 222,703 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,138

Featured topics

Product updates

Dynamics 365 release plans