Tutorial: Azure Active Directory integration with Zscaler Beta

In this tutorial, you learn how to integrate Zscaler Beta with Azure Active Directory (Azure AD). When you integrate Zscaler Beta with Azure AD, you can:

  • Control in Azure AD who has access to Zscaler Beta.
  • Allow your users to be automatically signed in to Zscaler Beta with their Azure AD accounts. This access control is called single sign-on (SSO).
  • Manage your accounts in one central location by using the Azure portal.


To configure Azure AD integration with Zscaler Beta, you need the following items:

  • An Azure AD subscription. If you don't have an Azure AD environment, you can get a free account.
  • A Zscaler Beta subscription that uses single sign-on.

Scenario description

In this tutorial, you configure and test Azure AD single sign-on in a test environment.

  • Zscaler Beta supports SP initiated SSO.
  • Zscaler Beta supports Just In Time user provisioning.
  • Zscaler Beta supports Automated user provisioning.

To configure the integration of Zscaler Beta into Azure AD, you need to add Zscaler Beta from the gallery to your list of managed SaaS apps.

  1. Sign in to the Azure portal using either a work or school account, or a personal Microsoft account.
  2. On the left navigation pane, select the Azure Active Directory service.
  3. Navigate to Enterprise Applications and then select All Applications.
  4. To add new application, select New application.
  5. In the Add from the gallery section, type Zscaler Beta in the search box.
  6. Select Zscaler Beta from results panel and then add the app. Wait a few seconds while the app is added to your tenant.

Configure and test Azure AD SSO for Zscaler Beta

Configure and test Azure AD SSO with Zscaler Beta using a test user called B.Simon. For SSO to work, you need to establish a link relationship between an Azure AD user and the related user in Zscaler Beta.

To configure and test Azure AD SSO with Zscaler Beta, perform the following steps:

  1. Configure Azure AD SSO - to enable your users to use this feature.
    1. Create an Azure AD test user - to test Azure AD single sign-on with B.Simon.
    2. Assign the Azure AD test user - to enable B.Simon to use Azure AD single sign-on.
  2. Configure Zscaler Beta SSO - to configure the Single Sign-On settings on application side.
    1. Create Zscaler Beta test user - to have a counterpart of B.Simon in Zscaler Beta that is linked to the Azure AD representation of user.
  3. Test SSO - to verify whether the configuration works.

Configure Azure AD SSO

Follow these steps to enable Azure AD SSO in the Azure portal.

  1. In the Azure portal, on the Zscaler Beta application integration page, find the Manage section and select Single sign-on.

  2. On the Select a Single sign-on method page, select SAML.

  3. On the Set up Single Sign-On with SAML page, click the pencil icon for Basic SAML Configuration to edit the settings.

    Edit Basic SAML Configuration

  4. On the Basic SAML Configuration section, enter the values for the following fields:

    In the Sign on URL box, enter the URL used by your users to sign in to your Zscaler Beta Beta application.


    The value isn't real. Update the value with the actual Sign on URL value. To get the value, contact the Zscaler Beta client support team.

  5. The Zscaler Beta application expects the SAML assertions in a specific format. You must add custom attribute mappings to your SAML token attributes configuration. The following screenshot shows the list of default attributes. Select Edit to open the User Attributes dialog box.

    User Attributes dialog box

  6. The Zscaler Beta application expects a few more attributes to be passed back in SAML response. In the User claims section in the User Attributes dialog box, follow these steps to add the SAML token attribute, as shown in the following table.

    Name Source attribute
    memberOf user.assignedroles

    a. Select Add new claim to open the Manage user claims dialog box.

    b. In the Name box, enter the attribute name shown for that row.

    c. Leave the Namespace box blank.

    d. For Source, select Attribute.

    e. From the Source attribute list, enter the attribute value shown for that row.

    f. Select OK.

    g. Select Save.


    Please click here to know how to configure Role in Azure AD.

  7. On the Set up Single Sign-On with SAML page, in the SAML Signing Certificate section, select Download to download the Certificate (Base64). Save it on your computer.

    Certificate download link

  8. In the Set up Zscaler Beta section, copy the URLs you need for your requirements:

    Copy configuration URLs

Create an Azure AD test user

In this section, you'll create a test user in the Azure portal called B.Simon.

  1. From the left pane in the Azure portal, select Azure Active Directory, select Users, and then select All users.
  2. Select New user at the top of the screen.
  3. In the User properties, follow these steps:
    1. In the Name field, enter B.Simon.
    2. In the User name field, enter the username@companydomain.extension. For example, B.Simon@contoso.com.
    3. Select the Show password check box, and then write down the value that's displayed in the Password box.
    4. Click Create.

Assign the Azure AD test user

In this section, you'll enable B.Simon to use Azure single sign-on by granting access to Zscaler Beta.

  1. In the Azure portal, select Enterprise Applications, and then select All applications.
  2. In the applications list, select Zscaler Beta.
  3. In the app's overview page, find the Manage section and select Users and groups.
  4. Select Add user, then select Users and groups in the Add Assignment dialog.
  5. In the Users and groups dialog, select B.Simon from the Users list, then click the Select button at the bottom of the screen.
  6. If you have setup the roles as explained in the above, you can select it from the Select a role dropdown.
  7. In the Add Assignment dialog, click the Assign button.

Configure Zscaler Beta SSO

  1. To automate the configuration within Zscaler Beta, install My Apps Secure Sign-in browser extension by selecting Install the extension.

    My Apps extension

  2. After you add the extension to the browser, selecting Set up Zscaler Beta directs you to the Zscaler Beta application. From there, provide the admin credentials to sign in to Zscaler Beta. The browser extension automatically configures the application for you and automates steps 3 through 6.

    Setup configuration

  3. To set up Zscaler Beta manually, open a new web browser window. Sign in to your Zscaler Beta company site as an administrator, and follow these steps.

  4. Go to Administration > Authentication > Authentication Settings, and follow these steps.


    a. Under Authentication Type, select SAML.

    b. Select Configure SAML.

  5. In the Edit SAML window, follow these steps: Manage Users & Authentication

    a. In the SAML Portal URL box, paste in the Login URL that you copied from the Azure portal.

    b. In the Login Name Attribute box, enter NameID.

    c. In the Public SSL Certificate box, select Upload to upload the Azure SAML signing certificate that you downloaded from the Azure portal.

    d. Toggle Enable SAML Auto-Provisioning.

    e. In the User Display Name Attribute box, enter displayName if you want to enable SAML autoprovisioning for displayName attributes.

    f. In the Group Name Attribute box, enter memberOf if you want to enable SAML autoprovisioning for memberOf attributes.

    g. In the Department Name Attribute box, enter department if you want to enable SAML autoprovisioning for department attributes.

    h. Select Save.

  6. On the Configure User Authentication dialog page, follow these steps:

    Activation menu and Activate button

    a. Hover over the Activation menu at the bottom left.

    b. Select Activate.

Configure proxy settings

To configure the proxy settings in Internet Explorer, follow these steps.

  1. Start Internet Explorer.

  2. Select Internet options from the Tools menu to open the Internet Options dialog box.

    Internet Options dialog box

  3. Select the Connections tab.

    Connections tab

  4. Select LAN settings to open the Local Area Network (LAN) Settings dialog box.

  5. In the Proxy server section, follow these steps:

    Proxy server section

    a. Select the Use a proxy server for your LAN check box.

    b. In the Address box, enter gateway.Zscaler Beta.net.

    c. In the Port box, enter 80.

    d. Select the Bypass proxy server for local addresses check box.

    e. Select OK to close the Local Area Network (LAN) Settings dialog box.

  6. Select OK to close the Internet Options dialog box.

Create Zscaler Beta test user

In this section, the user Britta Simon is created in Zscaler Beta. Zscaler Beta supports just-in-time user provisioning, which is enabled by default. There's nothing for you to do in this section. If a user doesn't already exist in Zscaler Beta, a new one is created after authentication.


To create a user manually, contact the Zscaler Beta support team.


Zscaler Beta also supports automatic user provisioning, you can find more details here on how to configure automatic user provisioning.

Test SSO

In this section, you test your Azure AD single sign-on configuration with following options.

  • Click on Test this application in Azure portal. This will redirect to Zscaler Beta Sign-on URL where you can initiate the login flow.

  • Go to Zscaler Beta Sign-on URL directly and initiate the login flow from there.

  • You can use Microsoft My Apps. When you click the Zscaler Beta tile in the My Apps, this will redirect to Zscaler Beta Sign-on URL. For more information about the My Apps, see Introduction to the My Apps.

Next steps

Once you configure Zscaler Beta you can enforce session control, which protects exfiltration and infiltration of your organization’s sensitive data in real time. Session control extends from Conditional Access. Learn how to enforce session control with Microsoft Cloud App Security.