No results found
We couldn't find anything using that term, please try searching for something else.
2024-11-13 Generate VPN Client profile configuration files - Microsoft Entra ID authentication Article05/15/2024 In this article This article
This article helps you generate and extract VPN client profile configuration files. Client profile configuration files contain information that’s used to configure your VPN client. The sections in this article explain the information needed to configure the Azure VPN Client profile for Azure VPN Gateway point-to-site configurations that use Microsoft Entra authentication.
You can generate VPN client profile configuration files either with PowerShell, or the Azure portal. Either method returns the same zip file.
In the Azure portal, go to the virtual network gateway for the virtual network to which you want to connect.
On the virtual network gateway page, select Point – – site configuration to open the Point – – site configuration page.
At the top of thePoint – – site configuration page, select Download VPN client. This doesn’t download VPN client software, it generates the configuration package used to configure VPN clients. It takes a few minutes for the client configuration package to generate. During this time, you might not see any indications until the packet generates.
Once the configuration package is generated, your browser indicates that a client configuration zip file is available. It’s named the same name as your gateway.
Unzip the file to view the folders. You’ll use some, or all, of these files to configure your VPN client. The files that are generated correspond to the authentication and tunnel type settings that you configured on the P2S server.
To generate the VPN client profile configuration files using PowerShell, you can use the following example:
When you generate VPN client configuration files, the value for ‘-AuthenticationMethod’ is ‘EapTls’. Generate the VPN client configuration files using the following command:
$profile=New-AzVpnClientConfiguration -ResourceGroupName "TestRG" -Name "VNet1GW" -AuthenticationMethod "EapTls"
$profile.VPNProfileSASUrl
Copy the URL to your browser to download the zip file.
Extract the zip file. The file contains the following folders:
In the AzureVPN folder, go to the azurevpnconfig.xml file and open it with Notepad. Make a note of the text between the following tags. This information is used later when configuring the Azure VPN Client.
<audience> </audience>
<issuer> </issuer>
<tenant> </tenant>
<fqdn> </fqdn>
<serversecret> </serversecret>
When you add a connection, use the information you collected in the previous step for the profile details page. The fields correspond to the following information:
Configure VPN clients.
For more information about point-to-site, see About point-to-site.