Tutorial: Azure Active Directory single sign-on (SSO) integration with Palo Alto Networks Cloud Identity Engine - Cloud Authentication Service

In this tutorial, you'll learn how to integrate Palo Alto Networks Cloud Identity Engine - Cloud Authentication Service with Azure Active Directory (Azure AD). When you integrate Palo Alto Networks Cloud Identity Engine - Cloud Authentication Service with Azure AD, you can:

  • Control in Azure AD who has access to Palo Alto Networks Cloud Identity Engine - Cloud Authentication Service.
  • Enable your users to be automatically signed-in to Palo Alto Networks Cloud Identity Engine - Cloud Authentication Service with their Azure AD accounts.
  • Manage your accounts in one central location - the Azure portal.

Prerequisites

To get started, you need the following items:

  • An Azure AD subscription. If you don't have a subscription, you can get a free account.
  • Palo Alto Networks Cloud Identity Engine - Cloud Authentication Service single sign-on (SSO) enabled subscription.

Scenario description

In this tutorial, you configure and test Azure AD SSO in a test environment.

  • Palo Alto Networks Cloud Identity Engine - Cloud Authentication Service supports SP initiated SSO.

  • Palo Alto Networks Cloud Identity Engine - Cloud Authentication Service supports Just In Time user provisioning.

To configure the integration of Palo Alto Networks Cloud Identity Engine - Cloud Authentication Service into Azure AD, you need to add Palo Alto Networks Cloud Identity Engine - Cloud Authentication Service 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 Palo Alto Networks Cloud Identity Engine - Cloud Authentication Service in the search box.
  6. Select Palo Alto Networks Cloud Identity Engine - Cloud Authentication Service 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 Palo Alto Networks Cloud Identity Engine - Cloud Authentication Service

Configure and test Azure AD SSO with Palo Alto Networks Cloud Identity Engine - Cloud Authentication Service 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 Palo Alto Networks Cloud Identity Engine - Cloud Authentication Service.

To configure and test Azure AD SSO with Palo Alto Networks Cloud Identity Engine - Cloud Authentication Service, 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 Palo Alto Networks Cloud Identity Engine - Cloud Authentication Service SSO - to configure the single sign-on settings on application side.
    1. Create Palo Alto Networks Cloud Identity Engine - Cloud Authentication Service test user - to have a counterpart of B.Simon in Palo Alto Networks Cloud Identity Engine - Cloud Authentication Service 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 Palo Alto Networks Cloud Identity Engine - Cloud Authentication Service 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, if you have Service Provider metadata file, perform the following steps:

    a. Click Upload metadata file.

    Upload metadata file

    b. Click on folder logo to select the metadata file and click Upload.

    choose metadata file

    c. After the metadata file is successfully uploaded, the Identifier value gets auto populated in Basic SAML Configuration section.

    d. In the Sign-on URL text box, type a URL using the following pattern: https://<RegionUrl>.paloaltonetworks.com/sp/acs

    Note

    If the Identifier value does not get auto populated, then please fill in the value manually according to your requirement. The Sign-on URL value is not real. Update this value with the actual Sign-on URL. Contact Palo Alto Networks Cloud Identity Engine - Cloud Authentication Service Client support team to get this value. You can also refer to the patterns shown in the Basic SAML Configuration section in the Azure portal.

  5. Palo Alto Networks Cloud Identity Engine - Cloud Authentication Service application expects the SAML assertions in a specific format, which requires you to add custom attribute mappings to your SAML token attributes configuration. The following screenshot shows the list of default attributes.

    image

  6. In addition to above, Palo Alto Networks Cloud Identity Engine - Cloud Authentication Service application expects few more attributes to be passed back in SAML response which are shown below. These attributes are also pre populated but you can review them as per your requirements.

    Name Source Attribute
    Group user.groups
    username user.userprincipalname
  7. On the Set up single sign-on with SAML page, In the SAML Signing Certificate section, click copy button to copy App Federation Metadata Url and save it on your computer.

    The Certificate download link

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 Palo Alto Networks Cloud Identity Engine - Cloud Authentication Service.

  1. In the Azure portal, select Enterprise Applications, and then select All applications.
  2. In the applications list, select Palo Alto Networks Cloud Identity Engine - Cloud Authentication Service.
  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 are expecting a role to be assigned to the users, you can select it from the Select a role dropdown. If no role has been set up for this app, you see "Default Access" role selected.
  7. In the Add Assignment dialog, click the Assign button.

Configure Palo Alto Networks Cloud Identity Engine - Cloud Authentication Service SSO

  1. Log in to your Palo Alto Networks Cloud Identity Engine - Cloud Authentication Service company site as an administrator.

  2. Navigate to Authentication > Identity Providers and click Add Identity Provider.

    Account

  3. In the Set Up SAML Authentication page, perform the following steps.

    Authentication

    a. From Step 1, click Download SP Metadata to download the metadata file and save it on your computer.

    b. From Step 2, fill the required fields to Configure your Identity Provider Profile which you have copied from the Azure portal.

    c. From Step 3, click Test SAML Setup to verify the profile configuration and select MFA is enabled on the IDP.

    Test SAML

    Note

    To Test the Palo Alto Networks Cloud Identity Engine - Cloud Authentication Service SSO, open the Palo Alto Networks Cloud Identity Engine - Cloud Authentication Service console and click Test Connection button and authenticate using the test account which you have created in the Create an Azure AD test user section.

    d. From Step 4, enter the USERNAME ATTRIBUTE and click Submit.

    SAML Attributes

Create Palo Alto Networks Cloud Identity Engine - Cloud Authentication Service test user

In this section, a user called Britta Simon is created in Palo Alto Networks Cloud Identity Engine - Cloud Authentication Service. Palo Alto Networks Cloud Identity Engine - Cloud Authentication Service supports just-in-time user provisioning, which is enabled by default. There is no action item for you in this section. If a user doesn't already exist in Palo Alto Networks Cloud Identity Engine - Cloud Authentication Service, a new one is created after authentication.

Test SSO

To Test the Palo Alto Networks Cloud Identity Engine - Cloud Authentication Service SSO, open the Palo Alto Networks Cloud Identity Engine - Cloud Authentication Service console and click Test Connection button and authenticate using the test account which you have created in the Create an Azure AD test user section.

Next Steps

Once you configure Palo Alto Networks Cloud Identity Engine - Cloud Authentication Service 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.