Error Logs Ingestion API into Sentinel

Conrad, Steve 0 Reputation points
2024-10-04T02:19:57.6166667+00:00

Logs ingestion API implementation no data is being ingested in Sentinel from the 3rd party Rest client. I enabled the DCR logs today the message being returned is 'Could not validate token because: InvalidAudience'.

Microsoft Sentinel
Microsoft Sentinel
A scalable, cloud-native solution for security information event management and security orchestration automated response. Previously known as Azure Sentinel.
1,152 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Conrad, Steve 0 Reputation points
    2024-10-11T14:24:47.3966667+00:00

    Case number - TrackingID#2410040040004608

    App Registration to create the key and permissions for you API call. The App Registration is configured using clientid and secret, which is used for several of the data sources connecting to the DCR.

    What permissions are you referring to for me to verify?

    Regards,

    0 comments No comments

  2. Givary-MSFT 33,001 Reputation points Microsoft Employee
    2024-10-28T09:39:42.61+00:00

    @Conrad, Steve Apologies for the delay in resolving this and thank you for posting your solution so that others experiencing the same thing can easily reference this! Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others ", I'll repost your steps which you shared in case you'd like to "Accept " the answer.

    Issue: Logs ingestion API implementation no data is being ingested in Sentinel from the 3rd party Rest client. I enabled the DCR logs today the message being returned is 'Could not validate token because: InvalidAudience'.

    Resolution: @Conrad, Steve worked with our support team on this case - 2410040040004608
    after further analysis it was not App Registration nor DCR or DCE configuration it was due to Sentinel wasn't happy when the payload included the fields that contained __headers. Once they cleaned up invalid fields the data started ingesting in Sentinel's SecurityEvent Tables and the DCR errors stopped.

    If you have any other questions or are still running into more issues, please let me know. Thank you again for your time and patience throughout this issue.

    Please remember to "Accept Answer" if any answer/reply helped, so that others in the community facing similar issues can easily find the solution.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.