0

Anybody knows an Azure cmdlet/cli command to reset the SQLLoginAdminstrator's password?

All I've been seeing is a GUI based in the Azure portal for this but I was hoping to find any command related to this since we might need to reset hundreds of Azure SQL servers for policy.

1 Answer 1

1

Just try to use Set-AzureRmSqlServer

PS C:\>$ServerPassword = "newpassword" PS C:\> $SecureString = ConvertTo-SecureString $ServerPassword -AsPlainText -Force PS C:\> Set-AzureRmSqlServer -ResourceGroupName "ResourceGroup01" -ServerName "Server01" -SqlAdministratorPassword $secureString 

Also, you could refer to this link.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.