Register sql server to azure arc

本文最后更新于:2024年8月9日 晚上

Microsoft official document:

https://learn.microsoft.com/en-us/sql/sql-server/azure-arc/connect?view=sql-server-ver16&tabs=azure%2Cwindows

Before starting, make sure we have fully meet the Prerequisites:

img

If Microsoft.AzureArcData is not registered, please follow below steps to register resource provider:

https://learn.microsoft.com/en-us/powershell/module/az.resources/register-azresourceprovider?view=azps-8.3.0

1
2
3
4
5
6
7
8
9
10
11
12
# Run with powershell with administrator
# install az.resource module
PS C:\WINDOWS\system32> Install-Module -Name Az.Resources -RequiredVersion 2.5.0

# connect to your azure account
PS C:\WINDOWS\system32> Connect-AzAccount

# register the resource provider
PS C:\Users\hubo> Register-AzResourceProvider -ProviderNamespace Microsoft.AzureArcData

# Check register status
PS C:\Users\hubo> Get-AzResourceProvider -ProviderNamespace Microsoft.AzureArcData

After above steps, we should be fully prepared to register sql server to azure arc. then we can follow below steps to register to azure arc:

https://learn.microsoft.com/en-us/sql/sql-server/azure-arc/connect?view=sql-server-ver16&tabs=azure%2Cwindows


Register sql server to azure arc
https://git.msft.vip/2022/12/23-Register-sql-server-to-azure-arc/
作者
Jas0n0ss
发布于
2022年12月23日
更新于
2024年8月9日
许可协议