Skip to content

Commit d884133

Browse files
20221219 1025
1 parent d830328 commit d884133

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

articles/synapse-analytics/synapse-link/troubleshoot/troubleshoot-sql-link-creation.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,13 @@ If disabled, enable the [system assigned managed identity (SAMI)](/azure/azure-s
5151

5252
1. Remove the stale identity from the Azure SQL Database logical server using the Az.Sql cmdlet [Set-AzSqlServer](/powershell/module/az.sql/set-azsqlserver). Set `-IdentityType 'None'`.
5353
```powershell
54-
Set-AzSqlServer -AssignIdentity -ResourceGroupName '<resource group>' -ServerName '<server name>' -IdentityType 'None'
54+
Set-AzSqlServer -AssignIdentity -ResourceGroupName '<resource group>' `
55+
-ServerName '<server name>' -IdentityType 'None'
5556
```
5657
1. Set a new SAMI with `Set-AzSqlServer`, set `-IdentityType 'SystemAssigned'`.
5758
```powershell
58-
Set-AzSqlServer-ResourceGroupName '<resource group>' -ServerName '<server name>' -AssignIdentity -IdentityType 'SystemAssigned'
59+
Set-AzSqlServer-ResourceGroupName '<resource group>' -ServerName '<server name>' `
60+
-AssignIdentity -IdentityType 'SystemAssigned'
5961
```
6062
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.
6163
:::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":::

0 commit comments

Comments
 (0)