Skip to content

Commit 95cdd10

Browse files
authored
Merge pull request #202265 from Clare-Zheng82/0621-Add_Snowflake_TSG
Add Snowflake troubleshooting guide doc
2 parents b1b7cef + d3fecd2 commit 95cdd10

File tree

3 files changed

+61
-0
lines changed

3 files changed

+61
-0
lines changed

articles/data-factory/TOC.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1141,6 +1141,8 @@ items:
11411141
href: connector-troubleshoot-rest.md
11421142
- name: SharePoint Online list
11431143
href: connector-troubleshoot-sharepoint-online-list.md
1144+
- name: Snowflake
1145+
href: connector-troubleshoot-snowflake.md
11441146
- name: XML format
11451147
href: connector-troubleshoot-xml.md
11461148
- name: Pipeline Triggers
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
---
2+
title: Troubleshoot the Snowflake connector
3+
titleSuffix: Azure Data Factory & Azure Synapse
4+
description: Learn how to troubleshoot issues with the Snowflake connector in Azure Data Factory and Azure Synapse Analytics.
5+
author: jianleishen
6+
ms.service: data-factory
7+
ms.subservice: data-movement
8+
ms.topic: troubleshooting
9+
ms.date: 06/21/2022
10+
ms.author: jianleishen
11+
ms.custom: has-adal-ref, synapse
12+
---
13+
14+
# Troubleshoot the Snowflake connector in Azure Data Factory and Azure Synapse
15+
16+
[!INCLUDE[appliesto-adf-asa-md](includes/appliesto-adf-asa-md.md)]
17+
18+
This article provides suggestions to troubleshoot common problems with the Snowflake connector in Azure Data Factory and Azure Synapse.
19+
20+
## Error message: IP % is not allowed to access Snowflake. Contact your local security administrator.
21+
22+
- **Symptoms**: The copy activity fails with the following error:
23+
24+
`Job failed due to reason: net.snowflake.client.jdbc.SnowflakeSQLException: IP % is not allowed to access Snowflake.  Contact your local security administrator. `
25+
26+
- **Cause**: It's a connectivity issue and usually caused by firewall IP issues when integration runtimes access your Snowflake.
27+
28+
- **Recommendation**:
29+
30+
- If you configure a [self-hosted integration runtime](create-self-hosted-integration-runtime.md) to connect to Snowflake, make sure to add your self-hosted integration runtime IPs to the allowed list in Snowflake.
31+
- If you use an Azure Integration Runtime and the access is restricted to IPs approved in the firewall rules, you can add [Azure Integration Runtime IPs](azure-integration-runtime-ip-addresses.md) to the allowed list in Snowflake.
32+
- If you use a managed private endpoint and a network policy is in place on your Snowflake account, ensure Managed VNet CIDR is allowed. For more steps, refer to [How To: Set up a managed private endpoint from Azure Data Factory or Synapse to Snowflake](https://community.snowflake.com/s/article/How-to-set-up-a-managed-private-endpoint-from-Azure-Data-Factory-or-Synapse-to-Snowflake).
33+
34+
## Error message: Failed to access remote file: access denied.
35+
36+
- **Symptoms**: The copy activity fails with the following error:
37+
38+
`ERROR [42501] Failed to access remote file: access denied. Please check your credentials,Source =SnowflakeODBC_sb64.dll..`
39+
40+
- **Cause**: The error pops up by the Snowflake COPY command and is caused by missing access permission on source/sink when execute Snowflake COPY commands.
41+
42+
- **Recommendation**: Check your source/sink to make sure that you have granted proper access permission to Snowflake.
43+
44+
- Direct copy: Make sure to grant access permission to Snowflake in the other source/sink.
45+
- Staged copy: The staging Azure Blob storage linked service must use shared access signature authentication. When you generate the shared access signature, make sure to set the allowed permissions and IP addresses to Snowflake in the staging Azure Blob storage. To learn more about this, see this [article](https://docs.snowflake.com/en/user-guide/data-load-azure-config.html#option-2-generating-a-sas-token).
46+
47+
## Next steps
48+
49+
For more troubleshooting help, try these resources:
50+
51+
- [Connector troubleshooting guide](connector-troubleshoot-guide.md)
52+
- [Data Factory blog](https://azure.microsoft.com/blog/tag/azure-data-factory/)
53+
- [Data Factory feature requests](/answers/topics/azure-data-factory.html)
54+
- [Azure videos](https://azure.microsoft.com/resources/videos/index/?sort=newest&services=data-factory)
55+
- [Microsoft Q&A page](/answers/topics/azure-data-factory.html)
56+
- [Stack Overflow forum for Data Factory](https://stackoverflow.com/questions/tagged/azure-data-factory)
57+
- [Twitter information about Data Factory](https://twitter.com/hashtag/DataFactory)

articles/synapse-analytics/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1403,6 +1403,8 @@ items:
14031403
href: ../data-factory/connector-troubleshoot-rest.md?context=/azure/synapse-analytics/context/context&tabs=synapse-analytics
14041404
- name: SharePoint Online list
14051405
href: ../data-factory/connector-troubleshoot-sharepoint-online-list.md?context=/azure/synapse-analytics/context/context&tabs=synapse-analytics
1406+
- name: Snowflake
1407+
href: ../data-factory/connector-troubleshoot-snowflake.md?context=/azure/synapse-analytics/context/context&tabs=synapse-analytics
14061408
- name: XML format
14071409
href: ../data-factory/connector-troubleshoot-xml.md?context=/azure/synapse-analytics/context/context&tabs=synapse-analytics
14081410
- name: Continuous Integration and Deployment

0 commit comments

Comments
 (0)