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/work-with-multi-factor-authentication.md
+15-9Lines changed: 15 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -35,15 +35,13 @@ You can access resources secured via CA policies such as MFA in Visual Studio. T
35
35
36
36
::: moniker range="=vs-2022"
37
37
38
-
You can access resources secured via CA policies such as MFA in Visual Studio.
39
-
40
38
With [Visual Studio 2022 version 17.11](/visualstudio/releases/2022/release-notes), Windows authentication broker is now the default workflow for adding and reauthenticating accounts in Visual Studio.
41
39
42
-
Windows authentication broker uses [Web Account Manager (WAM)](/entra/msal/dotnet/acquiring-tokens/desktop-mobile/wam) and offers many benefits such as security, improved MFA support, and seamless integration between accounts added to the OS and Visual Studio.
40
+
Windows authentication broker uses [Web Account Manager (WAM)](/entra/msal/dotnet/acquiring-tokens/desktop-mobile/wam) and offers many benefits such as security, improved MFA support, and seamless integration between accounts added to the OS and Visual Studio. Using WAM as the authentication mechanism in Visual Studio makes it easier to access resources secured via CA policies such as MFA.
43
41
44
42
:::image type="content" source="media/vs-2022/windows-authentication-broker.png" alt-text="Select web authentication broker from the dropdown.":::
45
43
46
-
If run into any [issues with using WAM](#web-account-manager-wam-errors), we recommend you use the System web browser as the alternative to add and reauthenticate Visual Studio accounts.
44
+
If run into any [issues with using WAM](#web-account-manager-wam-errors), we recommend you [use System web browser](#enabling-system-web-browser) as the alternative to add and reauthenticate Visual Studio accounts.
47
45
48
46
::: moniker-end
49
47
@@ -63,35 +61,43 @@ To start using WAM as the authentication mechanism in Visual Studio:
63
61
64
62
You can manage your accounts from the **Account Settings** dialog in Visual Studio.
65
63
64
+
Using Windows Account Manager (WAM) as the authentication mechanism in Visual Studio is the recommended workflow for adding and reauthenticating accounts. However, if run into any [issues with using WAM](#web-account-manager-wam-errors), you can switch to using the system web browser.
65
+
66
66
::: moniker-end
67
67
68
68
### Enabling system web browser
69
69
70
70
> [!NOTE]
71
71
> For the best experience, we recommend that you clear your system’s default web browser data before proceeding with this workflow. Additionally, if you have Work or School accounts in your Windows 10 Settings under **Access work or school**, please verify that they are properly authenticated.
72
72
73
-
Using Windows Account Manager (WAM) as the authentication mechanism in Visual Studio is the recommended workflow for adding and reauthenticating accounts. However, if run into any [issues with using WAM](#web-account-manager-wam-errors), you can switch to using the system web browser.
74
-
75
73
To enable the **system web browser** workflow, go to Visual Studio's Options dialog **(Tools > Options…)**, select the **Accounts** tab and select **System web browser** from the **Add and reauthenticate accounts using:** dropdown.
76
74
77
75
:::image type="content" source="media/vs-2022/select-system-web-browser.png" alt-text="Select system web browser from the menu.":::
78
76
79
77
### Sign into additional accounts with MFA policies
80
78
79
+
::: moniker range="<=vs-2019"
80
+
81
+
Once the system web browser workflow is enabled, you can sign in or add accounts to Visual Studio as you normally would, via the Account Settings dialog **(File > Account Settings…)**.
82
+
83
+
::: moniker-end
84
+
81
85
::: moniker range="=vs-2022"
82
86
87
+
You can sign in or add accounts to Visual Studio via the [Profile Card](signing-in-to-visual-studio.md#add-and-switch-user-accounts-in-visual-studio) or the Account Settings dialog **(File > Account Settings…)**.
88
+
83
89
**Windows authentication broker**
84
90
85
-
Once the Windows authentication broker workflow is enabled, you can sign in or add accounts to Visual Studio as you normally would, via the Account Settings dialog **(File > Account Settings…)**. Web Account Manager (WAM) simplifies the sign in experience by allowing users to log in with accounts known to Windows, such as the account signed into your Windows session.
91
+
Once the Windows authentication broker workflow is enabled, you can sign in or add accounts to Visual Studio as you normally would. Web Account Manager (WAM) simplifies the sign in experience by allowing users to log in with accounts known to Windows, such as the account signed into your Windows session.
86
92
87
93
:::image type="content" source="media/vs-2022/add-personalization-account-web-account-manager.png" alt-text="Add additional accounts to Visual Studio with the Windows authentication broker workflow.":::
88
94
89
95
**System web browser**
90
96
97
+
Once the system web browser workflow is enabled, you can sign in or add accounts to Visual Studio as you normally would.
98
+
91
99
::: moniker-end
92
100
93
-
Once the system web browser workflow is enabled, you can sign in or add accounts to Visual Studio as you normally would, via the Account Settings dialog **(File > Account Settings…)**.
94
-
</br>
95
101
:::image type="content" source="media/vs-2022/add-personalization-account.png" alt-text="Add a new personalization account to Visual Studio." border="false":::
96
102
97
103
This action will open your system's default web browser, ask you to sign into your account, and validate any required MFA policy.
0 commit comments