Loading

Register sql server to azure arc

Before starting our next teams session, I would like to confirm if you have fully meet the Prerequisites:

https://learn.microsoft.com/en-us/sql/sql-server/end-of-support/sql-server-extended-security-updates?view=sql-server-ver16#register-instances-for-esus

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

# 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, should be fully prepared to register sql server to azure arc. 
https://learn.microsoft.com/en-us/sql/sql-server/azure-arc/connect?view=sql-server-ver16&tabs=azure%2Cwindows

posted @ 2022-12-22 21:01  Jas0n0ss  阅读(69)  评论(0编辑  收藏  举报