When users attempt to log into Splunk via SAML, they may encounter the error message: "SAML response does not contain group information." This message indicates that Splunk, which acts as a passive recipient of information from the Identity Provider (IdP), did not receive the expected group attribute within the SAML assertion.
It is crucial to understand that this error can arise from multiple scenarios, not solely due to group membership limits. Splunk relies on the IdP to send accurate group information, and any discrepancy or omission from the IdP's side, or misconfiguration on Splunk's side, can lead to this authentication failure.
For the most effective SAML troubleshooting, set SAML logging to DEBUG mode on the impacted Splunk instance. Without this configuration, identifying the root cause of the issue becomes significantly more challenging.
splunk set log-level Saml -level DEBUG
splunk set log-level AuthenticationManagerSAML -level DEBUG
splunk set log-level UserManagerPro -level DEBUG
splunk set log-level UiSAML -level DEBUG
splunk set log-level AuthenticationProviderSAML -level DEBUG
After enabling debug logs, have the affected user attempt to log in a couple of times. Then, run the following search in Splunk's Search & Reporting app, replacing <username> with the user's exact SAML username:
index=_internal sourcetype=splunkd SAMLp <username>
If this search doesn't provide results, try changing SAMLp to SAML2 or SAML:response, as different IdPs may send responses differently.
http://schemas.microsoft.com/claims/groups.link or an "overage claim" instead of http://schemas.microsoft.com/ws/2008/06/identity/claims/groups. This indicates that the user is a member of more than 150 groups (including nested groups) in Azure AD. Azure AD limits the number of object IDs in a groups claim to prevent token size issues; if exceeded, it sends a link or overage claim instead of the full group list.Settings > Authentication Methods > SAML settings. Check the "Role alias" field to ensure it matches the exact attribute name for groups in the SAML assertion (e.g., http://schemas.microsoft.com/ws/2008/06/identity/claims/groups).Based on the investigation, apply the appropriate resolution:
groups.link is sent.
Settings > Access Controls > Authentication Methods > SAML settings. Update the "Role alias" field to precisely match the attribute name for groups as observed in the SAML assertion from your IdP.appRoles) to define roles, exercise extreme caution with this approach. This workaround can introduce complexity and potential issues, especially if you intend to use or are already using "Authentication Extensions" for SAML users with tokens, as it may break that functionality. Always prefer using Authentication Extensions for handling large group memberships. If considering this workaround, ensure a full backup, thorough testing, and understanding of its implications.| Revision | Publish Date | Comments |
|---|---|---|
1.0 |
01-Oct-2026
|
Initial Release |