Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
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"

(1) ShareShare
ReportReport
Posted on by 11
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
    11 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
    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
    16,226 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
    11 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
    16,226 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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,304 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans