Skip to main content
Sumo Logic

Integrate Sumo with Azure AD

Enable Single Sign-On (SSO)  to Sumo Logic with Azure Active Directory (AD).

Group 3 Copy 5.png

Organizations with Enterprise accounts can provision Security Assertion Markup Language (SAML) 2.0 to enable Single Sign-On (SSO) for user access to Sumo Logic. This page has instructions for integrating Sumo with Azure AD.

Step 1: Configure Sumo as an Enterprise App in Azure AD

In this step you set up Sumo as a non-gallery Enterprise App in Azure AD.

  1. Go into the Microsoft Azure Management Console and select Azure Active Directory in the left-side navigation pane.
  2. Select Manage > Enterprise Applications in the Overview blade. 
    enterprise-apps.png
  3. Select Manage > All Applications.
  4. Click New application at the top of the All applications blade. 
    new-app-icon.png
  5. Select Categories and then select ALL.
  6.  Select Non-gallery application. non-gallery-app.png
  7. On the Add your own application page give your application a name and click Add. Throughout this procedure, we refer to the application name as <app-name>.
    add-you-own-app.png
  8. Select your new application from the applications list.
  9. In the left-side navigation pane, select Single sign-on.
  10. In the Single sign-on dialog, select Select SAML-based Sign-on.
    click-single-signon.png
  11. In the SAML Signing Certificate section, click the Download link for Certificate (Base64) to download the <app-name>.cer file.
  12. In the Set Up Sumo Logic section, copy and paste the the contents of the following fields into a text document. You will need these values when in the next step. 
    • Login URL
    • Azure AD identifier

    • Logout URL


Step 2: Configure SAML in Sumo

  1. Go to Administration > Security > SAML.
  2. Select an existing configuration, or click the plus (+) icon to create a new configuration.
    saml-config-list.png 
  3. The Add Configuration page appears.saml-add-config.png
  4. Configuration Name. Enter a name to identify the SSO policy (or another name used internally to describe the policy).
  5. Debug Mode. Select this option if you'd like to view additional details if an error occurs when a user attempts to authenticate. For more information, see View SAML Debug Information.
  6. Issuer. Enter the Azure AD Identifier that you noted in the substep 12 of Step 1
  7. X.509 Certificate: Use a text editor to open the certificate file you downloaded in substep 11 of Step 1. Copy and paste the contents of the file into the field. 
  8. Attribute Mapping: Select Use SAML subject.
  9. Configure SP-initiated Login. This section has instructions for setting up SP-initiated login. In this configuration, when a Sumo user logs in, Sumo redirects the user to your IdP with a SAML AuthnRequest. The request contains the information that your IdP needs to authenticate the user. Your IdP replies to Sumo with a SAML Assertion (SAMLResponse). In the steps below, you provide the information necessary for Sumo to issue the AuthnRequest to your IdP.
    1. Click SP Initiated Login Configuration in the Optional Settings section of the SAML configuration page. When you click this option, the Login Path and Authn Request URL fields appear. 

    2. Login Path. Enter a unique identifier for your org. You can specify any alphanumeric string (with no embedded spaces), provided that it is unique to your org. (You can't configure a Login Path that another Sumo customer has already configured). The identifier is used to generate a unique URL for user login. For example, if you enter "yourcompanyname", the login URL for the HTTP redirect binding will be:

      For example, if you enter "yourcompanyname", the login URL for the HTTP redirect binding will be:

      https://service.deployment.sumologic.com/sumo/saml/redirect/yourcompanyname
       

      And the login URL for the HTTP POST binding will be:

      https://service.deployment.sumologic...ourcompanyname

      where deployment is your specific deployment: us2|eu|au
       
    3. Authn Request URL. Enter the Login URL that you noted in the substep 12 of Step 1.

  10. Disable Requested Authn Context. Checkmark this option. 

  11. Configure on-demand provisioning. (Optional) If you configure on-demand provisioning, Sumo Logic automatically creates a user account the first time a user logs on to Sumo.When the account is created, Sumo Logic credentials are emailed to the user. (Users need both Sumo Logic credentials and SAML permissions.) To complete this procedure, you  supply the First Name and Last Name attributes Azure AD uses to identify users.

    1. Click the On Demand Provisioning checkbox.
    2. First Name Attribute. Enter:
      Givenname
    3. Last Name Attribute. Enter:
      Surname
    4. On Demand Provisioning Roles. (Optional) Specify the Sumo RBAC roles you want to assign when user accounts are provisioned. (The roles must already exist.)
  12. Configure logout page. (Optional) Configure a logout page if you would like to point all Sumo users to a particular URL after logging out of Sumo Logic or after their session has timed out. You could choose your company's intranet, for example, or any other site that you'd prefer users in your organization access.
    1. Click the Logout Page checkbox.
    2. Enter the URL of the page to which you want to direct users after logging of Sumo.
  13. Click Add to save the configuration
  14. Select the new configuration from the Configuration List.
  15. Click Copy to copy the Assertion Consumer URL, and save it in a text file.

Step 3: Complete Azure configuration

  1. In the Azure Management Console, select your application from the applications list. 
  2. From the left Menu select  Single sign-on for your application
  3. In Section 1, Basic SAML Configuration, edit the configuration.
    1. Identifier (Entity ID). Enter https://service.us2.sumologic.com. The easiest way  to see which pod your account uses is to look at the Sumo Logic URL. If you see "us2" that means you're running on the US2 pod and service endpoint would be https://service.us2.sumologic.com. If you see "eu" or "au" you're on one of those pods , it would be https://service.eu.sumologic.com  or https://service.au.sumologic.com respectively. If none is seen, then it would be https://service.sumologic.com for the US1 deployment.
    2. Reply URL (Assertion Consumer URL). Paste in the URL you noted in substep 15 of Step 2.
    3. Click Save.
  4. In the left navigation pane, click  Properties in the Manage section.
    1. Enabled for users to sign in? Enter Yes. 
    2. User assignment required? Enter Yes. (This option controls whether a user must be assigned to this group or whether any user in the Azure AD tenant can use Sumo Logic. We recommend setting this to Yes as the Sumo environment has a finite number of users.
    3. Click Save.
  5. On the appname blade (the blade with the name of the selected app in the title), select Users and Groups.
  6. On the appname - User and Group Assignment blade, select the Add command
  7. On the Add Assignment blade, select Users and groups.
  8. On the Users and groups blade, select one or more users or groups from the list and then select the Select button at the bottom of the blade.
  9. On the Add Assignment blade, select Role. Then, on the Select Role blade, select a role to apply to the selected users or groups, and then select the OK button at the bottom of the blade.
  10. On the Add Assignment blade, select the Assign button at the bottom of the blade. The assigned users or groups have the permissions defined by the selected role.

Test SAML Authentication

  • Test IdP-initiated authentication. Login to https://myapps.microsoft.com/ with your Microsoft credentials and click the tile for the Sumo Logic application that you created above.
    azure-ad.png
  • Test SP-initiated authentication. Point your browser to the URL for the HTTP redirect binding you obtained in the Login Path step (substep 9b) of Step 2, which looks like: 

    https://service.deployment.sumologic.com/sumo/saml/redirect/OrganizationName

    where 

    deployment is your Sumo deployment, and

    OrganizationName is the Login Path you entered.

    welcome-to-sumo.png