Configure Single Sign-On (SSO) with Microsoft Azure

You can set up Microsoft Azure Single Sign-On to use with your Mixpanel account. Before using this document, read the general Mixpanel SSO set-up instructions as well as Azure’s documentation on setting up a new application. 

Add Mixpanel as a New Application

For more information, read this Microsoft Azure article about configuring Mixpanel for automatic user provisioning. 

  1. Navigate to Enterprise Applications on the Microsoft Azure home page under Default Directory.
  2. Click New Application.
  3. Search and select Mixpanel to add as an application.

Edit SAML Config in Microsoft Azure

  1. Click Single sign-on under Manage.
  2. Enter the following information in the SAML Configuration:
    1. Entity ID:
    2. Reply URL:
    3. Sign on URL: Postback URL from Mixpanel (should look like<your org id>)
  3. Click Edit under User Attributes & Claims to add the required email claim (firstName and lastName are used for provisioning and optional).
    Make sure the "Namespace" field is blank or it will cause issues.mceclip1.png
  4. Download the SAML certificate under SAML Signing Certificate by clicking Download next to the Certificate (Base64) field. If you downloaded an .xml file then you have clicked the wrong button, make sure it is a .cer or .pem file. This will be uploaded to Mixpanel in the next step.

Copy Certificate into Mixpanel 

  1. Navigate to the OVERVIEW tab in Access Security section in your Mixpanel ORGANIZATION SETTINGS.Screen_Shot_2020-03-10_at_1.57.42_PM.png
  2. Upload the certificate in the SAML Certificate field. 
  3. Input the Azure AD Identifier into the Issuer URL field.
  4. Input the Azure Login URL in the Identity Provider Sign-in URL field. 
  5. Assign your team members this new application.Screen_Shot_2020-03-10_at_1.54.58_PM.png

SCIM Provisioning 

Azure has an autoprovisioning integration with Mixpanel that lets you automatically add users to Mixpanel upon giving them access in Azure, and likewise removing access within Mixpanel when you remove access in Azure. You can find more information here. Note that it is advised you turn on IDP Managed Access if you are using SCIM Provisioning.

Did this answer your question?



Please sign in to leave a comment.