PageRenderTime 37ms CodeModel.GetById 11ms RepoModel.GetById 0ms app.codeStats 0ms

/articles/active-directory/active-directory-saas-tableauserver-tutorial.md

https://gitlab.com/yeah568/azure-content
Markdown | 342 lines | 170 code | 172 blank | 0 comment | 0 complexity | 5766ddef32c26ba3faa828a7cad0bc33 MD5 | raw file
  1. <properties
  2. pageTitle="Tutorial: Azure Active Directory integration with Tableau Server | Microsoft Azure"
  3. description="Learn how to configure single sign-on between Azure Active Directory and Tableau Server."
  4. services="active-directory"
  5. documentationCenter=""
  6. authors="jeevansd"
  7. manager="femila"
  8. editor=""/>
  9. <tags
  10. ms.service="active-directory"
  11. ms.workload="identity"
  12. ms.tgt_pltfrm="na"
  13. ms.devlang="na"
  14. ms.topic="article"
  15. ms.date="07/11/2016"
  16. ms.author="jeedes"/>
  17. # Tutorial: Azure Active Directory integration with Tableau Server
  18. The objective of this tutorial is to show you how to integrate Tableau Server with Azure Active Directory (Azure AD).
  19. Integrating Tableau Server with Azure AD provides you with the following benefits:
  20. - You can control in Azure AD who has access to Tableau Server
  21. - You can enable your users to automatically get signed-on to Tableau Server (Single Sign-On) with their Azure AD accounts
  22. - You can manage your accounts in one central location - the Azure classic portal
  23. If you want to know more details about SaaS app integration with Azure AD, see [What is application access and single sign-on with Azure Active Directory](active-directory-appssoaccess-whatis.md).
  24. ## Prerequisites
  25. To configure Azure AD integration with Tableau Server, you need the following items:
  26. - An Azure AD subscription
  27. - A Tableau Server single-sign on enabled subscription
  28. > [AZURE.NOTE] To test the steps in this tutorial, we do not recommend using a production environment.
  29. To test the steps in this tutorial, you should follow these recommendations:
  30. - You should not use your production environment, unless this is necessary.
  31. - If you don't have an Azure AD trial environment, you can get a one-month trial [here](https://azure.microsoft.com/pricing/free-trial/).
  32. ## Scenario Description
  33. The objective of this tutorial is to enable you to test Azure AD single sign-on in a test environment.
  34. The scenario outlined in this tutorial consists of two main building blocks:
  35. 1. Adding Tableau Server from the gallery
  36. 2. Configuring and testing Azure AD single sign-on
  37. ## Adding Tableau Server from the gallery
  38. To configure the integration of Tableau Server into Azure AD, you need to add Tableau Server from the gallery to your list of managed SaaS apps.
  39. **To add Tableau Server from the gallery, perform the following steps:**
  40. 1. In the **Azure classic portal**, on the left navigation pane, click **Active Directory**.
  41. ![Active Directory][1]
  42. 2. From the **Directory** list, select the directory for which you want to enable directory integration.
  43. 3. To open the applications view, in the directory view, click **Applications** in the top menu.
  44. ![Applications][2]
  45. 4. Click **Add** at the bottom of the page.
  46. ![Applications][3]
  47. 5. On the **What do you want to do** dialog, click **Add an application from the gallery**.
  48. ![Applications][4]
  49. 6. In the search box, type **Tableau Server**.
  50. ![Creating an Azure AD test user](./media/active-directory-saas-tableauserver-tutorial/tutorial_tableauserver_01.png)
  51. 7. In the results pane, select **Tableau Server**, and then click **Complete** to add the application.
  52. ![Selecting the app in the gallery](./media/active-directory-saas-tableauserver-tutorial/tutorial_tableauserver_02.png)
  53. ## Configuring and testing Azure AD single sign-on
  54. The objective of this section is to show you how to configure and test Azure AD single sign-on with Tableau Server based on a test user called "Britta Simon".
  55. For single sign-on to work, Azure AD needs to know what the counterpart user in Tableau Server to an user in Azure AD is. In other words, a link relationship between an Azure AD user and the related user in Tableau Server needs to be established.
  56. This link relationship is established by assigning the value of the **user name** in Azure AD as the value of the **Username** in Tableau Server.
  57. To configure and test Azure AD single sign-on with Tableau Server, you need to complete the following building blocks:
  58. 1. **[Configuring Azure AD Single Sign-On](#configuring-azure-ad-single-single-sign-on)** - to enable your users to use this feature.
  59. 2. **[Creating an Azure AD test user](#creating-an-azure-ad-test-user)** - to test Azure AD single sign-on with Britta Simon.
  60. 4. **[Creating a Tableau Server test user](#creating-a-tableauserver-test-user)** - to have a counterpart of Britta Simon in Tableau Server that is linked to the Azure AD representation of her.
  61. 5. **[Assigning the Azure AD test user](#assigning-the-azure-ad-test-user)** - to enable Britta Simon to use Azure AD single sign-on.
  62. 5. **[Testing Single Sign-On](#testing-single-sign-on)** - to verify whether the configuration works.
  63. ### Configuring Azure AD Single Sign-On
  64. The objective of this section is to enable Azure AD single sign-on in the Azure classic portal and to configure single sign-on in your Tableau Server application.
  65. Tableau Server application expects the SAML assertions in a specific format. The following screenshot shows an example for this.
  66. ![Configure Single Sign-On](./media/active-directory-saas-tableauserver-tutorial/tutorial_tableauserver_51.png)
  67. **To configure Azure AD single sign-on with Tableau Server, perform the following steps:**
  68. 1. In the Azure classic portal, on the **Tableau Server** application integration page, in the menu on the top, click **Attributes**.
  69. ![Configure Single Sign-On](./media/active-directory-saas-tableauserver-tutorial/tutorial_general_81.png)
  70. 1. On the **SAML token attributes** dialog, perform the following steps:
  71. a. Click **add user attribute** to open the **Add User Attribure** dialog.
  72. ![Configure Single Sign-On](./media/active-directory-saas-tableauserver-tutorial/tutorial_general_82.png)
  73. b. In the **Attrubute Name** textbox, type **username**.
  74. c. From the **Attribute Value** list, selsect **user.displayname**.
  75. d. Click **Complete**.
  76. 1. In the menu on the top, click **Quick Start**.
  77. ![Configure Single Sign-On](./media/active-directory-saas-tableauserver-tutorial/tutorial_general_83.png)
  78. 1. Click **Configure single sign-on** to open the **Configure Single Sign-On** dialog.
  79. ![Configure Single Sign-On][6]
  80. 2. On the **How would you like users to sign on to Tableau Server** page, select **Azure AD Single Sign-On**, and then click **Next**.
  81. ![Configure Single Sign-On](./media/active-directory-saas-tableauserver-tutorial/tutorial_tableauserver_03.png)
  82. 3. On the **Configure App Settings** dialog page, perform the following steps and click **Next**:
  83. ![Configure Single Sign-On](./media/active-directory-saas-tableauserver-tutorial/tutorial_tableauserver_04.png)
  84. a. In the **Sign In URL** textbox, type the URL of your Tableau server.
  85. b. In the Identifier box copy the
  86. c. Click **Next**
  87. 4. On the **Configure single sign-on at Tableau Server** page, perform the following steps and click **Next**:
  88. ![Configure Single Sign-On](./media/active-directory-saas-tableauserver-tutorial/tutorial_tableauserver_05.png)
  89. a. Click **Download metadata**, and then save the file on your computer.
  90. b. Click **Next**.
  91. 6. To get SSO configured for your application, you need to sign-on to your Tableau Server tenant as an administrator.
  92. a. In the Tableau Server configuration, click the **SAML** tab.
  93. ![Configure Single Sign-On](./media/active-directory-saas-tableauserver-tutorial/tutorial_tableauserver_001.png)
  94. b. Select the checkbox of **Use SAML for single sign-on**.
  95. c. Locate your Federation Metadata file downloaded from Azure classic portal, and then upload it in the **SAML Idp metadata file**.
  96. d. Tableau Server return URLThe URL that Tableau Server users will be accessing, such as http://tableau_server. Using http://localhost is not recommended. Using a URL with a trailing slash (for example, http://tableau_server/) is not supported. Copy **Tableau Server return URL** and paste it to Azure AD **Sign On URL** textbox as shown in the step 3
  97. e. SAML entity IDThe entity ID uniquely identifies your Tableau Server installation to the IdP. You can enter your Tableau Server URL again here, if you like, but it does not have to be your Tableau Server URL. Copy **SAML entity ID** and paste it to Azure AD **IDENTIFER** textbox as shown in the step 3.
  98. f. Click on the **Export Metadata File** and open it in the text editor application. Locate Assertion Consumer Service URL with Http Post and Index 0 and copy the URL. Now paste it to Azure AD **Reply URL** textbox as shown in step 3.
  99. g. Click **OK** button in the Tableau Server Configiuration page.
  100. > [AZURE.NOTE] If you need help configuring SAML on Tableau Server then please refer this article [Configure SAML](http://onlinehelp.tableau.com/current/server/en-us/config_saml.htm)
  101. 6. In the Azure classic portal, select the single sign-on configuration confirmation, and then click **Next**.
  102. ![Azure AD Single Sign-On][10]
  103. 7. On the **Single sign-on confirmation** page, click **Complete**.
  104. ![Azure AD Single Sign-On][11]
  105. ### Creating an Azure AD test user
  106. The objective of this section is to create a test user in the Azure classic portal called Britta Simon.
  107. In the Users list, select **Britta Simon**.
  108. ![Create Azure AD User][20]
  109. **To create a test user in Azure AD, perform the following steps:**
  110. 1. In the **Azure classic portal**, on the left navigation pane, click **Active Directory**.
  111. ![Creating an Azure AD test user](./media/active-directory-saas-tableauserver-tutorial/create_aaduser_09.png)
  112. 2. From the **Directory** list, select the directory for which you want to enable directory integration.
  113. 3. To display the list of users, in the menu on the top, click **Users**.
  114. ![Creating an Azure AD test user](./media/active-directory-saas-tableauserver-tutorial/create_aaduser_03.png)
  115. 4. To open the **Add User** dialog, in the toolbar on the bottom, click **Add User**.
  116. ![Creating an Azure AD test user](./media/active-directory-saas-tableauserver-tutorial/create_aaduser_04.png)
  117. 5. On the **Tell us about this user** dialog page, perform the following steps:
  118. ![Creating an Azure AD test user](./media/active-directory-saas-tableauserver-tutorial/create_aaduser_05.png)
  119. a. As **Type Of User**, select **New user in your organization**.
  120. b. In the **User Name** textbox, type **BrittaSimon**.
  121. c. Click **Next**.
  122. 6. On the **User Profile** dialog page, perform the following steps:
  123. ![Creating an Azure AD test user](./media/active-directory-saas-tableauserver-tutorial/create_aaduser_06.png)
  124. a. In the **First Name** textbox, type **Britta**.
  125. b. In the **Last Name** textbox, type, **Simon**.
  126. c. In the **Display Name** textbox, type **Britta Simon**.
  127. d. In the **Role** list, select **User**.
  128. e. Click **Next**.
  129. 7. On the **Get temporary password** dialog page, click **create**.
  130. ![Creating an Azure AD test user](./media/active-directory-saas-tableauserver-tutorial/create_aaduser_07.png)
  131. 8. On the **Get temporary password** dialog page, perform the following steps:
  132. ![Creating an Azure AD test user](./media/active-directory-saas-tableauserver-tutorial/create_aaduser_08.png)
  133. a. Write down the value of the **New Password**.
  134. b. Click **Complete**.
  135. ### Creating a Tableau Server test user
  136. The objective of this section is to create a user called Britta Simon in Tableau Server. You need to provision all the users in the Tableau server. Also note that username of the user should match the value which you have configured in the Azure AD custom attribute of **username**. With the correct mapping the integration should work [Configuring Azure AD Single Sign-On](#configuring-azure-ad-single-single-sign-on).
  137. > [AZURE.NOTE] If you need to create an user manually, you need to contact the Tableau Server administrator in your organization.
  138. ### Assigning the Azure AD test user
  139. The objective of this section is to enabling Britta Simon to use Azure single sign-on by granting her access to Tableau Server.
  140. ![Assign User][200]
  141. **To assign Britta Simon to Tableau Server, perform the following steps:**
  142. 1. On the Azure classic portal, to open the applications view, in the directory view, click **Applications** in the top menu.
  143. ![Assign User][201]
  144. 2. In the applications list, select **Tableau Server**.
  145. ![Configure Single Sign-On](./media/active-directory-saas-tableauserver-tutorial/tutorial_tableauserver_50.png)
  146. 1. In the menu on the top, click **Users**.
  147. ![Assign User][203]
  148. 1. In the Users list, select **Britta Simon**.
  149. 2. In the toolbar on the bottom, click **Assign**.
  150. ![Assign User][205]
  151. ### Testing Single Sign-On
  152. The objective of this section is to test your Azure AD single sign-on configuration using the Access Panel.
  153. When you click the Tableau Server tile in the Access Panel, you should get automatically signed-on to your Tableau Server application.
  154. ## Additional Resources
  155. * [List of Tutorials on How to Integrate SaaS Apps with Azure Active Directory](active-directory-saas-tutorial-list.md)
  156. * [What is application access and single sign-on with Azure Active Directory?](active-directory-appssoaccess-whatis.md)
  157. <!--Image references-->
  158. [1]: ./media/active-directory-saas-tableauserver-tutorial/tutorial_general_01.png
  159. [2]: ./media/active-directory-saas-tableauserver-tutorial/tutorial_general_02.png
  160. [3]: ./media/active-directory-saas-tableauserver-tutorial/tutorial_general_03.png
  161. [4]: ./media/active-directory-saas-tableauserver-tutorial/tutorial_general_04.png
  162. [6]: ./media/active-directory-saas-tableauserver-tutorial/tutorial_general_05.png
  163. [10]: ./media/active-directory-saas-tableauserver-tutorial/tutorial_general_06.png
  164. [11]: ./media/active-directory-saas-tableauserver-tutorial/tutorial_general_07.png
  165. [20]: ./media/active-directory-saas-tableauserver-tutorial/tutorial_general_100.png
  166. [200]: ./media/active-directory-saas-tableauserver-tutorial/tutorial_general_200.png
  167. [201]: ./media/active-directory-saas-tableauserver-tutorial/tutorial_general_201.png
  168. [203]: ./media/active-directory-saas-tableauserver-tutorial/tutorial_general_203.png
  169. [204]: ./media/active-directory-saas-tableauserver-tutorial/tutorial_general_204.png
  170. [205]: ./media/active-directory-saas-tableauserver-tutorial/tutorial_general_205.png