How to get user device system in azure vpn point to site configuration for individual user disconnect action control

Nitin Arora 25 Reputation points
2023-05-08T16:35:29.07+00:00

Hi, how to get vpn user name as a individual Device name with azure vpn point 2 site. Using azure vpn basic sku and vpngw1 with another vpn with configuration like openvpn and ikv2

Azure VPN Gateway
Azure VPN Gateway
An Azure service that enables the connection of on-premises networks to Azure through site-to-site virtual private networks.
1,461 questions
{count} votes

1 answer

Sort by: Most helpful
  1. GitaraniSharma-MSFT 49,401 Reputation points Microsoft Employee
    2023-06-30T12:54:44.5166667+00:00

    Hello @Nitin Arora ,

    Apologies for the delay in response.

    I understand that you would like to know if it is possible to get the individual Device name rather than the VPN client certificate name on the Azure Point-to-site VPN session management page.

    I discussed this requirement with the Azure VPN Product Group team and below is their response:

    When you set P2S session locally, the VPN username field displays whatever info we have in the cert that was used to authenticate.

    There are 2 types of VPN tunnels - Device tunnel and User tunnel.

    If you want the device name to be displayed in the VPN username, you will need to create a Device tunnel.

    You can find the instructions to do that in the below doc:

    https://learn.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-howto-always-on-device-tunnel

    NOTE: The device tunnel is only supported for IkeV2 protocol.

    Kindly let us know if the above helps or you need further assistance on this issue.


    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.