Configure a VPN client for P2S OpenVPN protocol connections: Azure AD authentication (Preview)

This article helps you configure a VPN client to connect to a virtual network using Point-to-Site VPN and Azure Active Directory authentication. Before you can connect and authenticate using Azure AD, you must first configure your Azure AD tenant. For more information, see Configure an Azure AD tenant.

Note

Azure AD authentication is supported only for OpenVPNĀ® protocol connections.

Working with client profiles

To connect, you need to download the Azure VPN Client (Preview) and configure a VPN client profile on every computer that wants to connect to the VNet. You can create a client profile on a computer, export it, and then import it to additional computers.

To download the Azure VPN client

Use this link to download the Azure VPN Client (Preview).

To create a certificate-based client profile

When working with a certificate-based profile, make sure that the appropriate certificates are installed on the client computer. For more information about certificates, see Install client certificates.

cert

To create a RADIUS client profile

radius

To export and distribute a client profile

Once you have a working profile and need to distribute it to other users, you can export it using the following steps:

  1. Highlight the VPN client profile that you want to export, select the ..., then select Export.

    export

  2. Select the location that you want to save this profile to, leave the file name as is, then select Save to save the xml file.

    export

To import a client profile

  1. On the page, select Import.

    import

  2. Browse to the profile xml file and select it. With the file selected, select Open.

    import

  3. Specify the name of the profile and select Save.

    import

  4. Select Connect to connect to the VPN.

    import

  5. Once connected, the icon will turn green and say Connected.

    import

To delete a client profile

  1. Select the ellipses next to the client profile that you want to delete. Then, select Remove.

    delete

  2. Select Remove to delete.

    delete

Create a connection

  1. On the page, select +, then + Add.

    connection

  2. Fill out the connection information. If you are unsure of the values, contact your administrator. After filling out the values, select Save.

    connection

  3. Select Connect to connect to the VPN.

    connection

  4. Select the proper credentials, then select Continue.

    connection

  5. Once successfully connected, the icon will turn green and say Connected.

    connection

To connect automatically

These steps help you configure your connection to connect automatically with Always-on.

  1. On the home page for your VPN client, select VPN Settings.

    auto

  2. Select Yes on the switch apps dialogue box.

    auto

  3. Make sure the connection that you want to set is not already connected, then highlight the profile and check the Connect automatically check box.

    auto

  4. Select Connect to initiate the VPN connection.

    auto

Diagnose connection issues

  1. To diagnose connection issues, you can use the Diagnose tool. Select the ... next to the VPN connection that you want to diagnose to reveal the menu. Then select Diagnose.

    diagnose

  2. On the Connection Properties page, select Run Diagnosis.

    diagnose

  3. Sign in with your credentials.

    diagnose

  4. View the diagnosis results.

    diagnose

Next steps

For more information, see Create an Azure Active Directory tenant for P2S Open VPN connections that use Azure AD authentication.