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
## Extract the VPN client profile configuration package
63
63
64
64
To configure your Azure VPN Client profile, you download a VPN Client profile configuration package from the Azure P2S gateway. This package contains the necessary settings to configure the VPN client.
65
65
66
66
If you used the P2S server configuration steps as mentioned in the [Prerequisites](#prerequisites) section, you've already generated and downloaded the VPN client profile configuration package that contains the VPN profile configuration files you'll need. If you need to generate configuration files, see [Download the VPN client profile configuration package](point-to-site-entra-gateway.md#download).
67
67
68
-
## About VPN client profile configuration files
68
+
If your P2S gateway configuration was previously configured to use the older, manually registered App ID versions, your P2S configuration doesn't support the Linux VPN client. See [About the Microsoft-registered App ID for Azure VPN Client](point-to-site-entra-gateway.md).
69
69
70
-
In this section, you configure the Azure VPN client for Linux.
70
+
Locate and extract the zip file that contains the VPN client profile configuration package. The zip file contains the **AzureVPN** folder. In the AzureVPN folder, you'll see either the **azurevpnconfig_aad.xml** file, or the **azurevpnconfig.xml** file, depending on whether your P2S configuration includes multiple authentication types. The .xml file contains the settings you use to configure the VPN client profile.
71
+
72
+
### Modify profile configuration files
73
+
74
+
If your P2S configuration uses a custom audience with your Microsoft-registered App ID, you might receive error message **AADSTS650057** when you try to connect. Retrying authentication usually resolves the issue. This happens because the VPN client profile needs both the custom audience ID and the Microsoft application ID. To prevent this, modify your profile configuration .xml file to include both the custom application ID and the Microsoft application ID.
71
75
72
-
* If your P2S gateway configuration was previously configured to use the older, manually registered App ID versions, your P2S configuration doesn't support the Linux VPN client. See [About the Microsoft-registered App ID for Azure VPN Client](point-to-site-entra-gateway.md).
* For Microsoft Entra ID authentication, use the **azurevpnconfig_aad.xml** or **azurevpnconfig.xml** file that's located in the **AzureVPN** folder of the VPN client profile configuration package. The file name depends on whether your P2S configuration includes multiple authentication types.
78
+
## Import client profile configuration settings
79
+
80
+
In this section, you configure the Azure VPN client for Linux.
75
81
76
82
1. On the Azure VPN Client page, select **Import**.
Copy file name to clipboardExpand all lines: articles/vpn-gateway/point-to-site-entra-vpn-client-mac.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ description: Learn how to configure macOS client computers to connect to Azure u
4
4
author: cherylmc
5
5
ms.service: azure-vpn-gateway
6
6
ms.topic: how-to
7
-
ms.date: 10/07/2024
7
+
ms.date: 10/15/2024
8
8
ms.author: cherylmc
9
9
---
10
10
@@ -42,6 +42,12 @@ When you generate and download a VPN client profile configuration package, all t
42
42
43
43
Locate and unzip the VPN client profile configuration package you generated and downloaded (listed in the [Prerequisites](#prerequisites)). Open the **AzureVPN** folder. In this folder, you'll see either the **azurevpnconfig_aad.xml** file or the **azurevpnconfig.xml** file, depending on whether your P2S configuration includes multiple authentication types. The .xml file contains the settings you use to configure the VPN client profile.
If your P2S configuration uses a custom audience with your Microsoft-registered App ID, you might receive popups each time you connect that require you to enter your credentials again and complete authentication. Retrying authentication usually resolves the issue. This happens because the VPN client profile needs both the custom audience ID and the Microsoft application ID. To prevent this, modify your profile configuration .xml file to include both the custom application ID and the Microsoft application ID.
Copy file name to clipboardExpand all lines: articles/vpn-gateway/point-to-site-entra-vpn-client-windows.md
+13-4Lines changed: 13 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,15 @@
1
1
---
2
2
title: 'Configure Azure VPN Client - Microsoft Entra ID authentication - Microsoft-registered App ID - Windows'
3
-
description: Learn how to configure the Azure VPN Client to connect to a VNet using VPN Gateway point-to-site VPN, OpenVPN protocol connections, and Microsoft Entra ID authentication from a Windows computer. This article applies to P2S gateways configured with the Microsoft-registered App ID.
3
+
description: Learn how to configure the Azure VPN Client to connect to a virtual network using VPN Gateway point-to-site VPN, OpenVPN protocol connections, and Microsoft Entra ID authentication from a Windows computer. This article applies to P2S gateways configured with the Microsoft-registered App ID.
4
4
titleSuffix: Azure VPN Gateway
5
5
author: cherylmc
6
6
ms.service: azure-vpn-gateway
7
7
ms.topic: how-to
8
-
ms.date: 09/06/2024
8
+
ms.date: 10/15/2024
9
9
ms.author: cherylmc
10
10
11
+
#Audience and custom App ID values are not sensitive data. Please do not remove. They are required for the configuration.
12
+
11
13
---
12
14
13
15
# Configure Azure VPN Client – Microsoft Entra ID authentication – Windows
@@ -24,6 +26,7 @@ This article continues on from the [Configure a P2S VPN gateway for Microsoft En
24
26
25
27
1. Download and install the Azure VPN Client for Windows.
26
28
1. Extract the VPN client profile configuration files.
29
+
1. Update the profile configuration files with a custom audience value (if applicable).
27
30
1. Import the client profile settings to the VPN client.
28
31
1. Create a connection and connect to Azure.
29
32
@@ -37,6 +40,12 @@ To configure your Azure VPN Client profile, you must first download the VPN clie
37
40
38
41
After you obtain the VPN client profile configuration package, extract the zip file. The zip file contains the **AzureVPN** folder. The **AzureVPN** folder contains the **azurevpnconfig_aad.xml** file or the **azurevpnconfig.xml** file, depending on whether your P2S configuration includes multiple authentication types. If you don't see **azurevpnconfig_aad.xml** or **azurevpnconfig.xml**, or you don't have an **AzureVPN** folder, verify that your VPN gateway is configured to use the OpenVPN tunnel type and that Azure Active Directory (Microsoft Entra ID) authentication is selected.
If your P2S configuration uses a custom audience with your Microsoft-registered App ID, you might receive the error message **CAA20004** when you try to connect. Retrying authentication usually resolves the issue. This happens because the VPN client profile needs both the custom audience ID and the Microsoft application ID. To prevent this, modify your profile configuration .xml file to include both the custom application ID and the Microsoft application ID.
@@ -48,7 +57,7 @@ After you obtain the VPN client profile configuration package, extract the zip f
48
57
49
58
1. Browse to the Azure VPN Client profile configuration folder that you extracted. Open the **AzureVPN** folder and select the client profile configuration file (azurevpnconfig_aad.xml or azurevpnconfig.xml). Select **Open** to import the file.
50
59
51
-
1. Change the name of the Connection name (optional). In this example, you'll notice that the Audience value shown is the new Azure Public value associated to the Microsoft-registered Azure VPN Client App ID. The value in this field must match the value that your P2S VPN gateway is configured to use.
60
+
1. Change the name of the Connection name (optional). In this example, notice that the Audience value shown is the new Azure Public value associated to the Microsoft-registered Azure VPN Client App ID. The value in this field must match the value that your P2S VPN gateway is configured to use.
52
61
53
62
:::image type="content" source="./media/point-to-site-entra-vpn-client-windows/connection-properties.png" alt-text="Screenshot shows Save the profile." lightbox="./media/point-to-site-entra-vpn-client-windows/connection-properties.png":::
54
63
@@ -70,7 +79,7 @@ These steps help you configure your connection to connect automatically with Alw
70
79
71
80
:::image type="content" source="./media/point-to-site-entra-vpn-client-windows/vpn-settings.png" alt-text="Screenshot of the VPN home page with VPN Settings selected." lightbox="./media/point-to-site-entra-vpn-client-windows/vpn-settings.png":::
72
81
73
-
1. If the connection you want to configure is connected, disconnect the connection, then highlight the profile and select the **Connect automatically** check box.
82
+
1. If the profile that you want to configure is connected, disconnect the connection, then highlight the profile and select the **Connect automatically** check box.
74
83
75
84
:::image type="content" source="./media/point-to-site-entra-vpn-client-windows/automatic.png" alt-text="Screenshot of the Settings window, with the Connect automatically box checked." lightbox="./media/point-to-site-entra-vpn-client-windows/automatic.png":::
#Audience and custom App ID values are not sensitive data. Please do not remove. They are required for the configuration.
9
+
10
+
---
11
+
12
+
> [!NOTE]
13
+
> This step is necessary for P2S gateway configurations that use a custom audience value and the [Microsoft-registered Azure VPN Client app ID](../articles/vpn-gateway/point-to-site-entra-gateway.md). If this doesn't apply to your P2S gateway configuration, you can skip this step.
14
+
15
+
1. To modify the Azure VPN Client configuration .xml file, open the file using a text editor such as Notepad.
16
+
1. Next, add the value for **applicationid** and save your changes. The following example shows the application ID (audience) value for Azure Public, ```c632b3df-fb67-4d84-bdcf-b95ad541b5c8```.
17
+
18
+
**Example**
19
+
20
+
```xml
21
+
<aad>
22
+
<audience>{customAudienceID}</audience>
23
+
<issuer>https://sts.windows.net/{tenant ID value}/</issuer>
24
+
<tenant>https://login.microsoftonline.com/{tenant ID value}/</tenant>
0 commit comments