Azure Active Directory SSO


  1. Log in to the Azure portal.

  2. (If you don't require a permission group for Sentry, skip to Step 4.) Under Manage Azure Active Directory (the shield picture), click "View", which takes you to the Organization Overview page. Now, proceed to Step 3.

  3. In the search bar, search for "Groups" and navigate to "Groups." From there, create a new group, add an owner, and members to the group. Set "Group type" to Office 365. For more details about group creation, see the Azure docs.

  4. Return to the Overview page. In the search bar, search for "Enterprise Applications" and navigate to "Enterprise Applications." Click "+ New application". Then, select "Non-gallery application" and create a non-gallery application for Sentry. Once created, you'll be directed to "Sentry - Overview.

    Sentry Overview

  5. Click on 1. Assign users and groups, with "+ Add user" add yourself and the group you've created to the Sentry app. Click "Assign".

  6. Navigate back to "Overview," click on 2. Set up single sign-on and then select SAML as your single sign-on method.

  7. For Section (1) labeled as Basic SAML Configuration, enter the following data in each line and save your changes.

    • Identifier (entity ID):

    • Reply URL (Assertion Consumer Service URL):

    • Sign on URL:

    • Relay State:

    • Logout URL:

    SAML Configuration

  8. In Section (3) labeled as SAML Signing Certificate, copy the App Federation Metadata URL.

    SAML Signing Certificate

  9. Navigate to your Org Settings > Auth > Azure (or go to<YOUR-ORGANIZATION-SLUG>/auth/) and click on "Configure" for Active Directory.

  10. Paste the App Federation Metadata URL and click "Get metadata".

  11. In the following page, enter these to map the values from AzureAD to Sentry.

    • IdP User ID:

    • User Email:

    • First Name:

    • Last Name:

For more details about mappings for custom configs, see The Role of Claims.

Map Identity with provider attributes

You can edit this page on GitHub.