Skip to content

Commit 9133b43

Browse files
authored
Merge pull request #201520 from bhavana-129/preset
Product Backlog Item 1940994: SaaS App Tutorial: Preset
2 parents c48fd64 + 258d953 commit 9133b43

File tree

2 files changed

+162
-0
lines changed

2 files changed

+162
-0
lines changed
Lines changed: 160 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,160 @@
1+
---
2+
title: 'Tutorial: Azure AD SSO integration with Preset'
3+
description: Learn how to configure single sign-on between Azure Active Directory and Preset.
4+
services: active-directory
5+
author: jeevansd
6+
manager: CelesteDG
7+
ms.reviewer: CelesteDG
8+
ms.service: active-directory
9+
ms.subservice: saas-app-tutorial
10+
ms.workload: identity
11+
ms.topic: tutorial
12+
ms.date: 06/14/2022
13+
ms.author: jeedes
14+
15+
---
16+
17+
# Tutorial: Azure AD SSO integration with Preset
18+
19+
In this tutorial, you'll learn how to integrate Preset with Azure Active Directory (Azure AD). When you integrate Preset with Azure AD, you can:
20+
21+
* Control in Azure AD who has access to Preset.
22+
* Enable your users to be automatically signed-in to Preset with their Azure AD accounts.
23+
* Manage your accounts in one central location - the Azure portal.
24+
25+
## Prerequisites
26+
27+
To get started, you need the following items:
28+
29+
* An Azure AD subscription. If you don't have a subscription, you can get a [free account](https://azure.microsoft.com/free/).
30+
* Preset single sign-on (SSO) enabled subscription.
31+
* Along with Cloud Application Administrator, Application Administrator can also add or manage applications in Azure AD.
32+
For more information, see [Azure built-in roles](../roles/permissions-reference.md).
33+
34+
## Scenario description
35+
36+
In this tutorial, you configure and test Azure AD SSO in a test environment.
37+
38+
* Preset supports **SP** and **IDP** initiated SSO.
39+
40+
## Add Preset from the gallery
41+
42+
To configure the integration of Preset into Azure AD, you need to add Preset from the gallery to your list of managed SaaS apps.
43+
44+
1. Sign in to the Azure portal using either a work or school account, or a personal Microsoft account.
45+
1. On the left navigation pane, select the **Azure Active Directory** service.
46+
1. Navigate to **Enterprise Applications** and then select **All Applications**.
47+
1. To add new application, select **New application**.
48+
1. In the **Add from the gallery** section, type **Preset** in the search box.
49+
1. Select **Preset** from results panel and then add the app. Wait a few seconds while the app is added to your tenant.
50+
51+
## Configure and test Azure AD SSO for Preset
52+
53+
Configure and test Azure AD SSO with Preset 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 Preset.
54+
55+
To configure and test Azure AD SSO with Preset, perform the following steps:
56+
57+
1. **[Configure Azure AD SSO](#configure-azure-ad-sso)** - to enable your users to use this feature.
58+
1. **[Create an Azure AD test user](#create-an-azure-ad-test-user)** - to test Azure AD single sign-on with B.Simon.
59+
1. **[Assign the Azure AD test user](#assign-the-azure-ad-test-user)** - to enable B.Simon to use Azure AD single sign-on.
60+
1. **[Configure Preset SSO](#configure-preset-sso)** - to configure the single sign-on settings on application side.
61+
1. **[Create Preset test user](#create-preset-test-user)** - to have a counterpart of B.Simon in Preset that is linked to the Azure AD representation of user.
62+
1. **[Test SSO](#test-sso)** - to verify whether the configuration works.
63+
64+
## Configure Azure AD SSO
65+
66+
Follow these steps to enable Azure AD SSO in the Azure portal.
67+
68+
1. In the Azure portal, on the **Preset** application integration page, find the **Manage** section and select **single sign-on**.
69+
1. On the **Select a single sign-on method** page, select **SAML**.
70+
1. On the **Set up single sign-on with SAML** page, click the pencil icon for **Basic SAML Configuration** to edit the settings.
71+
72+
![Screenshot shows to edit Basic S A M L Configuration.](common/edit-urls.png "Basic Configuration")
73+
74+
1. On the **Basic SAML Configuration** section, perform the following steps:
75+
76+
a. In the **Identifier** textbox, type a value using the following pattern:
77+
`urn:auth0:preset-io-prod:<ConnectionID>`
78+
79+
b. In the **Reply URL** textbox, type a URL using the following pattern:
80+
`https://auth.app.preset.io/login/callback?connection=<ConnectionID>`
81+
82+
1. Click **Set additional URLs** and perform the following step if you wish to configure the application in **SP** initiated mode:
83+
84+
In the **Sign-on URL** text box, type the URL:
85+
`https://manage.app.preset.io/login`
86+
87+
> [!Note]
88+
> These values are not real. Update these values with the actual Identifier and Reply URL. Contact [Preset support team](mailto:[email protected]) to get these values. You can also refer to the patterns shown in the **Basic SAML Configuration** section in the Azure portal.
89+
90+
1. Preset 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.
91+
92+
![image](common/default-attributes.png)
93+
94+
1. In addition to above, Preset 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.
95+
96+
| Name | Source Attribute|
97+
| ------------ | --------- |
98+
| firstName | user.givenname |
99+
| lastName | user.surname |
100+
| email | user.mail |
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+
![Screenshot shows the Certificate download link.](common/certificatebase64.png "Certificate")
105+
106+
1. On the **Set up Preset** section, copy the appropriate URL(s) based on your requirement.
107+
108+
![Screenshot shows to copy configuration appropriate U R L.](common/copy-configuration-urls.png "Attributes")
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 Preset.
125+
126+
1. In the Azure portal, select **Enterprise Applications**, and then select **All applications**.
127+
1. In the applications list, select **Preset**.
128+
1. In the app's overview page, find the **Manage** section and select **Users and groups**.
129+
1. Select **Add user**, then select **Users and groups** in the **Add Assignment** dialog.
130+
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.
131+
1. 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.
132+
1. In the **Add Assignment** dialog, click the **Assign** button.
133+
134+
## Configure Preset SSO
135+
136+
To configure single sign-on on **Preset** side, you need to send the downloaded **Certificate (Base64)** and appropriate copied URLs from Azure portal to [Preset support team](mailto:[email protected]). They set this setting to have the SAML SSO connection set properly on both sides.
137+
138+
### Create Preset test user
139+
140+
In this section, you create a user called Britta Simon in Preset. Work with [Preset support team](mailto:[email protected]) to add the users in the Preset platform. Users must be created and activated before you use single sign-on.
141+
142+
## Test SSO
143+
144+
In this section, you test your Azure AD single sign-on configuration with following options.
145+
146+
#### SP initiated:
147+
148+
* Click on **Test this application** in Azure portal. This will redirect to Preset Sign on URL where you can initiate the login flow.
149+
150+
* Go to Preset Sign-on URL directly and initiate the login flow from there.
151+
152+
#### IDP initiated:
153+
154+
* Click on **Test this application** in Azure portal and you should be automatically signed in to the Preset for which you set up the SSO.
155+
156+
You can also use Microsoft My Apps to test the application in any mode. When you click the Preset tile in the My Apps, if configured in SP mode you would be redirected to the application sign-on page for initiating the login flow and if configured in IDP mode, you should be automatically signed in to the Preset for which you set up the SSO. For more information about the My Apps, see [Introduction to the My Apps](../user-help/my-apps-portal-end-user-access.md).
157+
158+
## Next steps
159+
160+
Once you configure Preset 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](/cloud-app-security/proxy-deployment-aad).

articles/active-directory/saas-apps/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1724,6 +1724,8 @@
17241724
href: predictixordering-tutorial.md
17251725
- name: Predictix Price Reporting
17261726
href: predictixpricereporting-tutorial.md
1727+
- name: Preset
1728+
href: preset-tutorial.md
17271729
- name: PressPage
17281730
href: presspage-tutorial.md
17291731
- name: Prezi

0 commit comments

Comments
 (0)