how to sign out my github account on Azure Data Studio of Mac OS version?

Tang, Shixin 25 Reputation points
2023-08-19T05:47:13.6766667+00:00

I have downloaded Azure Data Studio for Mac OS. I installed the GitHub Copilot extension. Firstly I log in my GitHub account. Then I find there is a problem. I can not logout or signout my GitHub account to religion with another GitHub account.

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.
100 questions
{count} vote

Accepted answer
  1. Erin Stellato 486 Reputation points Microsoft Employee
    2023-08-23T02:08:10.7266667+00:00

    Hi @Tang, Shixin - the quickest solution here is to delete your profile for Azure Data Studio.

    To delete your profile:

    1. Close Azure Data Studio
    2. Find the azuredatastudio folder in the following location:
      • Windows %APPDATA%\
        • Mac $HOME/Library/Application Support/
          • Linux $HOME/.config/
    3. OPTIONAL: before you delete anything, go to the section below to save any settings.
    4. Delete the azuredatastudio folder.
    5. Launch Azure Data Studio. All settings you had previously will be lost. Before you do anything else, try to configure your account for Copilot.

    OPTIONAL Step 3 here: If you have any settings, etc. that you want saved, do this first:

    • Open the Command Palette (CTRL/CMD + SHIFT + P)
    • Type Profiles, then select Profiles: Export Profile...
    • In the Profiles window, select the items to export, then the Export button. Save the file on your machine.
    • Close Azure Data Studio and go to step 4
    2 people found this answer helpful.
    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Vahid Ghafarpour 19,145 Reputation points
    2023-08-19T06:21:07.99+00:00

    You can delete the files hosts.json and terms.json from Copilot folder

    https://github.com/orgs/community/discussions/14361

    or deactivate the token from the copilot account: go to Manage trusted extensions and untick GitHub copilot/nightly.

    https://stackoverflow.com/questions/70083966/github-copilot-not-activation

    0 comments No comments

  2. Erin Stellato 486 Reputation points Microsoft Employee
    2023-08-23T15:11:13.0833333+00:00

    Tang, Shixin I should have clarified: I understand that the proposed solution is not ideal, and I've reached out to GitHub to determine a better solution. It may require us to make changes in Azure Data Studio, and if so, we will do our best to include them in the next release.

    0 comments No comments