Skip to content

Commit b393c3b

Browse files
Merge pull request #207819 from bhavana-129/snowflake-update
Product Backlog Item 2020682: SaaS App Tutorial: Snowflake Update
2 parents a85bd75 + a17ad46 commit b393c3b

File tree

1 file changed

+22
-21
lines changed

1 file changed

+22
-21
lines changed

articles/active-directory/saas-apps/snowflake-tutorial.md

Lines changed: 22 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.service: active-directory
99
ms.subservice: saas-app-tutorial
1010
ms.workload: identity
1111
ms.topic: tutorial
12-
ms.date: 07/14/2022
12+
ms.date: 08/16/2022
1313
ms.author: jeedes
1414
---
1515
# Tutorial: Azure AD SSO integration with Snowflake
@@ -26,6 +26,8 @@ To configure Azure AD integration with Snowflake, you need the following items:
2626

2727
* An Azure AD subscription. If you don't have an Azure AD environment, you can get a [free account](https://azure.microsoft.com/free/).
2828
* Snowflake single sign-on enabled subscription.
29+
* Along with Cloud Application Administrator, Application Administrator can also add or manage applications in Azure AD.
30+
For more information, see [Azure built-in roles](../roles/permissions-reference.md).
2931

3032
> [!NOTE]
3133
> This integration is also available to use from Azure AD US Government Cloud environment. You can find this application in the Azure AD US Government Cloud Application Gallery and configure it in the same way as you do from public cloud.
@@ -69,17 +71,17 @@ Follow these steps to enable Azure AD SSO in the Azure portal.
6971
1. On the **Select a single sign-on method** page, select **SAML**.
7072
1. On the **Set up single sign-on with SAML** page, click the pencil icon for **Basic SAML Configuration** to edit the settings.
7173

72-
![Edit Basic SAML Configuration](common/edit-urls.png)
74+
![Screenshot shows to edit Basic S A M L Configuration.](common/edit-urls.png "Basic Configuration")
7375

74-
4. In the **Basic SAML Configuration** section, perform the following steps, if you wish to configure the application in **IDP** initiated mode:
76+
1. In the **Basic SAML Configuration** section, perform the following steps, if you wish to configure the application in **IDP** initiated mode:
7577

7678
a. In the **Identifier** text box, type a URL using the following pattern:
7779
`https://<SNOWFLAKE-URL>.snowflakecomputing.com`
7880

7981
b. In the **Reply URL** text box, type a URL using the following pattern:
8082
`https://<SNOWFLAKE-URL>.snowflakecomputing.com/fed/login`
8183

82-
1. Click **Set additional URLs** and perform the following step if you wish to configure the application in SP initiated mode:
84+
1. Click **Set additional URLs** and perform the following step if you wish to configure the application in **SP** initiated mode:
8385

8486
a. In the **Sign-on URL** text box, type a URL using the following pattern:
8587
`https://<SNOWFLAKE-URL>.snowflakecomputing.com`
@@ -88,15 +90,15 @@ Follow these steps to enable Azure AD SSO in the Azure portal.
8890
`https://<SNOWFLAKE-URL>.snowflakecomputing.com/fed/logout`
8991

9092
> [!NOTE]
91-
> These values are not real. Update these values with the actual Identifier, Reply URL and Sign-on URL. Contact [Snowflake Client support team](https://support.snowflake.net/s/) to get these values. You can also refer to the patterns shown in the **Basic SAML Configuration** section in the Azure portal.
93+
> These values are not real. Update these values with the actual Identifier, Reply URL, Sign-on URL and Logout URL. Contact [Snowflake Client support team](https://support.snowflake.net/s/) to get these values. You can also refer to the patterns shown in the **Basic SAML Configuration** section in the Azure portal.
9294

93-
4. On the **Set up Single Sign-On with SAML** page, in the **SAML Signing Certificate** section, click **Download** to download the **Certificate (Base64)** from the given options as per your requirement and save it on your computer.
95+
1. On the **Set up Single Sign-On with SAML** page, in the **SAML Signing Certificate** section, click **Download** to download the **Certificate (Base64)** from the given options as per your requirement and save it on your computer.
9496

95-
![The Certificate download link](common/certificatebase64.png)
97+
![Screenshot shows the Certificate download link.](common/certificatebase64.png "Certificate")
9698

97-
6. On the **Set up Snowflake** section, copy the appropriate URL(s) as per your requirement.
99+
1. On the **Set up Snowflake** section, copy the appropriate URL(s) as per your requirement.
98100

99-
![Copy configuration URLs](common/copy-configuration-urls.png)
101+
![Screenshot shows to copy configuration appropriate U R L.](common/copy-configuration-urls.png "Metadata")
100102

101103
### Create an Azure AD test user
102104

@@ -143,16 +145,15 @@ In this section, you'll enable B.Simon to use Azure single sign-on by granting a
143145

144146
1. Select the **All Queries** and click **Run**.
145147

146-
147-
![Snowflake sql](./media/snowflake-tutorial/certificate.png)
148+
![Snowflake sql](./media/snowflake-tutorial/certificate.png)
148149

149-
```
150-
CREATE [ OR REPLACE ] SECURITY INTEGRATION [ IF NOT EXISTS ]
150+
```
151+
CREATE [ OR REPLACE ] SECURITY INTEGRATION [ IF NOT EXISTS ]
151152
TYPE = SAML2
152153
ENABLED = TRUE | FALSE
153154
SAML2_ISSUER = '<EntityID/Issuer value which you have copied from the Azure portal>'
154155
SAML2_SSO_URL = '<Login URL value which you have copied from the Azure portal>'
155-
SAML2_PROVIDER = 'AzureAD'
156+
SAML2_PROVIDER = 'CUSTOM'
156157
SAML2_X509_CERT = '<Paste the content of downloaded certificate from Azure portal>'
157158
[ SAML2_SP_INITIATED_LOGIN_PAGE_LABEL = '<string_literal>' ]
158159
[ SAML2_ENABLE_SP_INITIATED = TRUE | FALSE ]
@@ -163,11 +164,11 @@ CREATE [ OR REPLACE ] SECURITY INTEGRATION [ IF NOT EXISTS ]
163164
[ SAML2_FORCE_AUTHN = TRUE | FALSE ]
164165
[ SAML2_SNOWFLAKE_ISSUER_URL = '<string_literal>' ]
165166
[ SAML2_SNOWFLAKE_ACS_URL = '<string_literal>' ]
166-
```
167+
```
167168
168169
If you are using a new Snowflake URL with an organization name as the login URL, it is necessary to update the following parameters:
169170
170-
Alter the integration to add Snowflake Issuer URL and SAML2 Snowflake ACS URL, please follow the step-6 in [this](https://community.snowflake.com/s/article/HOW-TO-SETUP-SSO-WITH-ADFS-AND-THE-SNOWFLAKE-NEW-URL-FORMAT-OR-PRIVATELINK) article for more information.
171+
Alter the integration to add Snowflake Issuer URL and SAML2 Snowflake ACS URL, please follow the step-6 in [this](https://community.snowflake.com/s/article/HOW-TO-SETUP-SSO-WITH-ADFS-AND-THE-SNOWFLAKE-NEW-URL-FORMAT-OR-PRIVATELINK) article for more information.
171172
172173
1. [ SAML2_SNOWFLAKE_ISSUER_URL = '<string_literal>' ]
173174
@@ -203,24 +204,24 @@ To enable Azure AD users to log in to Snowflake, they must be provisioned into S
203204
use role accountadmin;
204205
CREATE USER britta_simon PASSWORD = '' LOGIN_NAME = '[email protected]' DISPLAY_NAME = 'Britta Simon';
205206
```
206-
>[!NOTE]
207-
>Manually provisioning is uneccesary, if users and groups are provisioned with a SCIM integration. See how to enable auto provisioning for [Snowflake](snowflake-provisioning-tutorial.md).
207+
> [!NOTE]
208+
> Manually provisioning is uneccesary, if users and groups are provisioned with a SCIM integration. See how to enable auto provisioning for [Snowflake](snowflake-provisioning-tutorial.md).
208209
209210
## Test SSO
210211
211212
In this section, you test your Azure AD single sign-on configuration with following options.
212213
213214
#### SP initiated:
214215
215-
* Click on **Test this application** in Azure portal. This will redirect to Snowflake Sign on URL where you can initiate the login flow.
216+
* Click on **Test this application** in Azure portal. This will redirect to Snowflake Sign-on URL where you can initiate the login flow.
216217
217-
* Go to Snowflake Sign on URL directly and initiate the login flow from there.
218+
* Go to Snowflake Sign-on URL directly and initiate the login flow from there.
218219
219220
#### IDP initiated:
220221
221222
* Click on **Test this application** in Azure portal and you should be automatically signed in to the Snowflake for which you set up the SSO.
222223
223-
You can also use Microsoft My Apps to test the application in any mode. When you click the Snowflake 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 Snowflake 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).
224+
You can also use Microsoft My Apps to test the application in any mode. When you click the Snowflake 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 Snowflake 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).
224225
225226
## Next steps
226227

0 commit comments

Comments
 (0)