Forgot my Azure Data Studio password using SQL Authentication.

Varun_06 0 Reputation points
2025-12-30T07:53:07.5966667+00:00

I have forgotten my Azure SQL Data Studio password using SQL Authentication. Now how can I login again?

Azure Data Studio
Azure Data Studio

A cross-platform database tool for data professionals using on-premises and cloud data platforms on Windows, macOS, and Linux.


2 answers

Sort by: Most helpful
  1. Manoj Kumar Boyini 19,590 Reputation points Microsoft External Staff Moderator
    2025-12-30T12:24:34.81+00:00

    Hi Varun_06,

    It sounds like you're having trouble logging into Azure Data Studio due to a forgotten SQL Authentication password. No worries, here's what you can do:

    Reset the Password via Azure Portal:

    • If you're an administrator, you can reset the password for the SQL server directly through the Azure portal:
      - Go to the [Azure portal](https://portal.azure.com/).
      
            - Navigate to your SQL server resource.
      
                  - Look for the **Reset Password** option at the top menu bar. If it’s not immediately visible, you may need to click on the ellipsis (`...`) to find it.
      
                        - Enter a new password and confirm it, and then save the changes.
      
    1. For Non-Administrator Users:

    Here’s a quick reference to the relevant documentation you'll need:

    If you have more specific scenarios or settings, let me know! What type of SQL server account are you using? Are you the admin, or is it a non-admin user account? These details could help narrow down the best approach for resetting your password. Hope this helps!

    Was this answer helpful?

    0 comments No comments

  2. Marcin Policht 106.8K Reputation points MVP Volunteer Moderator
    2025-12-30T12:05:40.75+00:00

    Follow https://learn.microsoft.com/en-us/answers/questions/1855217/how-do-i-reset-the-admin-user-password-on-my-two-m

    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.

    User's image

    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:

    https://techcommunity.microsoft.com/t5/azure-database-support-blog/reset-lost-admin-account-password/ba-p/368920


    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

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.