SAML (Single Sign-On)

SAML is a single sign-on standard in which the company's identity platform (IdP) authenticates the user and passes the result to Datadog as an assertion to log them in. Datadog stands on the receiving side as the service provider (SP).

Overview

When you configure SAML (Security Assertion Markup Language) in Datadog, the whole team can log in to Datadog with credentials from an identity platform such as Active Directory or LDAP. Authentication is left to the IdP, and Datadog receives the signed assertion to identify the user. It is a concept you care about when invitations and offboarding can no longer keep up, and when you need to show an audit that who can enter Datadog is controlled in one place.

The IdP authenticates, and Datadog is the side that receives the result

When you configure SAML, everyone can log in to Datadog with their corporate Active Directory or LDAP credentials. The prerequisite is a SAML IdP (Identity Provider). Examples in the official documentation include Active Directory, Auth0, Google, and Okta (as of September 2026, Source: Single Sign On With SAML). The IdP performs the authentication, and Datadog, as the service provider (SP), receives the signed assertion and logs the person in as that user. To complete offboarding entirely on the IdP side, you need SAML strict, which closes the password entrance (final section). Configuration requires Datadog Administrator permissions. If you have split organizations, SAML is configured per child organization (Source: Managing Multiple-Organization Accounts).

Entering from Datadog or from the portal

There are two ways to start a login. SP-initiated is the method that starts from the Datadog side: opening the Single Sign-on URL shown in the status display at the top of the SAML Configuration page starts SAML authentication with the IdP. If the organization has no custom subdomain, Datadog requests a one-time email verification code as an additional check. IdP-initiated is the method that starts from the company's application portal: you enter by pressing the app icon in the app list of Google or Okta (as of September 2026, Source: Single Sign On With SAML).

  • The user opens Datadog's Single Sign-on URL (SP-initiated)
  • Datadog sends an authentication request (AuthnRequest) to the IdP
  • The IdP authenticates the user and returns a signed assertion to Datadog
  • Datadog logs the person in as the user in the assertion
Source: organized based on the Using SAML and IdP initiated login sections of Single Sign On With SAML (as of September 2026)

Once you enable IdP-initiated login, load the new SP metadata containing the organization-specific AssertionConsumerService endpoint into the IdP. If it stays old, Datadog cannot associate the assertion with the organization, resulting in an error that the InResponseTo attribute is missing.

What to put in the assertion - 3 attributes

What is sent from the IdP to Datadog is the SAML assertion. Datadog supports the SAML2 HTTP-POST binding, and the email address format is specified for the NameIDPolicy format. A signature on the assertion is required, and encryption is optional. There are 3 attributes (AttributeStatement) that Datadog looks at. The attribute names vary depending on the IdP's NameFormat (URI or Basic) (as of September 2026, Source: Single Sign On With SAML).

The 3 attributes Datadog reads from the SAML assertion
AttributeRoleNote
eduPersonPrincipalNameThe Datadog username (usually the email address)If absent, taken from the Subject's NameID (emailAddress format)
snLast name (optional)Microsoft Entra ID uses surname
givenNameFirst name (optional)Updates the profile name together with sn
Source: the Supported attributes section of Single Sign On With SAML (as of September 2026)

Mapping to roles and teams is done with a separate SAML group mapping, and the RBAC role is decided from the IdP group, so decide first which group maps to which role.

JIT provisioning loses to role mapping

When you enable JIT (Just in time) provisioning, users are created inside Datadog at the moment they first attempt to log in. There is no need for an administrator to invite them one by one, and no invitation email is sent. The default role for new JIT users is Standard, and it can be changed to Read-Only, Administrators, or a custom role (as of September 2026, Source: Single Sign On With SAML). The pitfall is the order of precedence. If Role Mapping is enabled, it takes priority over the role set in JIT, and users whose group attributes are not arriving correctly end up with no role and cannot enter Datadog. The official documentation cautions that before enabling both Mapping and JIT, you should verify the mapping definitions and the contents of the assertion.

When closing the other entrances with SAML strict

When you disable the other login methods on the Login Methods screen, the organization becomes SAML strict. All users must log in with SAML, and the existing username and password and Google OAuth logins can no longer be used. For IdPs that can fetch SP metadata automatically, such as ADFS, hand over the metadata URL from the SAML Configuration page. The IdP side picks up each change as it is published (as of September 2026, Source: Single Sign On With SAML). Finally, two boundaries. Availability by plan is left to the difference between Pro and Enterprise; just note that a configuration bundling multiple IdPs is an Enterprise item. The other: what SAML governs is human logins, and the automation principals that call the API are the subject of Service Account. Even with a single entrance for people, sorting out who holds the keys is a separate matter.

Share