All Apps and Add-ons

Splunk Add-on for Microsoft Office 365 Reporting Web Service - NoneType- How to resolve this error?

tsierminski2
New Member

I have been working on this issue for several days now and cannot seem to pull message trace data over to Splunk  via OAuth using Splunk Add-on for Microsoft Office 365 Reporting Web Service 2.0.1 on Splunk 8.1.1  The following is the error that is thrown.

ERROR pid=42990 tid=MainThread file=base_modinput.py:log_error:316 | Get error when collecting events.
Traceback (most recent call last):
File "/opt/splunk/etc/apps/TA-MS_O365_Reporting/lib/splunktaucclib/modinput_wrapper/base_modinput.py", line 140, in stream_events
self.collect_events(ew)
File "/opt/splunk/etc/apps/TA-MS_O365_Reporting/bin/ms_o365_message_trace_oauth.py", line 355, in collect_events
get_events_continuous(helper, ew)
File "/opt/splunk/etc/apps/TA-MS_O365_Reporting/bin/ms_o365_message_trace_oauth.py", line 97, in get_events_continuous
messages = message_response['value'] or None
TypeError: 'NoneType' object is not subscriptable

 

Any help on this issue is greatly appreciated. 

Labels (2)
0 Karma

ldnail_at_TI
Path Finder

I was using the wrong ID for the Client ID. Make sure you use the Application (client) ID

ldnail_at_TI_0-1666376058120.png

 

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...