Skip to content

Commit da0874a

Browse files
Merge pull request #252502 from cherylmc/bastionad
update cli command
2 parents bef09c5 + e930292 commit da0874a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

articles/bastion/connect-vm-native-client-windows.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Learn how to connect to a VM from a Windows computer by using Basti
55
author: cherylmc
66
ms.service: bastion
77
ms.topic: how-to
8-
ms.date: 08/08/2023
8+
ms.date: 09/21/2023
99
ms.author: cherylmc
1010
---
1111

@@ -58,9 +58,7 @@ The steps in the following sections help you connect to a VM from a Windows nati
5858

5959
Optionally, you can also specify the authentication method as part of the command.
6060

61-
* **Azure AD authentication:** `--auth-type "AAD"` For more information, see [Azure Windows VMs and Azure AD](../active-directory/devices/howto-vm-sign-in-azure-ad-windows.md).
62-
63-
* **User name and password:** `--auth-type "password" --username "<Username>"`
61+
* **Azure AD authentication:** For Windows 10 version 20H2+, Windows 11 21H2+, and Windows Server 2022, use `--enable-mfa`. For more information, see [az network bastion rdp - optional parameters](/cli/azure/network/bastion?#az-network-bastion-rdp(bastion)-optional-parameters).
6462

6563
#### Specify a custom port
6664

0 commit comments

Comments
 (0)