Entra Private Access Device Access Overview

Microsoft recently introduced Device Access for Entra Private Access, now available in public preview with Global Secure Access (GSA) client v2.35.136. Device Access lets Windows devices connect to selected private resources before a user signs in. It’s especially useful for hybrid Entra-joined endpoints, which still rely on on-premises Active Directory for authentication, Group Policy, and management. For pre-logon connectivity, Device Access gives Entra Private Access feature parity with the Always On VPN device tunnel and the DirectAccess infrastructure tunnel, which removes one of the last obstacles for organizations moving from traditional VPN to Global Secure Access. However, it does not support the manage-out scenario that Always On VPN and DirectAccess provide. Microsoft’s documentation covers configuration in detail, so the following sections focus on what Device Access is, how it works, and what administrators should consider before deploying it.

The Pre-Logon Problem

Until now, the GSA client set up tunnels only after a user signed in, so devices couldn’t reach on-premises resources at startup or from the Windows sign-in screen. This matters most for hybrid Entra-joined endpoints. Entra-joined devices authenticate users against Entra ID and can sign in from anywhere with internet access. Hybrid-joined devices, however, are joined to on-premises Active Directory and must reach domain controllers and other on-premises infrastructure to complete several common tasks, including the following.

  • First-time sign-in for a user without cached credentials
  • Password changes and resets at the Windows sign-in screen
  • Computer and user Group Policy processing
  • Time synchronization with the domain hierarchy
  • Machine account password updates and other domain maintenance tasks
  • Connectivity to on-premises management tools such as Configuration Manager and WSUS

Without a pre-logon connection, remote hybrid-joined devices slowly drift out of compliance with on-premises policy, and new users or users with expired passwords must come into the office or use a separate VPN to sign in. As a result, many organizations kept Always On VPN or DirectAccess in place alongside Global Secure Access. Device Access closes this gap by keeping the device connected to the domain whenever it has internet access.

How Device Access Works

Device Access authenticates the device itself to Global Secure Access and opens a device tunnel for a selected set of private applications. The GSA client now runs in one of the following two contexts.

  • Device context: The device tunnel is active after a restart and before sign-in, after sign-out, while the session is locked, and after the device resumes from sleep or hibernation.
  • User context: Once the user signs in and user tunnels are established, existing connections drain over the device tunnel and new connections use the user tunnel. If the user context is no longer available, the client returns to the device context.

Feature Parity with Always On VPN and DirectAccess

Administrators familiar with Always On VPN and DirectAccess will recognize this model. The Always On VPN device tunnel and the DirectAccess infrastructure tunnel both connect before the user signs in. They give the device access to domain controllers, DNS, and management servers so that remote endpoints can be managed like devices on the corporate network. Device Access delivers the same pre-logon capability with Entra Private Access. Like those solutions, it’s best practice to limit the device tunnel to infrastructure resources and leave application access to the user tunnel, where Conditional Access and per-user policy apply. For organizations that want to replace Always On VPN or DirectAccess with Global Secure Access, Device Access closes the last major functional gap for pre-logon connectivity. Note that the Always On VPN device tunnel and DirectAccess support only domain-joined devices, but Device Access requires devices to be hybrid Entra-joined or Entra-joined. Organizations migrating from either platform should plan to complete hybrid join before rolling out Device Access.

No Manage-Out Support

One important Always On VPN and DirectAccess capability is not available with Device Access. Always On VPN and DirectAccess support manage-out, where administrators and management systems on the internal network initiate connections outbound to remote clients. Common examples include remote assistance, Remote Desktop, remote PowerShell, and on-premises tools that push software or scan endpoints. Manage-out works with those solutions because the remote client has an IP address that is routable on the internal network, either an address from the VPN client address pool with Always On VPN or an IPv6 address with DirectAccess. Entra Private Access works differently. The GSA client functions like a proxy, sending outbound connections through the Global Secure Access service to a Private Network Connector, which then connects to the internal resource on the client’s behalf. Internal resources see the connector server’s IP address, not the client’s, and the endpoint never receives a routable internal IP address. As a result, there’s no network path from the internal network back to the client, and Device Access doesn’t change that. Organizations that rely on manage-out today should identify cloud-based alternatives, such as Microsoft Intune for device management and remote actions, Intune Remote Help for remote assistance, and Microsoft Defender for Endpoint live response, before retiring Always On VPN or DirectAccess.

Key Components

Device Access builds on existing Entra Private Access components and adds a new type of forwarding profile. A deployment includes the following elements.

  • Device Access profile: A new Private Device Access profile, configured under Global Secure Access > Connect > Traffic forwarding > Device Access profiles. It has its own acquisition rules, priority, and status, independent of user-context forwarding profiles.
  • Per-application opt-in: Each private application the device needs must have the Enable Device Access with Global Secure Access setting turned on. This setting is off by default, and only applications with it enabled can be added to the profile.
  • Private DNS: Required for Active Directory scenarios so Windows can locate domain controllers using the on-premises DNS suffix. If Private DNS is configured on Quick Access, the profile uses only the Quick Access Private DNS definitions. It does not use the Quick Access application segments.
  • Assignments: The profile is assigned to devices (No devices, All devices, or Selected devices) and to the Windows platform.
Entra admin center enterprise application network access properties with Enable Device Access with Global Secure Access selected

Enable Device Access with Global Secure Access Setting

Requirements

Before deploying Device Access, administrators must meet the following prerequisites.

  • Windows devices that are hybrid Entra-joined or Entra-joined. Devices that are only domain-joined are not supported.
  • The Device Access-compatible GSA client (v2.35.136 or later), deployed through Intune or another MDM solution.
  • Private network connectors deployed for the networks that host the target resources.
  • Application segments for each private resource the device must reach, including domain controllers published as their own private application.
  • No additional license. Device Access is included with Global Secure Access for all currently eligible users.

Limitations

Device Access is currently in preview and has the following limitations.

  • Windows only.
  • Private Access traffic only. Internet Access and Microsoft 365 traffic is not tunneled in the device context.
  • No manage-out. Internal systems cannot start connections to remote clients.
  • Configuration changes can take several minutes to take effect.

Deployment Considerations

The device tunnel is active whenever no user is signed in, so administrators should treat it as a privileged path into the network. Enable Device Access only for the applications that devices actually need before sign-in, such as domain controllers, DNS, and management infrastructure. To stage a profile without applying it, set its status to Disabled or its device assignment to No devices, then roll it out to a pilot group first. To verify the profile on a client, open Advanced diagnostics > Forwarding profile > Device in the GSA client and use the Context column on the Traffic tab to see whether connections use the device or user tunnel. In the Entra admin center, filter traffic logs by the Device security principal type. If a device is lost or compromised, disable its device object in Entra ID and remove it from the Device Access profile assignment. Disabling the device object blocks the device tunnel.

GSA client Advanced diagnostics Forwarding profile tab with the Device view highlighted, showing Entra rules, Private pre-logon rules, and Private Access definitions

GSA Client Device Forwarding Profile

Summary

Device Access gives Entra Private Access pre-logon connectivity, which hybrid Entra-joined endpoints need for sign-in without cached credentials, password changes, Group Policy processing, and on-premises management. It matches the Always On VPN device tunnel and DirectAccess infrastructure tunnel for pre-logon scenarios and closes the last major functional gap for pre-logon connectivity between Global Secure Access and both solutions. However, because the GSA client functions like a proxy and the endpoint has no routable internal IP address, Device Access does not support manage-out, and organizations that depend on it will need an alternative approach. Organizations migrating from Always On VPN or DirectAccess should make sure their endpoints are hybrid Entra-joined, plan for manage-out alternatives, limit the device tunnel to infrastructure resources, and test with a pilot group, since the feature is still in preview.

Additional Information

What’s New in Entra Global Secure Access Client for Windows v2.35.136

Microsoft Entra Global Secure Access

On November 16, 2026, Microsoft released a preview update for the Entra Global Secure Access (GSA) client. This latest release, v2.35.136, introduces Device Access, a long-awaited feature that provides Private Access connectivity before the user signs in to Windows. It also adds a new user interface indicator for agent traffic and fixes the GSA traceroute tool, along with memory and telemetry improvements.

Changes in v2.35.136

GSA client v2.35.136 includes the following new features and enhancements.

Device Access (Preview)

Until now, the GSA client established tunnels only in the user context. With Device Access, the GSA client can now authenticate the device itself and tunnel selected Entra Private Access traffic before a user signs in. Administrators familiar with Always On VPN will recognize this as functionally similar to the Always On VPN device tunnel. Device Access supports common pre-logon scenarios, including the following.

  • First-time sign-in and sign-in without cached credentials
  • Password change and reset workflows that require domain controller connectivity
  • Domain controller access during sign-in for authentication, time synchronization, and Group Policy processing
  • Connectivity to on-premises management services such as Configuration Manager and WSUS

Device Access is one of the most requested capabilities for Entra Private Access. It closes an important gap for organizations migrating from traditional VPN, especially those using hybrid-Entra-joined endpoints. There is a lot to cover with this feature, including requirements, configuration, and operational considerations. I cover Device Access in detail in Entra Private Access Device Access Overview.

Agent Traffic Indicator

The GSA client user interface now indicates when the client is configured, via the traffic forwarding profile, to acquire only agent traffic. This makes it easier for administrators and users to understand why other traffic is not being tunneled through GSA.

GSA Traceroute Fixed

In my previous post about GSA client v2.34.222, I noted that the new GUI version of the GSA traceroute tool (GsaTracert.exe) was broken. Launching the tool returned an error indicating it could not retrieve the forwarding profile from the registry. I’m happy to report that this issue is resolved in GSA client v2.35.136, and GsaTracert.exe now works as expected. The tool, which now opens as the Private Access Diagnostic Tool, includes the following two tabs.

  • RTT: Monitors round-trip latency through the GSA Private Access tunnel in real time. Administrators enter a destination as an application ID or host:port, and the tool displays latency for each segment of the path, from the client to the GSA point of presence (PoP), the Private Access gateway, and the Private Network Connector, along with the total. It also reports current, average, and 95th percentile (P95) RTT using a configurable sample rate.
  • Throughput: Measures download and upload throughput through the GSA Private Access tunnel using a configurable payload size. Results include average and P95 values, along with a history of each test and the PoP location used.

Results from both tests can be exported to a CSV file for further analysis or to share with Microsoft support when troubleshooting performance issues.

GSA Private Access Diagnostic Tool showing round-trip latency from the client through the PoP, Private Access Gateway, and connector

GSA Traceroute Round-Trip Time (RTT)

GSA Private Access Diagnostic Tool Throughput tab showing download and upload speeds through the Private Access tunnel

GSA Traceroute Throughput

Additional Changes

In addition to the changes highlighted above, the new GSA client includes the following additional enhancements.

  • Memory improvements
  • Telemetry changes
  • Bug fixes and other miscellaneous improvements

Summary

GSA client v2.35.136 delivers one of the most requested capabilities for Entra Private Access. Device Access enables pre-logon scenarios such as first-time sign-in, password resets, and Group Policy processing, making it much easier for organizations to move away from traditional VPN. This release also restores a working GSA traceroute tool for troubleshooting. Since this release and the Device Access feature are both in preview, organizations should test thoroughly with a pilot group before broad deployment.

Additional Information

Always On VPN Security Updates November 2026

Always On VPN security updates

Microsoft released the November 2026 security updates today, which include three vulnerabilities affecting Always On VPN deployments. This month’s release addresses issues in the Secure Socket Tunneling Protocol (SSTP) and Internet Key Exchange (IKE). And for a change, there are NO vulnerabilities in the Windows Server Routing and Remote Access Service (RRAS) this month!

SSTP Vulnerabilities

SSTP is commonly used for Always On VPN user tunnel connections. Because SSTP is, by design, exposed directly to the Internet, vulnerabilities affecting this protocol deserve attention. This month’s updates address the following two SSTP vulnerabilities. Both are rated Important.

CVE-2026-105561 – Windows SSTP Denial of Service Vulnerability (CVSS 7.5)

CVE-2026-105510 – Windows SSTP Elevation of Privilege Vulnerability (CVSS 7.0)

IKE Vulnerability

The November 2026 security updates also address a spoofing vulnerability in the Windows IKE Extension. Always On VPN implementations that use the device tunnel or IKEv2 for the user tunnel are affected. Microsoft rates this vulnerability as Important.

CVE-2026-122169 – Windows IKE Extension Spoofing Vulnerability (CVSS 7.5)

Not Using IKEv2?

If you are not using the device tunnel or IKEv2 for the user tunnel, ensure the following IKEv2 ports are blocked at the edge firewall.

  • Inbound UDP port 500 (IKE)
  • Inbound UDP port 4500 (IKE NAT-T)

In addition, consider disabling IKEv2 on the RRAS server entirely. Guidance for doing this is in my earlier post, Always On VPN IKEv2 Security Vulnerability April 2026.

No RRAS Vulnerabilities

RRAS has been a regular fixture in the monthly security updates, with several CVEs disclosed in most recent releases. September 2026 alone included eight RRAS CVEs, four of them rated Critical. It is refreshing to report that the November 2026 release includes no RRAS vulnerabilities at all.

Summary

This is a relatively light month for Always On VPN administrators. All three vulnerabilities are rated Important, and none are rated Critical. However, SSTP and IKE are both Internet-facing services in most Always On VPN deployments, so administrators should plan to deploy these updates during their next scheduled maintenance window and avoid unnecessary delays.

Additional Information

Always On VPN IKEv2 Security Vulnerability April 2026

Microsoft published its Security Updates for April 2026 today, and the good news is that there are no Windows Server Routing and Remote Access (RRAS) vulnerabilities this month. However, they disclosed a critical remote code execution (RCE) vulnerability that impacts deployments using Internet Key Exchange version 2 (IKEv2).

IKE Service Extensions RCE

CVE-2026-33824 addresses a security vulnerability in the Windows Internet Key Exchange (IKE) Service Extensions. This vulnerability is a Remote Code Execution (RCE) vulnerability, with a CVSS 3.1 base score of 9.8 (Critical). Always On VPN implementations that use the device tunnel or IKEv2 for the user tunnel are affected.

Impact

This vulnerability presents a unique challenge to Always On VPN administrators as IKEv2 is required to support device tunnel connections. Some implementations also use IKEv2 for the user tunnel. In either case, the vulnerable VPN server, often domain-joined, is reachable from the Internet, greatly increasing the attack surface and exposure to this vulnerability.

Recommendations

For deployments that use IKEv2 (device or user tunnel), administrators should update their RRAS server as soon as possible to protect against potential attacks on this service.

Not Using IKEv2?

If you are not using the device tunnel or IKEv2 for the user tunnel, ensure the following IKEv2 ports are blocked at the edge firewall.

  • Inbound UDP port 500 (IKE)
  • Inbound UDP port 4500 (IKE NAT-T)

In addition, consider disabling IKEv2 on the RRAS server by opening an elevated command window and running the following command.

netsh.exe ras set wanports device = "WAN Miniport (IKEv2)" rasinonly = disabled ddinout = disabled ddoutonly = disabled maxports = 0

Optionally, you can use the Routing and Remote Access management console (rrasmgnt.msc) to perform this task.

  1. Right-click on Ports and choose Properties.
  2. Select WAN Miniport (IKEv2).
  3. Click Configure.
  4. Uncheck Remote access connections (inbound only).
  5. Uncheck Demand-dial routing connection (inbound and outbound).
  6. Enter 0 in the Maximum ports field.
  7. Click Ok.

Additional Information

Always On VPN Device Tunnel Fails to Connect Automatically

After the April 2024 Microsoft security updates were released, many Always On VPN administrators noticed that the device tunnel suddenly stopped connecting automatically for many, if not all, their endpoints.

Note: There were additional problems with the April 2024 security update that affected the Always On VPN device tunnel. Details here.

Troubleshooting

When this problem occurs, administrators can establish the device tunnel connection successfully if it is initiated manually. This indicates that there are no issues with the IKEv2 VPN connection or security configuration.

Subscription Activation

The root cause of this issue is related to a subscription activation issue broken in the April 2024 security updates. In this case, Windows 10/11 Enterprise Edition devices that were initially provisioned using Professional Edition and used a step-up upgrade (subscription activation) to Enterprise Edition are reverting to Professional Edition. The Always On VPN device tunnel requires Enterprise Edition to work correctly. Although you can deploy a device tunnel to Windows Professional, it will not connect automatically. It will, however, connect manually.

KB5040527

On July 25, 2024, Microsoft released a preview of updates (KB5040527), including a fix for this subscription activation issue. Administrators experiencing problems with Always On VPN device tunnels where their devices revert to Professional Edition can install this update to resolve this issue.

Additional Information

What’s New in Always On VPN DPC 4.3.1

The latest release of PowerON Platforms’ Always On VPN Dynamic Profile Configurator (DPC), version 4.3.1, is now available for download. This recent update includes fixes for previously known issues. In addition, it contains some critical new features administrators will find helpful in addressing the challenges they face with Always On VPN client configuration.

What Is DPC?

Always On VPN DPC is a solution to manage Always On VPN client configuration settings. It was originally designed to be used with on-premises Active Directory but can also be deployed with Microsoft Intune. DPC streamlines the configuration and management of client settings and includes many advanced features to fine-tune and optimize Always On VPN.

What’s New in 4.3.1

The following essential features are new in the 4.3.1 release of DPC.

Add Device Tunnel Routes to User Tunnel

Always On VPN administrators can now configure DPC to add device tunnel routes to the user tunnel automatically. This configuration option ensures that all traffic flows of the user tunnel when both user and device tunnels are established.

Note: This feature also requires administrators to define route metric options in DPC. Ensure the user tunnel route metrics are set to a lower value than the device tunnel metrics for proper operation.

Restart RasMan

Always On VPN connections occasionally fail with error 602 (ERROR_PORT_ALREADY_OPEN). The workaround for this is to restart the RasMan service on the endpoint. DPC now supports automatically restarting the RasMan service when this error occurs, ensuring reliable operation for Always On VPN connections.

Machine Certificate Filtering

DPC 4.3.1 now includes a feature to allow administrators to enable machine certificate filtering for Always On VPN device tunnels. This addresses a challenge when the endpoint has multiple machine certificates in its local computer certificate store when the VPN server is configured to accept a certificate with a specific custom application policy (EKU).

Additional Features

In addition, the updated DPC agent core service now run as x64 processes. Also, DPC now supports VPN server FQDNs longer than 63 characters (good news for those using DPC with Azure VPN gateway!).

Download DPC

For those customers currently licensed for Always On VPN DPC you can download the latest release here.

https://support.poweronplatforms.com/support/solutions/articles/8000066807

Additional Information

Not using DPC?

If you’re not using DPC, you are missing out! You can learn more about DPC and register for a free evaluation by visiting the link below.

https://aovpndpc.com

Optionally, you can fill out the form below and I’ll provide you with more information.

Always On VPN Device Tunnel Issues with April 2024 Security Update

Always On VPN administrators may find that their device tunnel connections no longer connect automatically after applying the April 2024 security updates. The device tunnel connection is optional and only required under specific conditions, so end users may not be immediately impacted. However, administrators should be aware of this issue.

Note: The issues outlined in this post have been resolved with the May 14, 2024, security updates.

Error Messages

When manually establishing an Always On VPN device tunnel connection using rapshone.exe or rasdial.exe, you may receive one of the following error messages.

Rasphone.exe

Error 0x80070057: The parameter is incorrect.

Rasdial.exe

Connecting to <Name of Device Tunnel>…The parameter is incorrect.

Affected Devices

The issue affects all supported versions of Windows with an Always On VPN device tunnel connection configured to require a specific Enhanced Key Usage (EKU) OID. Administrators can run the following PowerShell command to identify this configuration.

Get-VpnConnection -AllUserConnection -Name <Name of Device Tunnel> | Select-Object MachineCertificateEkuFilter

If the output of this PowerShell command returns data, it is affected by this issue.

Workaround

To restore Always On VPN device tunnel functionality on devices with the April 2024 security updates installed, open an elevated PowerShell command window and run the following command.

Set-VpnConnection -AllUserConnection -Name ‘Always On VPN Device Tunnel’ -MachineCertificateEKUFilter $Null

After running this command, the output should now be blank.

Caveat

The problem with implementing the workaround described here is that you likely enabled this configuration to address an issue where the wrong certificate was selected for use with the device tunnel. In this case, the workaround may result in unexpected behavior and may not restore full functionality.

Known Issue Rollback

Currently, Microsoft is aware of the issue and is actively working to resolve it. If you are experiencing this issue, open a support case with Microsoft, and they will provide you with more information and possibly a private Known Issue Rollback (KIR). I will update this post as soon as Microsoft publishes a permanent fix.

Additional Information

Considerations for Always On VPN with Azure VPN Gateway and Virtual WAN

Always On VPN Device Tunnel and Custom Cryptography Native Support Now in Intune

Organizations migrating on-premises applications, data, and infrastructure to the cloud may also consider terminating Always On VPN connections there. Using one of the native Azure VPN services might be compelling at first glance. After all, having an Azure-managed VPN gateway service sounds intuitive. However, some severe limitations exist for using Azure VPN services for Always On VPN deployments.

Azure VPN Gateway

The following are limitations for Always On VPN with Azure VPN gateway.

Authentication Methods

Azure VPN gateway supports both EAP and machine certificate authentication. However, it can only support one authentication method at a time. With only EAP or certificate authentication, administrators must choose between a device or user tunnel. A single Azure VPN gateway cannot support both at the same time. For native Entra ID joined devices, this is not a problem. However, for native on-premises Active Directory or hybrid Entra ID joined devices, this is a problem, as the device tunnel is essential in these scenarios.

Note: Technically speaking, administrators could deploy another Azure VPN gateway to work around this limitation. However, Azure limits VPN gateway deployments to one per virtual network. This requires administrators to deploy a second VPN gateway in a separate virtual network, which then requires virtual network peering to be enabled, complicating the configuration greatly.

SSTP

Although the Azure VPN gateway supports SSTP, it is, unfortunately, a second-class citizen. Today, all SKUs of the Azure VPN gateway are limited to just 128 SSTP connections (256 in active/active mode). There is currently no way to increase this. If more than 256 connections are required, you must use IKEv2.

RADIUS

In addition, there is currently no option to change the default timeout value (30 seconds) for RADIUS authentication requests. This short timeout value presents a challenge when using MFA with the NPS extension or with Azure Conditional Access, as users may be unable to respond to the push notification before the timeout expires, resulting in failed authentication attempts.

In addition, Azure does not support routing traffic to on-premises RADIUS servers over ExpressRoute connections. In this scenario, administrators must route RADIUS traffic to on-premises servers over a site-to-site connection.

Geographic Redundancy

Geographic redundancy using Azure Traffic Manager (or another global server load balancer) with two or more gateways is not supported when using the Azure VPN gateway. Azure manages the certificate used on the gateway, which includes a certificate with the subject name of the individual gateway. There is no option to supply a custom certificate with a global hostname in the subject, which is required to support geographic redundancy. With that, administrators are limited to the redundancy provided natively by the Azure VPN gateway.

IPv6

Azure does not support Azure VPN gateway in a virtual network that includes IPv6 addressing.

Azure Virtual WAN

Azure Virtual WAN includes many of the same limitations as the Azure VPN gateway, in addition to the following.

SSTP

Unlike the Azure VPN gateway, there is no support for SSTP in Azure Virtual WAN.

IPv6

IPv6 is not currently supported at all in Azure Virtual WAN.

Summary

Intuitively, it seems that leveraging native Azure VPN gateway services would be ideal. However, due to the limitations outlined in this article, administrators must decide carefully if any of these prevent adoption in their environment. Although not formally supported, many organizations deploy Windows Server Routing and Remote Access (RRAS) servers in Azure to address these limitations.

Additional Information

Always On VPN RRAS and Stale Connections

Always On VPN Updates for RRAS and IKEv2

Always On VPN administrators may be familiar with an issue that affects Windows Server Routing and Remote Access Service (RRAS) servers, where many stale VPN connections appear in the list of active connections. The issue is most prevalent when using IKEv2, either for the Always On VPN device tunnel or the user tunnel. Typically, this does not cause problems, but some administrators have reported issues related to port exhaustion or failed IKEv2 connections when many stale connections are present. Stale connections happen so frequently that I created a PowerShell script to clean them up on the RRAS server. Restarting the RemoteAccess service or rebooting the server also clears stale connections.

Microsoft Fix

Thankfully, Microsoft has addressed these issues in Windows Server 2019 and Windows Server 2022 this month. An update is now available in the March 2023 security update that resolves this problem.

You can find more information about the updates here.

The update was not made available for Windows Server 2016, however. Organizations are encouraged to upgrade to Windows Server 2019 or later to address this problem.

Additional Information

Always On VPN Error 13806

Troubleshooting Always On VPN Error 691 and 812 – Part 2

As a follow-up to my last post regarding Always On VPN error 13801, this post will cover a similar and related error administrators may encounter, the 13806 error. As mentioned previously, certificate configuration is crucial for Always On VPN deployments. I described some specific certificates requirements for IKEv2 in this earlier post. Following this guidance, administrators should have no issues with IKEv2 Always On VPN connections. However, it is always possible to encounter an error if any of these certificates are missing or misconfigured.

Error 13806

Much like the error 13801 described previously, 13806 is also common. When an Always On VPN connection using IKEv2 fails, the Windows Application event log will record an event ID 20227 from the RasClient source. The error message states the following:

“The user [username] dialed a connection named [connection name] which has failed. The error code returned on failure is 13806”.

IKE Failed To Find Valid Machine Certificate

Error 13806 translates to ERROR_IPSEC_IKE_NO_CERT, indicating IKE failed to find a valid machine certificate. The problem can be on the device, the VPN server, or an issue with the VPN server configuration.

Device Certificate

For the device tunnel, the most obvious cause of this error is a missing device authentication certificate on the client itself. Ensure the endpoint has a valid certificate issued by the organization’s internal PKI that includes Client Authentication EKU (OID 1.3.6.1.5.5.7.3.2). The certificate must have a subject name matching the device’s FQDN. It must also be valid (not expired), trusted, and not revoked.

Certificate Chain

A 13806 error will occur if the device certificate installed on the client is not trusted or if the client does not trust the certificate installed on the VPN server. Ensure the client has all the necessary root and intermediate certification authority (CA) certificates installed in their respective certificate stores.

VPN Server Certificate

A 13806 error can also occur if the VPN server does not have a properly configured server certificate. Ensure the VPN server has a valid certificate issued by the organization’s internal PKI that includes both the Server Authentication (OID 1.3.6.1.5.5.7.3.1) and IP security IKE intermediate (OID 1.3.6.1.5.5.8.2.2) EKUs. The subject name must match the public fully qualified domain name (FQDN) used by VPN clients to connect to the VPN server (not the server’s NetBIOS name). Again, ensure the certificate is valid (not expired), trusted, not revoked, and all necessary root and intermediate CA certificates are installed in their respective certificate stores.

Certificate Revocation

An expired Certificate Revocation List (CRL) can also result in a 13806 error. Open the Enterprise PKI console (pkiview.msc) on an issuing CA and review the status of all CRLs. If any are expired, resolve any issues preventing the CRL from publishing successfully, then issue a new CRL by running certutil.exe -crl on the issuing CA server.

RRAS Configuration

Another cause of the 13806 error for the user tunnel is a misconfigured Routing and Remote Access Service (RRAS) VPN server. An error 13806 can happen if the administrator incorrectly defines a trusted root CA using Set-VpnAuthProtocol. Ensure that the root certificate thumbprint matches exactly the root CA server’s thumbprint used to issue certificates to VPN devices and the VPN server.

Get-VpnAuthProtocol

Root CA Certificate Thumbprint

Resolution

Ensure that devices and VPN servers have correctly configured certificates installed. If the root CA certificate is assigned incorrectly on the VPN server, follow the guidelines detailed here to update the configuration.

Additional Information