We have updated our Terms of Service, Code of Conduct, and Addendum.

What Report URL are you using to collect Office 365 Message Trace collector logs?

If anyone is still successfully collecting logs via Cribl's Office 365 Message Trace collector, using *Oauth2* authentication, can you please provide the "Report URL" you are using?

Answers

  • Shawn Cannon
    Shawn Cannon Posts: 131 ✭✭

    Not sure if anyone is successfully getting message trace logs. Something has changed on the Microsoft side with the API causing issues. I know all the add on for Splunk are having the same issue and they are working with Microsoft to figure out the issue.

  • LovetheBeach
    LovetheBeach Posts: 54 ✭✭

    Thanks Shawn. We originally thought our outage was because Microsoft recently disabled basic authentication to their API (we were using basic authentication) and we weren't using OAuth2. But it sounds like, even if we get OAuth2 working, we may still not be able to acquire O365 Message Trace logs.

  • Shawn Cannon
    Shawn Cannon Posts: 131 ✭✭

    Yeah the first big change was the basic auth being disabled. But I think they inadvertently changed something else with the final swap to OAUTH. We were using OAUTH for at least 2 months or so for message trace and it was working fine then stopped working (only pulls in a few events and then a 401 error pops).

  • LovetheBeach
    LovetheBeach Posts: 54 ✭✭

    Thank you for sharing that information Shawn. I will post here if I have any further significant updates.

  • LovetheBeach
    LovetheBeach Posts: 54 ✭✭

    This seems to be significant. From Microsoft: Under the Creating Service Account section: "Before accessing Office 365 Message Trace service we need to create Office 365 service account. This account needs to have very strong password (as there's *no* OAuth 2.0)." https://techcommunity.microsoft.com/t5/microsoft-sentinel-blog/office-365-email-activity-and-data-exfiltration-detection/ba-p/1169652

  • Shawn Cannon
    Shawn Cannon Posts: 131 ✭✭

    That link is from 2020, they did not have OAUTH then

  • LovetheBeach
    LovetheBeach Posts: 54 ✭✭

    k

  • LovetheBeach
    LovetheBeach Posts: 54 ✭✭

    <@UJYBKAR2Q&gt; This may be old information to you, but someone from Cribl says they (Cribl) can reproduce the error and have a case open with Microsoft on this. Cribl says that sometimes it will work (as you've have described) while other times the behavior varies with the API providing a redirect page (which Cribl isn't expecting in their O365 MT collector). It may not help solve our issue, atm, but at least I have a better understanding of what's happening.

  • LovetheBeach
    LovetheBeach Posts: 54 ✭✭

    There's supposed to be a "Known Issue" posted about this.

  • Anson VanDoren
    Anson VanDoren Posts: 17 ✭✭

    Quick update: Microsoft has acknowledged the issue on their side and their support engineers are able to repro the same thing we're seeing. No ETA yet, but they've told us they're working on a fix

  • LovetheBeach
    LovetheBeach Posts: 54 ✭✭

    <@UJYBKAR2Q&gt; Hi Shawn. Just an update. We've changed our authentication from Basic to OAuth and now we're obtaining O365 Message Trace logs again. We're also getting the occasional "Non-whitespace before {[" error, but is occurring about 1/14 times.

  • Shawn Cannon
    Shawn Cannon Posts: 131 ✭✭

    Our Splunk support case said Microsoft is releasing a patch on their side to correct this so we are waiting for confirmation that has been done

  • LovetheBeach
    LovetheBeach Posts: 54 ✭✭

    Good news. Thanks Shawn!

  • LovetheBeach
    LovetheBeach Posts: 54 ✭✭

    Ugh. Scratch my last statement about the error rate (1 error out of 14 tries). Cribl isn't "happy" about that connector right now: 9 errors out of 13 tries. Looking forward to the MS patch!:

  • Anson VanDoren
    Anson VanDoren Posts: 17 ✭✭

    Looks like it's back up:

  • Anson VanDoren
    Anson VanDoren Posts: 17 ✭✭

    from MSFT: > We got an update from Engineering Team that the issue should be resolved. The patch has been deployed and is at ~99% saturation. Please check and let me know if you are still seeing the Reporting Web Services randomly redirecting to the Office Login Page or the 403.

  • LovetheBeach
    LovetheBeach Posts: 54 ✭✭

    We've had 5 clean runs in a row since you posted. The previous errors below were 500 codes.