You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/synapse-analytics/synapse-link/troubleshoot/troubleshoot-sql-link-creation.md
+41-11Lines changed: 41 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,37 +7,65 @@ ms.reviewer: imotiwala
7
7
ms.service: synapse-analytics
8
8
ms.topic: how-to
9
9
ms.subservice: synapse-link
10
-
ms.date: 12/19/2022
10
+
ms.date: 12/22/2022
11
11
---
12
12
13
13
# Troubleshoot: Azure Synapse Link creation for Azure SQL Database
14
14
15
15
This article is a guide to troubleshooting issues creating the Azure Synapse Link for Azure SQL Database.
16
16
17
-
## Symptom
17
+
## Symptom 1
18
18
19
19
During Azure Synapse Link connection creation, the link creation process may hang and without showing any error messages.
20
20
21
-
## Potential causes
21
+
###Potential causes 1
22
22
23
-
1. Using the certificate for the managed identity used to sign the client assertion failed because the key used is expired. To confirm this is the cause query the [changefeed.change_feed_errors](/sql/relational-databases/system-tables/changefeed-change-feed-errors-transact-sql) dynamic management view and look for error number 22739. See sample query below:
23
+
1. Using the certificate for the managed identity used to sign the client assertion failed because the key used is expired.
24
+
25
+
2. The system assigned managed identity (SAMI) for the Azure SQL Database logical server has not been configured properly or not enabled.
26
+
27
+
3. An incorrect managed identity was provided in the Synapse Link creation, for example, by manually providing an incorrect principal ID or Azure Key vault information.
28
+
29
+
To confirm these potential causes, query the [changefeed.change_feed_errors](/sql/relational-databases/system-tables/changefeed-change-feed-errors-transact-sql) dynamic management view and look for error number 22739.
2. The system assigned managed identity (SAMI) for the Azure SQL Database logical server has not been configured properly or not enabled. To confirm this is the cause query the [changefeed.change_feed_errors](/sql/relational-databases/system-tables/changefeed-change-feed-errors-transact-sql) dynamic management view and look for error number 22739. See the previous sample query.
36
+
### Resolution 1
37
+
38
+
If the SAMI is not enabled, enable the SAMI. Regardless, refresh the Synapse Link authentication information in the Azure Synapse workspace.
39
+
40
+
### Solution: Enable the SAMI, refresh the Synapse Link
41
+
42
+
1. If disabled, enable the [system assigned managed identity (SAMI)](/azure/azure-sql/database/authentication-azure-ad-user-assigned-managed-identity) for the Azure SQL Database logical server. Regardless, proceed to Step 2.
43
+
1. In the Azure portal, navigate to your Synapse Link for SQL connection in Azure Synapse workspace. In the **Integrate** hub, under **Link connection**, select your link connection. In the General window, expand the **Advanced** section. Select the **Refresh** button. You will see a message with checked green tick indicating the SQL logical server resource ID and managed identity ID have been refreshed.
44
+
:::image type="content" source="media/troubleshoot-sql-link-creation/synapse-workspace-link-connection-running.png" alt-text="A screenshot of the Azure portal in the Synapse workspace. In the General section under Advanced, the Refresh button is highlighted." lightbox="media/troubleshoot-sql-link-creation/synapse-workspace-link-connection-running.png":::
45
+
1. If this does not resolve the Synapse Link issue, [submit an Azure support request](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/newsupportrequest) following the below instructions:
46
+
1. For **Issue type**, select **Technical**.
47
+
2. Provide the desired subscription of the source database. Select **Next**.
48
+
3. For **Service type**, select **SQL Database**.
49
+
4. For **Resource**, select the source database where the initial snapshot is failing.
50
+
5. For **Summary**, provide any error numbers from `changefeed.change_feed_errors`.
51
+
6. For **Problem type**, select **Data Sync, Replication, CDC and Change Tracking**.
52
+
7. For **Problem subtype**, select **Transactional Replication**.
53
+
54
+
<!---
55
+
56
+
## Symptom 2
31
57
32
-
3. An incorrect managed identity was provided in the Synapse Link creation.
58
+
During Azure Synapse Link connection creation, the link creation process may hang and without showing any error messages.
59
+
60
+
### Potential causes 2
33
61
34
-
4. The subscription moved from one tenant to another, and the managed identity is no longer valid.
62
+
1. The subscription moved from one tenant to another, and the system-assigned managed identity (SAMI) is no longer valid. The SAMI does not appear in the Azure AD in the new tenant.
35
63
36
-
## Resolution
64
+
### Resolution 2
37
65
38
-
If disabled, enable the [system assigned managed identity (SAMI)](/azure/azure-sql/database/authentication-azure-ad-user-assigned-managed-identity) for the Azure SQL Database logical server. If enabled, refresh the SAMI. Use either of the two following methods:
66
+
Disable and re-enable the SAMI for the Azure SQL logical server.
39
67
40
-
### Solution 1 via the Azure portal
68
+
### Solution 2 via the Azure portal
41
69
42
70
1. In the Azure portal, navigate to your Azure SQL Server. Select **Identity** under **Security** on the left side bar.
43
71
1. Review the **Status** setting for **system assigned managed identity** (SAMI).
@@ -62,10 +90,12 @@ If disabled, enable the [system assigned managed identity (SAMI)](/azure/azure-s
62
90
1. In the Azure portal, navigate to your Synapse Link for SQL connection in Azure Synapse Workspace. In the **Integrate** hub, under **Link connection**, select your link connection. In the General window, expand the **Advanced** section. Select the **Refresh** button. You will see a message with checked green tick indicating the SQL logical server resource ID and Managed identity ID have been refreshed.
63
91
:::image type="content" source="media/troubleshoot-sql-link-creation/synapse-workspace-link-connection-running.png" alt-text="A screenshot of the Azure portal in the Synapse workspace. In the General section under Advanced, the Refresh button is highlighted." lightbox="media/troubleshoot-sql-link-creation/synapse-workspace-link-connection-running.png":::
64
92
93
+
-->
94
+
65
95
## Next steps
66
96
67
97
-[Get started with Azure Synapse Link for Azure SQL Database](../connect-synapse-link-sql-database.md)
68
98
-[Managed identities in Azure AD for Azure SQL](/azure/azure-sql/database/authentication-azure-ad-user-assigned-managed-identity)
69
99
-[Azure Synapse Link for SQL FAQ](../faq.yml)
70
100
-[Known limitations and issues with Azure Synapse Link for SQL](../synapse-link-for-sql-known-issues.md)
0 commit comments