Skip to content

Commit 6a963c7

Browse files
Merge pull request #211835 from Clare-Zheng82/0920-Add_error_code_to_SQL_TSG_doc
[Supportability] - Add SqlDeniedPublicAccess TSG to SQL TSG doc
2 parents cfdd872 + 35bf696 commit 6a963c7

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

articles/data-factory/connector-troubleshoot-synapse-sql.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Learn how to troubleshoot issues with the Azure Synapse Analytics,
55
author: jianleishen
66
ms.author: jianleishen
77
ms.reviewer: joanpo, wiassaf
8-
ms.date: 09/02/2022
8+
ms.date: 09/20/2022
99
ms.service: data-factory
1010
ms.subservice: data-movement
1111
ms.topic: troubleshooting
@@ -291,6 +291,18 @@ This article provides suggestions to troubleshoot common problems with the Azure
291291
- **Cause**: Currently, ingesting data using the COPY command into an Azure Storage account that is using the new DNS partitioning feature results in an error. DNS partition feature enables customers to create up to 5000 storage accounts per subscription.
292292
- **Resolutions**: Provision a storage account in a subscription that does not use the new [Azure Storage DNS partition feature](https://techcommunity.microsoft.com/t5/azure-storage-blog/public-preview-create-additional-5000-azure-storage-accounts/ba-p/3465466) (currently in Public Preview).
293293

294+
## Error code: SqlDeniedPublicAccess
295+
296+
- **Message**: `Cannot connect to SQL Database: '%server;', Database: '%database;', Reason: Connection was denied since Deny Public Network Access is set to Yes. To connect to this server, 1. If you persist public network access disabled, please use Managed Vritual Network IR and create private endpoint. https://docs.microsoft.com/en-us/azure/data-factory/managed-virtual-network-private-endpoint; 2. Otherwise you can enable public network access, set "Public network access" option to "Selected networks" on Auzre SQL Networking setting.`
297+
298+
- **Causes**: Azure SQL Database is set to deny public network access. This requires to use managed virtual network and create private endpoint to access.
299+
300+
- **Recommendation**:
301+
302+
1. If you insist on disabling public network access, use managed virtual network integration runtime and create private endpoint. For more information, see [Azure Data Factory managed virtual network](managed-virtual-network-private-endpoint.md).
303+
304+
2. Otherwise, enable public network access by setting **Public network access** option to **Selected networks** on Azure SQL Database **Networking** setting page.
305+
294306
## Next steps
295307

296308
For more troubleshooting help, try these resources:

0 commit comments

Comments
 (0)