Deployment Architecture

Splunk add-on for O365

mbagali_splunk
Splunk Employee
Splunk Employee

Splunk add-on for O365 stops ingesting data and a restart of splunk service makes it working again.

I see below errors in add-on audit logs:

O365PortalError: 401:{"error":{"code":"AF10001","message":"The permission set () sent in the request does not include the expected permission."}}

ERROR ApplicationUpdater - Error checking for update, URL=https://apps.splunk.com/api/apps:resolve/checkforupgrade: Winsock error 10054

ConnectionError: ('Connection aborted.', error(10054, 'An existing connection was forcibly closed by the remote host'))

Tags (1)
0 Karma
1 Solution

mbagali_splunk
Splunk Employee
Splunk Employee

For Winsock error , Increase maxThreads and maxSockets

In the [httpServer] stanza, set
[httpServer]
maxThreads=100000
maxSockets=50000

For error : O365PortalError: 401:{"error":{"code":"AF10001","message":"The permission set () sent in the request does not include the expected permission."}}

We get this error if Standard O365 subscription doesn't contain DLP feature.

View solution in original post

mbagali_splunk
Splunk Employee
Splunk Employee

For Winsock error , Increase maxThreads and maxSockets

In the [httpServer] stanza, set
[httpServer]
maxThreads=100000
maxSockets=50000

For error : O365PortalError: 401:{"error":{"code":"AF10001","message":"The permission set () sent in the request does not include the expected permission."}}

We get this error if Standard O365 subscription doesn't contain DLP feature.

Get Updates on the Splunk Community!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...