Skip to content

Commit fc9f642

Browse files
committed
add profile value
1 parent d978043 commit fc9f642

File tree

4 files changed

+59
-11
lines changed

4 files changed

+59
-11
lines changed

articles/vpn-gateway/point-to-site-entra-vpn-client-linux.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ author: cherylmc
66
ms.service: azure-vpn-gateway
77
ms.custom: linux-related-content
88
ms.topic: how-to
9-
ms.date: 09/09/2024
9+
ms.date: 10/15/2024
1010
ms.author: cherylmc
1111
---
1212

@@ -59,19 +59,25 @@ sudo apt-get update
5959
sudo apt-get install microsoft-azurevpnclient
6060
```
6161

62-
## Download VPN client profile configuration files
62+
## Extract the VPN client profile configuration package
6363

6464
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.
6565

6666
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).
6767

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).
6969

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.
7175

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).
76+
[!INCLUDE [custom audience steps](../../includes/vpn-gateway-entra-vpn-client-custom.md)]
7377

74-
* 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.
7581

7682
1. On the Azure VPN Client page, select **Import**.
7783

articles/vpn-gateway/point-to-site-entra-vpn-client-mac.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Learn how to configure macOS client computers to connect to Azure u
44
author: cherylmc
55
ms.service: azure-vpn-gateway
66
ms.topic: how-to
7-
ms.date: 10/07/2024
7+
ms.date: 10/15/2024
88
ms.author: cherylmc
99
---
1010

@@ -42,6 +42,12 @@ When you generate and download a VPN client profile configuration package, all t
4242

4343
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.
4444

45+
## <a name="modify"></a>Modify profile configuration files
46+
47+
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.
48+
49+
[!INCLUDE [custom audience steps](../../includes/vpn-gateway-entra-vpn-client-custom.md)]
50+
4551
## Import VPN client profile configuration files
4652

4753
> [!NOTE]

articles/vpn-gateway/point-to-site-entra-vpn-client-windows.md

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
---
22
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.
44
titleSuffix: Azure VPN Gateway
55
author: cherylmc
66
ms.service: azure-vpn-gateway
77
ms.topic: how-to
8-
ms.date: 09/06/2024
8+
ms.date: 10/15/2024
99
ms.author: cherylmc
1010

11+
#Audience and custom App ID values are not sensitive data. Please do not remove. They are required for the configuration.
12+
1113
---
1214

1315
# 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
2426

2527
1. Download and install the Azure VPN Client for Windows.
2628
1. Extract the VPN client profile configuration files.
29+
1. Update the profile configuration files with a custom audience value (if applicable).
2730
1. Import the client profile settings to the VPN client.
2831
1. Create a connection and connect to Azure.
2932

@@ -37,6 +40,12 @@ To configure your Azure VPN Client profile, you must first download the VPN clie
3740

3841
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.
3942

43+
## <a name="modify"></a>Modify profile configuration files
44+
45+
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.
46+
47+
[!INCLUDE [custom audience steps](../../includes/vpn-gateway-entra-vpn-client-custom.md)]
48+
4049
## <a name="import"></a>Import client profile configuration settings
4150

4251
> [!NOTE]
@@ -48,7 +57,7 @@ After you obtain the VPN client profile configuration package, extract the zip f
4857

4958
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.
5059

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.
5261

5362
:::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":::
5463

@@ -70,7 +79,7 @@ These steps help you configure your connection to connect automatically with Alw
7079

7180
:::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":::
7281

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.
7483

7584
:::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":::
7685

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
author: cherylmc
3+
ms.author: cherylmc
4+
ms.date: 10/14/2024
5+
ms.service: azure-vpn-gateway
6+
ms.topic: include
7+
8+
#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>
25+
<applicationid>c632b3df-fb67-4d84-bdcf-b95ad541b5c8</applicationid>
26+
</aad>
27+
```

0 commit comments

Comments
 (0)