All Apps and Add-ons

Splunk Add-on for MS office 365: Reporting Web Service 2.0.0-403 Client Error, is Exchange Administrator mandatory?

rayar
Contributor

I have installed the Splunk Add-on for Microsoft Office 365 Reporting Web Service 2.0.0 

I m getting 

requests.exceptions.HTTPError: 403 Client Error: for url: https://reports.office365.com/ecp/reportingwebservice/reporting.svc/MessageTrace?$filter=StartDate%2...

we are using  Modern Authentication (OAuth)

 

as per the doc we have  Office 365 Exchange Online ->ReportingWebService.Read.All

 

is Exchange Administrator mandatory  ? 

 

Labels (1)
0 Karma

mmccul
SplunkTrust
SplunkTrust

Working with the Exchange administrator, it isn't clear even with the documentation how to assign the Exchange Admin role for Oauth since there isn't a clear username to assign that role.  Any one figure this one out?

 

0 Karma

mmccul
SplunkTrust
SplunkTrust

The above referenced procedure was accurate to add Exchange Online.  Note, by default, it queries one week back and only grabs one hour at a time every query interval, meaning it takes a while to catch up to current mail messages.

0 Karma

pkiselevs
Explorer

Go to AZDS "roles and administrator"
Find Exchange administrator
enter full name of your app registration example: Splunk_siem
add to role.
This fix error 403, but i did not get any mail log through this method. There is message no mail log returned

pkiselevs
Explorer

after adding also Global reader as mention @diogofgm and complete reinstall of addon, logs started to flow. Lets see how stable will be input

0 Karma

diogofgm
SplunkTrust
SplunkTrust

Yes. If you look into the app details in splunkbase when using OAuth you need either Global Admin (Not recommended) or Exchange Admin roles assigned.

Here is a list of requirements for all azure and O365 splunk add-ons:

https://docs.google.com/spreadsheets/d/1YJAqNmcXZU-7O9CxVKupOkR6q2S8TXriMeLAUMYmMs4/edit#gid=0

------------
Hope I was able to help you. If so, some karma would be appreciated.
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Thanks for the Memories! Splunk University, .conf25, and our Community

Thank you to everyone in the Splunk Community who joined us for .conf25, which kicked off with our iconic ...