Azure SAML configuration for Dynatrace

Follow the examples below to configure Azure as the SAML identity provider (IdP) for Dynatrace SSO.

This topic describes the IdP (Azure) end of your SSO configuration, not the Dynatrace end. Use it as part of the entire SAML configuration procedure for Dynatrace SaaS if you're using Azure.

While we do our best to provide you with current information, Dynatrace has no control over changes that may be made by third-party providers. Always refer to official third-party documentation as your primary source of information for third-party products.

  1. In the Azure portal, choose Enterprise Applications from the Azure Active Directory.

  2. Select New Application and choose Add from the gallery, then type Dynatrace in the search box and then select Dynatrace.

  3. Type the name of the application (for example, Dynatrace) and select Create to add the application. The Overview page of your application will open automatically.

  4. Choose Single sign-on from the application’s left-hand navigation menu and choose SAML as the single sign-on method.

  5. At Save single sign-on setting, select Yes.

  6. In Basic SAML Configuration, set Logout Url to https://sso.dynatrace.com:443/saml2/sp/logout and save your changes.

  7. In SAML Signing Certificate, download Federation Metadata XML.

  8. Choose User and groups from the application’s left-hand navigation to configure user access to the Dynatrace application.

  9. In Dynatrace Account Configuration, provide the metadata you downloaded as Federated Metadata XML and set the following attributes:

    First name attribute

    http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname

    Last name attribute

    http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname

    Security group claim attribute

    http://schemas.microsoft.com/ws/2008/06/identity/claims/groups

Note that in the SAML message returned by Azure, groups are identified with an ObjectId, not a group name. When configuring the user group mapping, make sure you use ObjectId in Security group claims (in this example, it's 4569e836...).

The number of user groups that Azure Active Directory adds to a SAML token is limited to 150. If this limit is exceeded, a link to the Graph API endpoint is returned instead of a group list. Dynatrace doesn’t support retrieving user groups this way, because it would require additional authentication between Dynatrace and Azure AD.

If you exceed the 150 limit, consider one of the following options:

  • Limit the number of groups that users are assigned to.
  • Configure Azure AD to send only groups assigned to the application.