|
| 1 | +--- |
| 2 | +title: 'Tutorial: Azure Active Directory single sign-on (SSO) integration with Trend Micro Web Security(TMWS) | Microsoft Docs' |
| 3 | +description: Learn how to configure single sign-on between Azure Active Directory and Trend Micro Web Security(TMWS). |
| 4 | +services: active-directory |
| 5 | +documentationCenter: na |
| 6 | +author: jeevansd |
| 7 | +manager: mtillman |
| 8 | +ms.reviewer: barbkess |
| 9 | + |
| 10 | +ms.assetid: 827285d3-8e65-43cd-8453-baeda32ef174 |
| 11 | +ms.service: active-directory |
| 12 | +ms.subservice: saas-app-tutorial |
| 13 | +ms.workload: identity |
| 14 | +ms.tgt_pltfrm: na |
| 15 | +ms.topic: tutorial |
| 16 | +ms.date: 04/03/2020 |
| 17 | +ms.author: jeedes |
| 18 | + |
| 19 | +ms.collection: M365-identity-device-management |
| 20 | +--- |
| 21 | + |
| 22 | +# Tutorial: Azure Active Directory single sign-on (SSO) integration with Trend Micro Web Security(TMWS) |
| 23 | + |
| 24 | +In this tutorial, you'll learn how to integrate Trend Micro Web Security(TMWS) with Azure Active Directory (Azure AD). When you integrate Trend Micro Web Security(TMWS) with Azure AD, you can: |
| 25 | + |
| 26 | +* Control in Azure AD who has access to Trend Micro Web Security(TMWS). |
| 27 | +* Enable your users to be automatically signed-in to Trend Micro Web Security(TMWS) with their Azure AD accounts. |
| 28 | +* Manage your accounts in one central location - the Azure portal. |
| 29 | + |
| 30 | +To learn more about SaaS app integration with Azure AD, see [What is application access and single sign-on with Azure Active Directory](https://docs.microsoft.com/azure/active-directory/manage-apps/what-is-single-sign-on). |
| 31 | + |
| 32 | +## Prerequisites |
| 33 | + |
| 34 | +To get started, you need the following items: |
| 35 | + |
| 36 | +* An Azure AD subscription. If you don't have a subscription, you can get a [free account](https://azure.microsoft.com/free/). |
| 37 | +* Trend Micro Web Security(TMWS) single sign-on (SSO) enabled subscription. |
| 38 | + |
| 39 | +## Scenario description |
| 40 | + |
| 41 | +In this tutorial, you configure and test Azure AD SSO in a test environment. |
| 42 | + |
| 43 | +* Trend Micro Web Security(TMWS) supports **SP** initiated SSO |
| 44 | +* Once you configure Trend Micro Web Security(TMWS) you can enforce session control, which protect exfiltration and infiltration of your organization’s sensitive data in real-time. Session control extend from Conditional Access. [Learn how to enforce session control with Microsoft Cloud App Security](https://docs.microsoft.com/cloud-app-security/proxy-deployment-any-app). |
| 45 | + |
| 46 | +## Adding Trend Micro Web Security(TMWS) from the gallery |
| 47 | + |
| 48 | +To configure the integration of Trend Micro Web Security(TMWS) into Azure AD, you need to add Trend Micro Web Security(TMWS) from the gallery to your list of managed SaaS apps. |
| 49 | + |
| 50 | +1. Sign in to the [Azure portal](https://portal.azure.com) using either a work or school account, or a personal Microsoft account. |
| 51 | +1. On the left navigation pane, select the **Azure Active Directory** service. |
| 52 | +1. Navigate to **Enterprise Applications** and then select **All Applications**. |
| 53 | +1. To add new application, select **New application**. |
| 54 | +1. In the **Add from the gallery** section, type **Trend Micro Web Security(TMWS)** in the search box. |
| 55 | +1. Select **Trend Micro Web Security(TMWS)** from results panel and then add the app. Wait a few seconds while the app is added to your tenant. |
| 56 | + |
| 57 | +## Configure and test Azure AD single sign-on for Trend Micro Web Security(TMWS) |
| 58 | + |
| 59 | +Configure and test Azure AD SSO with Trend Micro Web Security(TMWS) 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 Trend Micro Web Security(TMWS). |
| 60 | + |
| 61 | +To configure and test Azure AD SSO with Trend Micro Web Security(TMWS), complete the following building blocks: |
| 62 | + |
| 63 | +1. **[Configure Azure AD SSO](#configure-azure-ad-sso)** - to enable your users to use this feature. |
| 64 | + 1. **[Create an Azure AD test user](#create-an-azure-ad-test-user)** - to test Azure AD single sign-on with B.Simon. |
| 65 | + 1. **[Assign the Azure AD test user](#assign-the-azure-ad-test-user)** - to enable B.Simon to use Azure AD single sign-on. |
| 66 | + 1. **[Configure user and group synchronization settings in Azure AD](#configure-user-and-group-synchronization-settings-in-azure-ad)** - Configure user and group synchronization settings in Azure AD |
| 67 | +1. **[Configure Trend Micro Web Security(TMWS) SSO](#configure-trend-micro-web-security-sso)** - to configure the single sign-on settings on application side. |
| 68 | +1. **[Test SSO](#test-sso)** - to verify whether the configuration works. |
| 69 | + |
| 70 | +## Configure Azure AD SSO |
| 71 | + |
| 72 | +Follow these steps to enable Azure AD SSO in the Azure portal. |
| 73 | + |
| 74 | +1. In the [Azure portal](https://portal.azure.com/), on the **Trend Micro Web Security(TMWS)** application integration page, find the **Manage** section and select **single sign-on**. |
| 75 | +1. On the **Select a single sign-on method** page, select **SAML**. |
| 76 | +1. On the **Set up single sign-on with SAML** page, click the edit/pen icon for **Basic SAML Configuration** to edit the settings. |
| 77 | + |
| 78 | +  |
| 79 | + |
| 80 | +1. On the **Basic SAML Configuration** section, enter the values for the following fields: |
| 81 | + |
| 82 | + a. In the **Identifier (Entity ID)** text box, type a URL using the following pattern: |
| 83 | + `https://auth.iws-hybrid.trendmicro.com/([0-9a-f]{16})` |
| 84 | + |
| 85 | + b. In the **Reply URL** text box, type a URL: |
| 86 | + `https://auth.iws-hybrid.trendmicro.com/simplesaml/module.php/saml/sp/saml2-acs.php/ics-sp` |
| 87 | + |
| 88 | + > [!NOTE] |
| 89 | + > The Identifier value is not real. Update this value with the actual Identifier. Contact [Trend Micro Web Security(TMWS) Client support team](https://success.trendmicro.com/contact-support-north-america) to get Identifier value. You can also refer to the patterns shown in the **Basic SAML Configuration** section in the Azure portal. |
| 90 | + |
| 91 | +1. Trend Micro Web Security(TMWS) 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. |
| 92 | + |
| 93 | +  |
| 94 | + |
| 95 | +1. In addition to above, Trend Micro Web Security(TMWS) 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. |
| 96 | + |
| 97 | + | Name | Source Attribute| |
| 98 | + | --------------- | --------- | |
| 99 | + | sAMAccountName | user.onpremisessamaccountname | |
| 100 | + | uPN | user.userprincipalname | |
| 101 | + |
| 102 | +1. On the **Set up single sign-on with SAML** page, in the **SAML Signing Certificate** section, find **Certificate (Base64)** and select **Download** to download the certificate and save it on your computer. |
| 103 | + |
| 104 | +  |
| 105 | + |
| 106 | +1. On the **Set up Trend Micro Web Security(TMWS)** section, copy the appropriate URL(s) based on your requirement. |
| 107 | + |
| 108 | +  |
| 109 | + |
| 110 | +### Create an Azure AD test user |
| 111 | + |
| 112 | +In this section, you'll create a test user in the Azure portal called B.Simon. |
| 113 | + |
| 114 | +1. From the left pane in the Azure portal, select **Azure Active Directory**, select **Users**, and then select **All users**. |
| 115 | +1. Select **New user** at the top of the screen. |
| 116 | +1. In the **User** properties, follow these steps: |
| 117 | + 1. In the **Name** field, enter `B.Simon`. |
| 118 | + 1. In the **User name ** field, enter the [email protected]. For example, `[email protected]`. |
| 119 | + 1. Select the **Show password** check box, and then write down the value that's displayed in the **Password** box. |
| 120 | + 1. Click **Create**. |
| 121 | + |
| 122 | +### Assign the Azure AD test user |
| 123 | + |
| 124 | +In this section, you'll enable B.Simon to use Azure single sign-on by granting access to Trend Micro Web Security(TMWS). |
| 125 | + |
| 126 | +1. In the Azure portal, select **Enterprise Applications**, and then select **All applications**. |
| 127 | +1. In the applications list, select **Trend Micro Web Security(TMWS)**. |
| 128 | +1. In the app's overview page, find the **Manage** section and select **Users and groups**. |
| 129 | + |
| 130 | +  |
| 131 | + |
| 132 | +1. Select **Add user**, then select **Users and groups** in the **Add Assignment** dialog. |
| 133 | + |
| 134 | +  |
| 135 | + |
| 136 | +1. In the **Users and groups** dialog, select **B.Simon** from the Users list, then click the **Select** button at the bottom of the screen. |
| 137 | +1. If you're expecting any role value in the SAML assertion, in the **Select Role** dialog, select the appropriate role for the user from the list and then click the **Select** button at the bottom of the screen. |
| 138 | +1. In the **Add Assignment** dialog, click the **Assign** button. |
| 139 | + |
| 140 | +### Configure user and group synchronization settings in Azure AD |
| 141 | + |
| 142 | +1. From the left navigation, click **Azure Active Directory**. |
| 143 | + |
| 144 | +1. Under **Manage**, click **App registrations** and then click your new enterprise application under the **All applications** area. |
| 145 | + |
| 146 | +1. Under **Manage**, click **Certificates & secrets**. |
| 147 | + |
| 148 | +1. Under the Client secrets area that appears, click **New client secret**. |
| 149 | + |
| 150 | +1. On the Add a client secret screen that appears, optionally add a description and select an expiration period for this client secret, and then click **Add**. The newly added client secret appears under the Client secrets area. |
| 151 | + |
| 152 | +1. Record the value. Later, you will type the information into TMWS. |
| 153 | + |
| 154 | +1. Under **Manage**, click **API permissions**. |
| 155 | + |
| 156 | +1. On the API permissions screen that appears, click **Add a permission**. |
| 157 | + |
| 158 | +1. On the Microsoft APIs tab of the Request API permissions screen that appears, click **Microsoft Graph** and then **Application permissions**. |
| 159 | + |
| 160 | +1. Locate and add the following permissions: |
| 161 | + |
| 162 | + * Group.Read.All |
| 163 | + * User.Read.All |
| 164 | + |
| 165 | +1. Click **Add permissions**. A message appears to confirm that your settings were saved successfully. The newly added permissions appear on the API permissions screen. |
| 166 | + |
| 167 | +1. Under the Grant consent area, click **Grant admin consent for < your administrator account > (Default Directory)** and then **Yes**. A message appears to confirm that the admin consent for the requested permissions was successfully granted. |
| 168 | + |
| 169 | +1. Click **Overview**. |
| 170 | + |
| 171 | +1. In the right pane that appears, record the Application (client) ID and Directory (tenant) ID. Later, you will type the information into TMWS. You can also click **Custom domain names** under Azure **Active Directory > Manage** and record the domain name in the right pane. |
| 172 | + |
| 173 | +## Configure Trend Micro Web Security SSO |
| 174 | + |
| 175 | +To configure single sign-on on **Trend Micro Web Security(TMWS)** side, you need to send the downloaded **Certificate (Base64)** and appropriate copied URLs from Azure portal to [Trend Micro Web Security(TMWS) support team](https://success.trendmicro.com/contact-support-north-america). They set this setting to have the SAML SSO connection set properly on both sides. |
| 176 | + |
| 177 | +## Test SSO |
| 178 | + |
| 179 | +Once you successfully configured the Azure AD service and specified Azure AD as the user authentication method, you can log on to the TMWS proxy server to verify your setup. After the Azure AD logon verifies your account, you can visit the Internet. |
| 180 | + |
| 181 | +> [!NOTE] |
| 182 | +> TMWS does not support testing single sign-on from the Azure AD portal, under Overview > Single sign-on > Set up Single Sign-on with SAML > Test of your new enterprise application. |
| 183 | +
|
| 184 | +1. Clear the browser of all cookies and then restart the browser. |
| 185 | + |
| 186 | +1. Point your browser to the TMWS proxy server. |
| 187 | +For details, see [Traffic Forwarding Using PAC Files](https://docs.trendmicro.com/en-us/enterprise/trend-micro-web-security-online-help/administration_001/pac-files/traffic-forwarding-u.aspx#GUID-A4A83827-7A29-4596-B866-01ACCEDCC36B). |
| 188 | + |
| 189 | +1. Visit any Internet website. TMWS will direct you to the TMWS captive portal. |
| 190 | + |
| 191 | +1. Specify an Active Directory account (format: domain\sAMAccountName or sAMAccountName@domain), or email address, or UPN, and then click **Log On**. TMWS sends you to the Azure AD logon. |
| 192 | + |
| 193 | +1. On the Azure AD logon, type your AD account credentials. You should successfully log on to TMWS. |
| 194 | + |
| 195 | +## Additional resources |
| 196 | + |
| 197 | +- [ List of Tutorials on How to Integrate SaaS Apps with Azure Active Directory ](https://docs.microsoft.com/azure/active-directory/active-directory-saas-tutorial-list) |
| 198 | + |
| 199 | +- [What is application access and single sign-on with Azure Active Directory? ](https://docs.microsoft.com/azure/active-directory/active-directory-appssoaccess-whatis) |
| 200 | + |
| 201 | +- [What is conditional access in Azure Active Directory?](https://docs.microsoft.com/azure/active-directory/conditional-access/overview) |
| 202 | + |
| 203 | +- [Try Trend Micro Web Security(TMWS) with Azure AD](https://aad.portal.azure.com/) |
| 204 | + |
| 205 | +- [What is session control in Microsoft Cloud App Security?](https://docs.microsoft.com/cloud-app-security/proxy-intro-aad) |
| 206 | + |
| 207 | +- [How to protect Trend Micro Web Security(TMWS) with advanced visibility and controls](https://docs.microsoft.com/cloud-app-security/proxy-intro-aad) |
| 208 | + |
0 commit comments