You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/ide/signing-in-to-visual-studio.md
+77-23Lines changed: 77 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: Sign in or switch Visual Studio accounts
3
3
titleSuffix: ""
4
4
description: Explore sign in concepts for working with Visual Studio, and find out how to sign in and how to add and switch user accounts.
5
-
ms.date: 10/02/2024
5
+
ms.date: 2/11/2025
6
6
ms.topic: how-to
7
7
author: anandmeg
8
8
ms.author: meghaanand
@@ -11,17 +11,17 @@ ms.subservice: general-ide
11
11
---
12
12
# Sign in or switch Visual Studio user accounts
13
13
14
-
In this article, you learn how to sign in to Visual Studio, add and switch user accounts, update your profile, sign out of your account, and the benefits to signing in. To learn how to access multiple user accounts in Visual Studio, see [Access multiple accounts associated with the Visual Studio sign-in account](sign-in-access-multiple-accounts.md). For guidance on how to add your public GitHub or GitHub Enterprise account to your Visual Studio keychain, see [Work with GitHub accounts in Visual Studio](work-with-github-accounts.md).
14
+
::: moniker range="<=vs-2019"
15
+
16
+
In this article, you learn how to sign in to Visual Studio, add and switch user accounts, update your profile, sign out of your account, and the benefits to signing in.
15
17
16
-
You can get subscription support and search the frequently asked questions about subscriptions, accounts, and billing [on our Subscription support page](https://visualstudio.microsoft.com/subscriptions/support/).
18
+
To learn how to access multiple user accounts in Visual Studio, see [Access multiple accounts associated with the Visual Studio sign-in account](sign-in-access-multiple-accounts.md). For guidance on how to add your public GitHub or GitHub Enterprise account to your Visual Studio keychain, see [Work with GitHub accounts in Visual Studio](work-with-github-accounts.md). You can get subscription support and search the frequently asked questions about subscriptions, accounts, and billing [on our Subscription support page](https://visualstudio.microsoft.com/subscriptions/support/).
17
19
18
20
<aname="sign-in"></a>
19
21
20
22
## Sign in to your account
21
23
22
-
You can sign in to your Microsoft or organizational account. To add another account, see [Add and switch user accounts](#add-and-switch).
23
-
24
-
::: moniker range="<=vs-2019"
24
+
You can sign in to your Microsoft or organizational account, or your GitHub account. Sign in with a Microsoft account to sync settings across devices, collaborate in real time, and access Azure services. Sign in with a GitHub account to access GitHub Copilot and GitHub repositories. To add another account, see [Add and switch user accounts](#add-and-switch).
25
25
26
26
1. Launch Visual Studio. When you open Visual Studio for the first time, you're prompted to sign in and provide some basic registration information.
27
27
@@ -30,40 +30,78 @@ You can sign in to your Microsoft or organizational account. To add another acc
30
30
> [!NOTE]
31
31
> If you choose not to sign in when you first open Visual Studio, it's easy to do so later. Look for the **Sign in** link in the upper-right corner of the Visual Studio environment.
32
32
33
+
1. Choose a Microsoft account or a work or school account. If you don't have one, you can [create a Microsoft account for free](https://support.microsoft.com/help/4026324/microsoft-account-how-to-create).
34
+
35
+
1. Choose your preferred color theme and other UI settings to personalize your Visual Studio experience. Visual Studio [remembers these settings and synchronizes](../ide/synchronized-settings-in-visual-studio.md) them across all Visual Studio environments you signed in to. You can change the settings later if you open the **Tools** > **Options** menu in Visual Studio.
36
+
37
+
You can see that you've successfully signed in, in the upper-right corner of the Visual Studio environment. Unless you sign out, you automatically sign in to Visual Studio whenever you start it, and any changes to synchronized settings are automatically applied.
38
+
39
+
### Sign in from the IDE
40
+
41
+
If you choose to not sign in when you first open Visual Studio, you can sign in later from the IDE.
42
+
43
+
1. Select the **Sign in** icon in the upper-right corner of the Visual Studio environment.
44
+
1. Select a Microsoft account to sign in.
45
+
1. Follow the prompts to enter the new account credentials.
46
+
47
+
<aname="benefits"></a>
48
+
## Benefits: why sign in?
49
+
50
+
While you don't have to sign in with your Microsoft account, there are many advantages to doing so.
51
+
52
+
|Benefit|Description|
53
+
|---|---|
54
+
|[Extend your Visual Studio trial period](../ide/how-to-unlock-visual-studio.md)|Use Visual Studio Professional or Visual Studio Enterprise **for an additional 90 days**, instead of being limited to the trial period of 30 days.|
55
+
|[Unlock Visual Studio](../ide/how-to-unlock-visual-studio.md)|Unlock Visual Studio if you use an account that's associated with a [Visual Studio subscription](/visualstudio/subscriptions/using-the-subscriber-portal) or an Azure DevOps organization.|
56
+
|[Synchronize](../ide/synchronized-settings-in-visual-studio.md) your settings|Settings that you customize, such as key bindings, window layout, and color theme, apply immediately when you sign in to Visual Studio on any device.|
57
+
|Auto-connect to Azure services|Connect to services, such as Azure and Azure DevOps Services, in the IDE without prompting again for credentials for the same account.|
58
+
|Use Community edition without interruptions|While it's not required to sign in, you might periodically get prompts to sign-in if you haven't done so. Please sign in to the IDE to continue using Visual Studio Community without interruptions.|
59
+
|[Get 'Visual Studio Dev Essentials'](https://visualstudio.microsoft.com/dev-essentials/)|This program includes free software, training, support, and more.|
60
+
33
61
::: moniker-end
34
62
35
63
::: moniker range="vs-2022"
36
64
65
+
In this article, you learn how to sign in to Visual Studio with your Microsoft or GitHub account, add and switch user accounts, update your profile, sign out of your account, and the benefits to signing in.
66
+
67
+
<aname="sign-in"></a>
68
+
69
+
## Sign in to your account
70
+
71
+
You can sign in to your Microsoft or organizational account, or your GitHub account. Sign in with a Microsoft account to sync settings across devices, collaborate in real time, and access Azure services. Sign in with a GitHub account to access GitHub Copilot and GitHub repositories.
72
+
37
73
1. Launch Visual Studio. When you open Visual Studio for the first time, you're prompted to sign in and provide some basic registration information.
:::image type="content" source="../ide/media/vs-2022/visual-studio-sign-in-pop-up.png" alt-text="Screenshot of first launch Sign in dialog in the Visual Studio IDE.":::
40
76
41
77
> [!NOTE]
42
78
> If you choose to not sign in when you first open Visual Studio, it's easy to do so later. Look for the [**Sign in** link in the upper-right corner of the Visual Studio environment](#sign-in-from-the-ide).
43
79
44
-
::: moniker-end
45
-
46
-
2. Choose a Microsoft account or a work or school account. If you don't have one, you can [create a Microsoft account for free](https://support.microsoft.com/help/4026324/microsoft-account-how-to-create).
80
+
1. Choose a Microsoft account or a GitHub account. If you don't have one, you can [create a Microsoft account for free](https://support.microsoft.com/help/4026324/microsoft-account-how-to-create). The account you sign in with is set as your Personalization Account. GitHub accounts can't be used to roam settings across devices. [Add](#add-and-switch) your Microsoft account to enable roaming settings.
47
81
48
-
3. Choose your preferred color theme and other UI settings. Visual Studio [remembers these settings and synchronizes](../ide/synchronized-settings-in-visual-studio.md) them across all Visual Studio environments you signed in to. You can change the settings later if you open the **Tools** > **Options** menu in Visual Studio.
82
+
1. Choose your preferred color theme and other UI settings to personalize your Visual Studio experience. Visual Studio [remembers these settings and synchronizes](../ide/synchronized-settings-in-visual-studio.md) them across all Visual Studio environments depending on your account setup. You can change the settings later if you open the **Tools** > **Options** menu in Visual Studio.
49
83
50
-
You can see that you've successfully signed in, in the upper-right corner of the Visual Studio environment. Unless you sign out, you automatically sign in to Visual Studio whenever you start it, and any changes to synchronized settings are automatically applied.
84
+
You can see that you've successfully signed in, in the upper-right corner of the Visual Studio environment. Unless you sign out, you automatically sign in to Visual Studio whenever you start it, and any changes to synchronized settings are automatically applied if you're signed in with your Microsoft account.
51
85
52
86
### Sign in from the IDE
53
87
54
88
If you choose to not sign in when you first open Visual Studio, you can sign in later from the IDE.
55
89
56
90
1. Select the **Sign in** icon in the upper-right corner of the Visual Studio environment.
57
91
58
-
:::image type="content" source="media/vs-2022/signing-in-to-visual-studio/sign-in-icon-ide.png" alt-text="Screenshot of Sign in icon in the Visual Studio IDE.":::
92
+
:::image type="content" source="../ide/media/vs-2022/signing-in-to-visual-studio/sign-in-icon-ide.png" alt-text="Screenshot of Sign in icon in the Visual Studio IDE.":::
59
93
60
-
1.On the **Sign in to your account**page, select the **Connected to Windows**account or select **Use another account** to sign in with another account.
94
+
1.Select **Microsoft**(work, school, or personal account) or **GitHub** (GitHub account) to sign in.
61
95
1. Follow the prompts to enter the new account credentials.
62
96
97
+
You can also sign in from **File > Account Settings...**. To add another account, see [Add and switch user accounts](#add-and-switch).
98
+
63
99
<aname="benefits"></a>
64
100
## Benefits: why sign in?
65
101
66
-
While you don't have to sign in, there are many advantages to doing so.
102
+
While you can sign in using a GitHub account to seamlessly access GitHub Copilot and other GitHub resources, we recommend you sign in with a Microsoft account, then add a GitHub account as a secondary account.
103
+
104
+
The following benefits apply when you use a Microsoft account to sign in:
67
105
68
106
|Benefit|Description|
69
107
|---|---|
@@ -74,6 +112,8 @@ While you don't have to sign in, there are many advantages to doing so.
74
112
|Use Community edition without interruptions|While it's not required to sign in, you might periodically get prompts to sign-in if you haven't done so. Please sign in to the IDE to continue using Visual Studio Community without interruptions.|
75
113
|[Get 'Visual Studio Dev Essentials'](https://visualstudio.microsoft.com/dev-essentials/)|This program includes free software, training, support, and more.|
76
114
115
+
::: moniker-end
116
+
77
117
<aname="add-and-switch"></a>
78
118
79
119
## Add and switch user accounts in Visual Studio
@@ -100,24 +140,24 @@ There are several types of accounts you can add:
100
140
::: moniker range="vs-2022"
101
141
102
142
1. Select the icon with your profile name in the upper-right corner of the Visual Studio environment.
103
-
1. Select **Add another account** and then choose an account to sign into.
104
-
1. On the **Sign in to your account**page, select the account or choose **Use another account**.
143
+
1. Select **Add another account** and then choose **Microsoft** account to sign into.
144
+
1. On the **Sign in**window, select the account or choose **Use a different account**.
105
145
1. Follow the prompts to enter the new account credentials.
106
146
107
147
::: moniker-end
108
148
109
149
-[Add a GitHub account](work-with-github-accounts.md)
110
150
-[Add a Multifactor authentication (MFA) account](work-with-multi-factor-authentication.md)
111
151
152
+
::: moniker range="vs-2019"
153
+
112
154
<aname="profile"></a>
113
155
114
156
## Update your account profile
115
157
116
158
1. Go to **File > Account Settings...** and select the **Manage Visual Studio profile** link.
117
-
1. In the browser window, select **Edit profile** and change the settings that you want.
118
-
1. When done, select **Save changes**.
119
-
120
-
::: moniker range="vs-2019"
159
+
2. In the browser window, select **Edit profile** and change the settings that you want.
160
+
2. When done, select **Save changes**.
121
161
122
162
## Remove an account
123
163
@@ -138,10 +178,23 @@ To sign out of all accounts:
138
178
139
179
::: moniker range="vs-2022"
140
180
181
+
<aname="profile"></a>
182
+
183
+
## Update your Personalization Account profile
184
+
185
+
1. Go to **File > Account Settings...** and select **Manage Visual Studio profile** or **Manage GitHub profile** link.
186
+
1. In the browser window, select **Edit profile** and change the settings that you want.
187
+
1. When done, select **Save**.
188
+
189
+
If you signed in with first with a GitHub account, it is set as your Personalization Account. GitHub accounts can't be used to roam settings across devices. Sign in with a Microsoft account to enable roaming settings.
190
+
When you sign in with a Microsoft account, it becomes your Personalization Account even if you're already signed in with a GitHub account.
191
+
141
192
## Remove an account
142
193
143
194
You can remove any of the multiple accounts you've added to Visual Studio. When you remove an account, only that specific account is impacted and any resources associated with that account are no longer accessible. However, if you select **Sign out**, [all accounts are signed out](#sign-out-of-all-accounts).
144
195
196
+
*If your Personalization Account is a Microsoft account, removing this account removes all accounts and is similar to signing out of all accounts.
197
+
145
198
1. Select the icon with your profile name in the upper-right corner of your Visual Studio environment.
146
199
1. Select **Remove account** for the account you want to remove.
147
200
@@ -164,7 +217,7 @@ To sign out of all accounts:
164
217
1. Select the icon with your profile name in the upper-right corner of your Visual Studio environment.
165
218
1. Select **Sign out**.
166
219
167
-
:::image type="content" source="media/vs-2022/signing-in-to-visual-studio/sign-out-all-accounts.png" alt-text="Screenshot of signing out of all accounts.":::
220
+
:::image type="content" source="media/vs-2022/signing-in-to-visual-studio/sign-out-profile-card.png" alt-text="Screenshot of signing out of all accounts from profile card.":::
168
221
169
222
You can also use the **Account Settings** dialog to sign out of all accounts.
170
223
@@ -175,4 +228,5 @@ You can also use the **Account Settings** dialog to sign out of all accounts.
175
228
-[Access multiple accounts associated with the Visual Studio sign-in account](sign-in-access-multiple-accounts.md)
176
229
-[Work with GitHub accounts in Visual Studio](work-with-github-accounts.md)
177
230
-[Extend a trial version or update a license](how-to-unlock-visual-studio.md)
178
-
-[Sign in to Visual Studio with accounts that require multifactor authentication (MFA)](work-with-multi-factor-authentication.md)
231
+
-[Sign in to Visual Studio with accounts that require multifactor authentication (MFA)](work-with-multi-factor-authentication.md)
232
+
-[Subscription support page](https://visualstudio.microsoft.com/subscriptions/support/)
0 commit comments