Skip to content

Commit 15dd748

Browse files
authored
Merge pull request #293037 from cherylmc/vwan-change-audience
Change custom audience
2 parents b395e70 + 1ca12e2 commit 15dd748

File tree

4 files changed

+66
-2
lines changed

4 files changed

+66
-2
lines changed

articles/virtual-wan/TOC.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,8 @@
212212
href: point-to-site-entra-gateway.md
213213
- name: Configure P2S - manually registered VPN client
214214
href: virtual-wan-point-to-site-azure-ad.md
215+
- name: Create or modify custom audience app ID
216+
href: point-to-site-entra-register-custom-app.md
215217
- name: Configure a tenant
216218
href: openvpn-azure-ad-tenant.md
217219
- name: Configure multifactor authentication (MFA)

articles/virtual-wan/point-to-site-entra-gateway.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ ms.author: cherylmc
1717
This article helps you configure point-to-site User VPN connection to Virtual WAN that uses Microsoft Entra ID authentication and the new Microsoft-registered Azure VPN Client App ID.
1818

1919
> [!NOTE]
20-
> The steps in this article apply to Microsoft Entra ID authentication using the new Microsoft-registered Azure VPN Client App ID and associated Audience values. This article doesn't apply to the older, manually registered Azure VPN Client app for your tenant. For the manually registered Azure VPN Client steps, see [Configure P2S using manually registered VPN client](virtual-wan-point-to-site-azure-ad.md).
20+
> The steps in this article apply to Microsoft Entra ID authentication using the new Microsoft-registered Azure VPN Client App ID and associated Audience values. This article doesn't apply to the older, manually registered Azure VPN Client app for your tenant. For the manually registered Azure VPN Client steps, see [Configure P2S User VPN using manually registered VPN client](virtual-wan-point-to-site-azure-ad.md).
2121
2222
[!INCLUDE [About Microsoft-registered app](../../includes/virtual-wan-entra-app-id-descriptions.md)]
2323

@@ -48,6 +48,8 @@ Verify that you've met the following criteria before beginning your configuratio
4848

4949
* You need a Microsoft Entra ID tenant for this configuration. If you don't have one, you can create one by following the instructions in [Create a new tenant](/entra/fundamentals/create-new-tenant).
5050

51+
* If you want to use a custom audience value, see [Create or modify custom audience app ID](point-to-site-entra-register-custom-app.md).
52+
5153
## <a name="wan"></a>Create a virtual WAN
5254

5355
From a browser, navigate to the [Azure portal](https://portal.azure.com) and sign in with your Azure account.
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
---
2+
title: Create custom app ID for P2S VPN Microsoft Entra ID authentication
3+
titleSuffix: Azure Virtual WAN
4+
description: Learn how to create or modify a custom audience App ID or upgrade an existing custom App ID to the new Microsoft-registered Azure VPN Client app values for Azure Virtual WAN.
5+
author: cherylmc
6+
ms.service: azure-virtual-wan
7+
ms.topic: concept-article
8+
ms.date: 01/14/2025
9+
ms.author: cherylmc
10+
---
11+
12+
# Create or modify a custom audience app ID for User VPN Microsoft Entra ID authentication
13+
14+
The steps in this article help you create a Microsoft Entra ID custom App ID (custom audience) for the new Microsoft-registered Azure VPN Client for User VPN point-to-site (P2S) connections. You can also update your existing tenant to [change the new Microsoft-registered Azure VPN Client app](#change) from the previous Azure VPN Client app.
15+
16+
When you configure a custom audience app ID, you can use any of the supported values associated with the Azure VPN Client app. We recommend that you associate the Microsoft-registered App ID Azure Public audience value `c632b3df-fb67-4d84-bdcf-b95ad541b5c8` to your custom app when possible. For the full list of supported values, see the [Azure VPN Client Audience values table](point-to-site-entra-gateway.md).
17+
18+
This article provides high-level steps. The screenshots to register an application might be slightly different, depending on the way you access the user interface, but the settings are the same. For more information, see [Quickstart: Register an application](/entra/identity-platform/quickstart-register-app).
19+
20+
## Prerequisites
21+
22+
* This article assumes that you already have a Microsoft Entra tenant and the permissions to create an Enterprise Application, typically the [Cloud Application Administrator role](/entra/identity/role-based-access-control/permissions-reference#cloud-application-administrator) or higher. For more information, see [Create a new tenant in Microsoft Entra ID](/entra/fundamentals/create-new-tenant) and [Assign user roles with Microsoft Entra ID](/entra/fundamentals/users-assign-role-azure-portal).
23+
24+
* This article assumes that you're using the **Microsoft-registered App ID Azure Public** audience value `c632b3df-fb67-4d84-bdcf-b95ad541b5c8` to configure your custom app. This value has global consent, which means you don't need to manually register it to provide consent for your organization. We recommend that you use this value.
25+
26+
* At this time, there's only one supported audience value for the Microsoft-registered app. See the [supported audience value table](../vpn-gateway/point-to-site-about.md#entra-id) for additional supported values.
27+
28+
* If the Microsoft-registered audience value isn't compatible with your configuration, you can still use the older manually registered ID values.
29+
30+
* If you need to use a manually registered app ID value instead, you must give consent to allow the app to sign in and read user profiles before proceeding with this configuration. You must sign in with an account that's assigned the [Cloud Application Administrator role](/entra/identity/role-based-access-control/permissions-reference#cloud-application-administrator).
31+
32+
1. To grant admin consent for your organization, modify the following command to contain the desired `client_id` value. In the example, the client_id value is for Azure Public. See the [table](../vpn-gateway/point-to-site-about.md#entra-id) for additional supported values.
33+
34+
```https://login.microsoftonline.com/common/oauth2/authorize?client_id=41b23e61-6c1e-4545-b367-cd054e0ed4b4&response_type=code&redirect_uri=https://portal.azure.com&nonce=1234&prompt=admin_consent```
35+
36+
1. Copy and paste the URL that pertains to your deployment location in the address bar of your browser.
37+
1. Select the account that has the [Cloud Application Administrator role](/entra/identity/role-based-access-control/permissions-reference#cloud-application-administrator) if prompted.
38+
1. On the **Permissions** requested page, select **Accept**.
39+
40+
[!INCLUDE [Configure custom audience](../../includes/vpn-gateway-custom-audience.md)]
41+
42+
## Configure the gateway
43+
44+
After you've completed the steps in the previous sections, continue to [Configure Virtual WAN User VPN for Microsoft Entra ID authentication - Microsoft-registered app](point-to-site-entra-gateway.md).
45+
46+
## <a name="change"></a>Update to Microsoft-registered VPN app Client ID
47+
48+
> [!NOTE]
49+
> These steps can be used for any of the supported values associated with the Azure VPN Client app. We recommend that you associate the Microsoft-registered App ID Azure Public audience value `c632b3df-fb67-4d84-bdcf-b95ad541b5c8` to your custom app when possible.
50+
51+
[!INCLUDE [Change custom audience](../../includes/vpn-gateway-custom-audience-change.md)]
52+
53+
## Next steps
54+
55+
[Configure Virtual WAN P2S User VPN for Microsoft Entra ID authentication - Microsoft-registered app](point-to-site-entra-gateway.md).

articles/virtual-wan/virtual-wan-point-to-site-azure-ad.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ author: cherylmc
77

88
ms.service: azure-virtual-wan
99
ms.topic: how-to
10-
ms.date: 09/24/2024
10+
ms.date: 01/15/2025
1111
ms.author: cherylmc
1212

1313
#Audience ID values are not sensitive data.
@@ -17,6 +17,11 @@ ms.author: cherylmc
1717

1818
This article shows you how to use Virtual WAN to connect to your resources in Azure. In this article, you create a point-to-site User VPN connection to Virtual WAN that uses Microsoft Entra authentication. Microsoft Entra authentication is only available for gateways that use the OpenVPN protocol.
1919

20+
> [!NOTE]
21+
> Instead of using the steps in this article, we recommend that you use the new [Microsoft-registered Azure VPN Client App ID](point-to-site-entra-gateway.md) article for your User VPN configuration when possible.
22+
23+
[!INCLUDE [About Microsoft-registered app](../../includes/virtual-wan-entra-app-id-descriptions.md)]
24+
2025
[!INCLUDE [OpenVPN note](../../includes/vpn-gateway-openvpn-auth-include.md)]
2126

2227
In this article, you learn how to:

0 commit comments

Comments
 (0)