A cross-platform database tool for data professionals using on-premises and cloud data platforms on Windows, macOS, and Linux.
To reset the password for the server admin, go to the Azure portal, select SQL Servers, select the server from the list, and then select Reset Password.
Alternatively, you can use Azure CLI/Powershell as shown below:
With Azure CLI:
https://learn.microsoft.com/en-us/cli/azure/sql/server?view=azure-cli-latest#az-sql-server-update
az sql server update --resource-group <ResourceGroupName> --name <Servername> --admin-password <NewAdminAccountPassword>
With Azure Powershell:
Set-AzureRmSqlServer -ResourceGroupName <ResourceGroupName> -ServerName <ServerName> -SqlAdministratorPassword (ConvertTo-SecureString "<NewAdminAccountPassword>" -AsPlainText -Force)
Refer this blogpost for full detailed step by step explanation:
If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.
hth
Marcin