大网数据广告活动
远程桌面与会话

Configure VPN conditional access on the Network Policy Server (NPS) on Windows Server

· 52CE 我爱测

Learn how to configure VPN conditional access on the Network Policy Server (NPS)

Conditional access and device compliance can require that managed devices meet standards before they can connect to the VPN. VPN conditional access allows you to restrict the VPN connections to devices whose client authentication certificate contains the Microsoft Entra Conditional Access OID of 1.3.6.1.4.1.311.87. VPN clients that try to connect by using a certificate other than the short-lived 1.3.6.1.4.1.311.87 cloud certificate will fail to connect.

This article shows you how to configure VPN conditional access directly on the NPS server. To learn how to restrict the VPN connections with Microsoft Entra Conditional Access, see Conditional access for VPN connectivity using Microsoft Entra ID.

Restrict the VPN connections

To restrict VPN connections:

  1. On the NPS server, open the Network Policy Server snap-in.

  2. Expand Policies > Network Policies. Right-click the Virtual Private Network (VPN) Connections Network Policy and then select Properties

  3. Select the Settings tab.

  4. Select Vendor Specific, and then select Add.

  5. Select the Allowed-Certificate-OID option, and then select Add.

  6. Paste the Microsoft Entra Conditional Access OID of 1.3.6.1.4.1.311.87 as the attribute value, and then select OK.

  7. Select OK again.

  8. Select Close, and then select Apply.

VPN clients that try to connect by using certificate other than the short-lived 1.3.6.1.4.1.311.87 cloud certificate will now fail to connect.

Related topics

Source: Microsoft Learn / Windows Server documentation by Microsoft and contributors (upstream author metadata: robinharwood). Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Server documentation
适用范围
Windows Server · Source date 05/04/2023
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。