Skip to content

Commit 0207cef

Browse files
authored
Merge pull request #7581 from MicrosoftDocs/main637787523266038656
For protected CLA branch, push strategy should use PR and merge to target branch method to work around git push error
2 parents 8f9a2b1 + 744ce2a commit 0207cef

9 files changed

+32
-23
lines changed
Loading
150 KB
Loading
26.3 KB
Loading
Loading
40.8 KB
Loading
Loading

docs/ide/work-with-multi-factor-authentication.md

Lines changed: 23 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
---
22
title: Multi-factor authentication with Visual Studio sign-ins
33
titleSuffix: ""
4-
ms.date: 05/27/2020
5-
ms.custom: SEO-VS-2020
4+
ms.date: 01/24/2020
5+
ms.custom: SEO-VS-2022
66
ms.topic: how-to
7-
description: "Learn how to use Visual Studio with accounts that require multi-factor authentication."
7+
description: "Learn how to use Visual Studio with accounts that require multi-factor authentication (MFA)."
88
author: anandmeg
99
ms.author: meghaanand
1010
manager: jmartens
@@ -14,7 +14,11 @@ ms.workload:
1414
monikerRange: ">=vs-2019"
1515
---
1616

17-
# Use Visual Studio with accounts that require multi-factor authentication (MFA)
17+
# Work with accounts that require multi-factor authentication (MFA)
18+
19+
In this article, you'll learn how to use Visual Studio with accounts that require multi-factor authentication (MFA).
20+
21+
## Why enable MFA policies?
1822

1923
When collaborating with external guest users, it's a good idea to protect your apps and data with **conditional access (CA)** policies such as **multi-factor authentication (MFA)**.
2024

@@ -23,7 +27,7 @@ Once enabled, guest users will need more than just a username and password to ac
2327
## How is the Visual Studio experience affected by MFA policies?
2428
Versions of Visual Studio prior to 16.6 may have degraded authentication experiences when used with accounts that have enabled CA policies such as MFA, and are associated with two or more tenants.
2529

26-
These issues can cause your instance of Visual Studio to prompt reauthentication multiple times per day. You may have to reenter your credentials for previously authenticated tenants, even during the course of the same Visual Studio session.
30+
These issues can cause your instance of Visual Studio to prompt reauthentication multiple times per day. You may have to re-enter your credentials for previously authenticated tenants, even during the course of the same Visual Studio session.
2731

2832
## Using Visual Studio with MFA policies
2933
In the 16.6 release, we added new capabilities to Visual Studio 2019 that streamline how users can access resources secured via CA policies such as MFA. To use this enhanced workflow, you'll need to opt into using your system's default web browser as the mechanism to add and reauthenticate Visual Studio accounts.
@@ -38,52 +42,52 @@ In the 16.6 release, we added new capabilities to Visual Studio 2019 that stream
3842
3943
To enable this workflow, go to Visual Studio's Options dialog **(Tools > Options…)**, select the **Accounts** tab and pick **System web browser** under the **Add and reauthenticate accounts using:** dropdown.
4044

41-
:::image type="content" source="media/select-system-web-browser.png" alt-text="Select system web browser from the menu.":::
45+
:::image type="content" source="media/vs-2022/select-system-web-browser.png" alt-text="Select system web browser from the menu.":::
4246

4347
### Sign into additional accounts with MFA policies
4448
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…)**.
4549
</br>
46-
:::image type="content" source="media/add-personalization-account.png" alt-text="Add a new personalization account to Visual Studio." border="false":::
50+
:::image type="content" source="media/vs-2022/add-personalization-account.png" alt-text="Add a new personalization account to Visual Studio." border="false":::
4751

4852
This action will open your system's default web browser, ask you to sign into your account, and validate any required MFA policy.
4953

50-
During the sign in process, you may receive an additional prompt asking you to stay signed in. This prompt will likely show up the second time an account is used to sign in. To minimize the need to re-enter your credentials, we recommend that you select **Yes**, as this ensures your credentials are preserved across browser sessions.
54+
During the sign-in process, you may receive an additional prompt asking you to stay signed in. This prompt will likely show up the second time an account is used to sign in. To minimize the need to re-enter your credentials, we recommend that you select **Yes**, as this ensures your credentials are preserved across browser sessions.
5155

52-
:::image type="content" source="media/kmsi.png" alt-text="Stay signed in?":::
56+
:::image type="content" source="media/vs-2022/keep-me-signed-in.png" alt-text="Stay signed in?":::
5357

54-
Based on your development activities and resource configuration, you may still be prompted to reenter your credentials during your session. This can occur when you add a new resource, or try accessing a resource without having previously met its CA/MFA authorization requirements.
58+
Based on your development activities and resource configuration, you may still be prompted to re-enter your credentials during your session. This can occur when you add a new resource, or try accessing a resource without having previously met its CA/MFA authorization requirements.
5559

56-
## Reauthenticating an account
57-
If there's a problem with your account, Visual Studio might ask you to reenter your account credentials.
60+
## Reauthenticating an account
61+
If there's a problem with your account, Visual Studio might ask you to re-enter your account credentials.
5862

59-
:::image type="content" source="media/reauthenticate-account.png" alt-text="Reauthenticate your Visual Studio account.":::
63+
:::image type="content" source="media/vs-2022/reauthenticate-account.png" alt-text="Reauthenticate your Visual Studio account.":::
6064

61-
Clicking on **Reenter your credentials** will open your system's default web browser and attempt to automatically refresh your credentials. If unsuccessful, you'll be asked to sign into your account and validate any required CA/MFA policy.
65+
Clicking on **Re-enter your credentials** will open your system's default web browser and attempt to automatically refresh your credentials. If unsuccessful, you'll be asked to sign into your account and validate any required CA/MFA policy.
6266

6367
> [!NOTE]
6468
> For the best experience, keep your browser open until all CA/MFA policies are validated for your resources. Closing the browser may result in losing the previously built MFA state, and may prompt additional authorization prompts.
6569
6670
## How to opt out of using a specific Azure Active Directory tenant in Visual Studio
6771

68-
Visual Studio 2019 version 16.6 offers the flexibility to filter out tenants individually or globally, effectively hiding them from Visual Studio. Filtering eliminates the need to authenticate with that tenant, but it also means that you won't be able to access any associated resources.
72+
Visual Studio 2019 version 16.6 and above offers the flexibility to filter out tenants individually or globally, effectively hiding them from Visual Studio. Filtering eliminates the need to authenticate with that tenant, but it also means that you won't be able to access any associated resources.
6973

7074
This functionality is useful when you have multiple tenants, but want to optimize your development environment by targeting a specific subset. It can also help in instances when you can't validate a particular CA/MFA policy, as you can filter out the offending tenant.
7175

7276
### How to filter out all tenants
73-
To globally filter out all tenants, open the Account Settings dialog **(File > Account Settings)** and deselect the **Authenticate Across all Azure Active Directories** checkbox.
77+
To globally filter out all tenants, open the Account Settings dialog **(File > Account Settings... > Account options)** and deselect the **Authenticate across all Azure Active Directories** checkbox.
7478

7579
Deselecting that option ensures you’ll only authenticate with the account’s default tenant. It also means that you won't be able to access any resources associated with other tenants your account might be a guest on.
7680

7781
### How to filter out individual tenants
78-
To filter tenants that are associated with your Visual Studio account, open the Account Settings dialog **(File > Account Settings…)** and click on **Apply filter**.
82+
To filter tenants that are associated with your Visual Studio account, open the Account Settings dialog **(File > Account Settings…)** and click on **Apply filter**.
7983
</br>
8084
</br>
8185

82-
:::image type="content" source="media/apply-filter.png" alt-text="Apply filter." border="false":::
86+
:::image type="content" source="media/vs-2022/apply-filter.png" alt-text="Apply filter." border="false":::
8387

8488
The **Filter account** dialog will appear, allowing you to select which tenants you want to use with your account.
8589

86-
:::image type="content" source="media/select-filter-account.png" alt-text="Select account to filter.":::
90+
:::image type="content" source="media/vs-2022/select-filter-account.png" alt-text="Select account to filter.":::
8791

8892
## See also
8993

docs/install/visual-studio-build-numbers-and-release-dates.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: A list of released versions and build numbers for Visual Studio, so
55
author: TerryGLee
66
ms.author: tglee
77
manager: jmartens
8-
ms.date: 01/19/2022
8+
ms.date: 01/25/2022
99
ms.custom: vs-acquisition
1010
ms.topic: reference
1111
ms.workload:
@@ -24,6 +24,7 @@ The following table lists the build numbers and release dates for Visual Studio
2424

2525
| **Version**| **Channel** | **Release date** | **Build version** |
2626
| ---------------------- | ----------- | ---------------- | ----------------- |
27+
| 17.1.0 | Preview 4 | January 25, 2022 | 17.1.32120.378 |
2728
| 17.1.0 | Preview 3 | January 19, 2022 | 17.1.32113.165 |
2829
| 17.0.5 | Release | January 13, 2022 | 17.0.32112.339 |
2930
| 17.1.0 | Preview 2 | January 5, 2022 | 17.1.32104.313 |

docs/javascript/tutorial-asp-net-core-with-react.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Make sure to have the following installed:
3434

3535
- Visual Studio 2022 Preview 2 or later with the **ASP.NET and web development** workload installed. Go to the [Visual Studio downloads](https://visualstudio.microsoft.com/downloads/) page to install it for free.
3636
If you need to install the workload and already have Visual Studio, go to **Tools** > **Get Tools and Features...**, which opens the Visual Studio Installer. Choose the **ASP.NET and web development** workload, then choose **Modify**.
37-
- npm ([https://www.npmjs.com/](https://www.npmjs.com/))
37+
- npm ([https://www.npmjs.com/](https://www.npmjs.com/package/npm))
3838
- npx ([https://www.npmjs.com/package/npx](https://www.npmjs.com/package/npx))
3939

4040
## Create the frontend app
@@ -59,6 +59,10 @@ Make sure to have the following installed:
5959
- App.js (modified)
6060
- App.test.js (modified)
6161

62+
1. Select an installed browser from the Debug toolbar, such as Chrome or Microsoft Edge.
63+
64+
If the browser you want is not yet installed, install the browser first, and then select it.
65+
6266
## Create the backend app
6367

6468
1. In the solution explorer, right-click the solution name, hover over **Add**, and then select **New Project**.
@@ -80,13 +84,13 @@ Make sure to have the following installed:
8084
1. Right-click the ASP.NET Core project and choose **Properties**.
8185

8286
:::image type="content" source="media/vs-2022/asp-net-core-project-properties.png" alt-text="Open project properties":::
83-
87+
8488
1. Go to the Debug menu and select **Open debug launch profiles UI** option. Uncheck the **Launch Browser** option.
8589

8690
:::image type="content" source="media/vs-2022/asp-net-core-with-react-deselect-launch-browser.png" alt-text="Open debug launch profiles UI":::
8791

8892
1. Next, right-click the React project and select the **Properties** menu and go the **Debugging** section. Change the Debugger to launch to the **launch.json** option.
89-
93+
9094
:::image type="content" source="media/vs-2022/asp-net-core-with-react-choose-debugger.png" alt-text="Choose the debugger (launch.json)":::
9195

9296
## Set the startup project

0 commit comments

Comments
 (0)