无需 Active Directory 或本地服务器的企业级 WiFi 认证
本指南阐述了如何在没有本地 Active Directory、Windows NPS 或 RADIUS 服务器的情况下,部署安全的 WPA2/3-Enterprise WiFi 认证。内容涵盖云身份提供商与 802.1X 之间的协议不匹配问题、采用 EAP-TLS 优于 PEAP-MSCHAPv2 的理由,以及如何针对 Microsoft Entra ID、Okta 或 Google Workspace 部署结合 MDM 颁发证书的云 RADIUS。专为准备淘汰本地基础设施的云优先型及重度使用 Mac/Chromebook 的组织中的 IT 负责人编写。
收听本指南
查看播客转录
📚 核心系列的一部分:企业级 WiFi 安全与认证:完整指南 →
- Executive summary
- Technical deep-dive
- The protocol mismatch at the heart of the problem
- Why PEAP-MSCHAPv2 fails without Active Directory
- EAP-TLS: the right answer for cloud-first organisations
- How MDM replaces the on-premises CA
- SCIM and instant access revocation
- RadSec: securing RADIUS traffic over the internet
- Implementation guide
- Step 1: Connect cloud RADIUS to your identity provider
- Step 2: Configure your MDM and SCEP profile
- Step 3: Define network policies in the cloud RADIUS dashboard
- Step 4: Update access point configuration
- Best practices
- Troubleshooting and risk mitigation
- ROI and business impact

Executive summary
Most organisations have moved their identity to the cloud. Microsoft Entra ID, Okta, and Google Workspace now manage users, groups, and access policies for email, SaaS apps, and device management. But enterprise WiFi has not kept pace. Access points still expect a RADIUS server, and that RADIUS server has historically been Windows Network Policy Server (NPS) connected to an on-premises Active Directory domain controller.
This mismatch forces IT teams to maintain redundant on-premises infrastructure purely to keep the WiFi running. The solution is cloud RADIUS: a fully managed authentication service that speaks RADIUS to your access points and speaks OAuth2, SCIM, and SAML to your cloud identity provider. Pair it with EAP-TLS certificate delivery via your MDM, and you have a complete 802.1X deployment with no on-premises servers, no OS patching, and instant access revocation tied directly to your cloud directory.
Purple operates cloud RADIUS across 80,000+ venues globally, with 99.999% uptime (Purple internal data, 2024) and native integrations with Microsoft Entra ID, Okta, and Google Workspace. You can be live on your existing Cisco Meraki, HPE Aruba, Ruckus, Juniper Mist, Ubiquiti UniFi, Cambium, Extreme, or Fortinet access points in under an hour.
Technical deep-dive
The protocol mismatch at the heart of the problem
The fundamental challenge is that cloud identity providers and WiFi access points speak entirely different languages. Microsoft Entra ID (formerly Azure AD) authenticates users via SAML, OIDC, and OAuth2 - the protocols that browsers and SaaS apps use. WiFi access points use RADIUS (Remote Authentication Dial-In User Service, RFC 2865), a UDP-based protocol designed in the 1990s for dial-up and VPN. Microsoft has never shipped a native RADIUS endpoint for Entra ID. You cannot point a Meraki or Aruba access point directly at Azure and expect 802.1X to work.
This is the wall that every cloud-first IT team hits when they try to secure Staff WiFi with WPA2-Enterprise or WPA3-Enterprise. Something has to bridge the gap between the access point and the cloud identity provider. That something is cloud RADIUS.
Why PEAP-MSCHAPv2 fails without Active Directory
Historically, 802.1X deployments relied on PEAP-MSCHAPv2 (Protected Extensible Authentication Protocol with Microsoft Challenge Handshake Authentication Protocol version 2). The user typed their username and password, the access point forwarded the request to the RADIUS server, and the RADIUS server validated the password against an NTLM hash stored in Active Directory.
Microsoft Entra ID does not store NTLM hashes. This is not a configuration gap - it is a deliberate architectural decision. Entra ID is a modern cloud identity provider, not a domain controller. Consequently, a RADIUS server pointed at Entra ID cannot validate a PEAP-MSCHAPv2 challenge. The only way to make PEAP work with Entra ID is to deploy Entra Domain Services, a paid managed Active Directory that synchronises from Entra ID, and then run NPS against that. This reintroduces most of what you were trying to eliminate: Windows Server VMs, OS patching, NTLM hash storage, and manual certificate management.
EAP-TLS: the right answer for cloud-first organisations
EAP-TLS (Extensible Authentication Protocol-Transport Layer Security, RFC 5216) replaces passwords with X.509 digital certificates. The device presents a certificate to the RADIUS server. The RADIUS server validates the certificate against a trusted Certificate Authority (CA). Because there is no password in the exchange, the RADIUS server does not need an NTLM hash store. It needs only to trust the CA and to check the user's group membership in the identity provider to apply the correct VLAN and access policy.
EAP-TLS is phishing-resistant by design. There is no credential to steal. It satisfies CISA guidance on phishing-resistant multi-factor authentication and aligns with PCI DSS requirements for strong authentication on networks that handle cardholder data. It is the authentication method recommended by IEEE 802.1X for managed device fleets.

Cloud-first 802.1X authentication architecture: devices authenticate via EAP-TLS through Purple's cloud RADIUS, which validates certificates and applies group-based policy from Entra ID, Okta, or Google Workspace.
How MDM replaces the on-premises CA
In a traditional 802.1X deployment, certificates were issued by an on-premises Certificate Authority running Active Directory Certificate Services (AD CS). In a cloud-first deployment, the MDM takes over this role using SCEP (Simple Certificate Enrollment Protocol). Microsoft Intune, Jamf Pro, and other MDM platforms can request certificates from a cloud-hosted CA and push them silently to managed devices.
The flow works as follows. The IT administrator creates a SCEP certificate profile in the MDM, scoped to the device groups that require WiFi access. The MDM pushes the certificate to Windows, macOS, iOS, iPadOS, Android Enterprise, and ChromeOS devices automatically. The user sees nothing. The certificate is bound to the device identity in the MDM and renews automatically before expiry. When the device connects to the WiFi, it presents the certificate to the cloud RADIUS server, which validates it against the CA and applies the correct network policy.
For organisations using Microsoft Intune, Microsoft Cloud PKI provides a fully managed CA that integrates directly with Intune SCEP profiles, eliminating the need for an on-premises NDES (Network Device Enrollment Service) server. For Jamf-managed Mac and iOS fleets, Jamf's built-in CA or a third-party cloud CA serves the same purpose.
SCIM and instant access revocation
One of the most operationally important aspects of cloud RADIUS is SCIM (System for Cross-domain Identity Management) provisioning. SCIM is an open standard that pushes identity changes from the source of truth - your cloud identity provider - to dependent systems in real time. When an employee is disabled in Entra ID or Okta, SCIM pushes that change to the cloud RADIUS service immediately. The next time the device attempts to authenticate, the RADIUS server returns Access-Reject. With a short session timeout configured on the access point, the device is removed from the network within minutes of the account being disabled.
This is a material security improvement over shared PSK networks, where the only way to revoke access is to change the password across every device, and over legacy RADIUS deployments that rely on periodic LDAP syncs with a window of hours or days.
RadSec: securing RADIUS traffic over the internet
Traditional RADIUS uses UDP and provides only basic message authentication. When your RADIUS server is in the same data centre as your access points, this is acceptable. When your RADIUS server is a cloud service, the authentication traffic traverses the public internet. RadSec (RADIUS over TLS, RFC 6614) encrypts the RADIUS exchange using TLS, providing confidentiality and integrity for authentication traffic. Purple supports RadSec natively, with IPsec fallback for access points that do not yet support RadSec.
Implementation guide
Deploying cloud RADIUS with EAP-TLS requires four coordinated steps. A pilot SSID can be live in under an hour if Entra ID and an MDM are already in place.
Step 1: Connect cloud RADIUS to your identity provider
Connect Purple to your identity provider via OAuth2 admin consent (for Entra ID) or API token (for Okta and Google Workspace). This authorises Purple to read users, groups, and group memberships from the directory. Configure SCIM provisioning to push user state changes to Purple in real time. No service principal credentials are stored on disk. Group changes propagate on the next authentication event, not on a sync schedule.
Step 2: Configure your MDM and SCEP profile
In Microsoft Intune, create a Trusted Certificate Profile for the CA root, then create a SCEP certificate profile pointing at the Purple-managed CA. Scope both profiles to the device groups that require WiFi access. For Jamf, configure a SCEP payload in a configuration profile. The MDM pushes the certificates silently. Verify certificate delivery in the MDM compliance dashboard before proceeding.
Step 3: Define network policies in the cloud RADIUS dashboard
Create RADIUS policies that map identity provider groups to specific VLANs and access controls. For example, map the Entra ID group "Staff-Finance" to VLAN 20 with full internet access, and map "Staff-Contractors" to VLAN 30 with time-limited access that expires automatically. Purple's dashboard applies these policies at the point of authentication, with no firewall changes required.
Step 4: Update access point configuration
Update the SSID configuration on your access points to use WPA2-Enterprise or WPA3-Enterprise with 802.1X. Enter the Purple cloud RADIUS primary and secondary endpoint hostnames or IP addresses, along with the shared secret. Configure the access points to use dynamic VLAN assignment based on the RADIUS attributes returned by Purple. Test with a single SSID on a subset of access points before rolling out across the estate.

Cloud RADIUS vs on-premises RADIUS: a direct comparison across deployment time, Active Directory dependency, high availability, OS patching, identity integration, and certificate lifecycle management.
Best practices
These recommendations reflect IEEE 802.1X standards, PCI DSS v4.0 requirements, and operational experience across Purple's 80,000+ venue estate.
Mandate EAP-TLS for managed devices. Passwords are susceptible to phishing and credential stuffing. Certificates provide cryptographic proof of identity and device compliance. EAP-TLS is the only 802.1X method that is phishing-resistant by design.
Use SCIM for instant revocation. Periodic LDAP syncs leave a window where a terminated employee retains network access. SCIM ensures access is revoked the moment the account is disabled in the identity provider.
Deploy multi-region RADIUS. Configure your access points with at least two RADIUS endpoints in different geographic regions. Purple provides active-active multi-region failover by default, with failover completing in seconds.
Segment traffic with dynamic VLANs. Use identity provider group memberships to assign users to specific VLANs dynamically. This isolates sensitive traffic and limits the blast radius of a compromised device without requiring manual firewall changes.
Enable RadSec. If your access points support RadSec, enable it to encrypt authentication traffic between the access point and the cloud RADIUS server. This is particularly important for branch offices and venues where the access point is on an untrusted network segment.
Monitor certificate lifecycle. Set MDM auto-renewal to trigger at 80% of the certificate lifetime. For a one-year certificate, renewal begins at the 10-month mark. Alert on devices that fail to renew before the certificate expires.
For a broader treatment of enterprise WiFi security standards and frameworks, see our Enterprise WiFi Security: A Complete Guide for 2026 .
Troubleshooting and risk mitigation
Transitioning to cloud RADIUS introduces new dependencies. Prepare for these common failure modes before they affect production.
Certificate expiration. If a device certificate expires before the MDM renews it, the device fails authentication silently. The user sees a connection error with no explanation. Mitigate by configuring MDM auto-renewal at 80% of certificate lifetime and monitoring the MDM compliance dashboard for devices with expiring certificates.
MDM sync failures. A device that falls out of MDM compliance or fails to check in may not receive a renewed certificate. Implement compliance policies that flag unhealthy devices and alert administrators before the certificate expires.
Firewall blocking RADIUS traffic. The access points must reach the cloud RADIUS endpoints on UDP port 1812 (authentication) and UDP port 1813 (accounting), or TCP port 2083 for RadSec. Outbound firewall rules at branch offices frequently block these ports. Test reachability from the access point management VLAN before deployment.
SCIM provisioning failures. If the SCIM connection between the identity provider and Purple is interrupted, user state changes will not propagate. Monitor SCIM sync status in both the identity provider and the Purple dashboard. Configure alerting for sync failures.
Legacy devices without certificate support. IoT devices, printers, and older hardware may not support EAP-TLS. For these devices, use iPSK (individual pre-shared keys) rather than a shared PSK. Purple supports iPSK natively, assigning a unique key per device and placing each device on the correct VLAN without requiring 802.1X supplicant support.
ROI and business impact
Migrating from on-premises RADIUS to cloud RADIUS delivers measurable value across infrastructure, operations, and security.
| Dimension | On-premises NPS | Cloud RADIUS (Purple) |
|---|---|---|
| Infrastructure cost | Windows Server licences, VM compute, storage | Per-AP subscription, no server hardware |
| Time to deploy | Days to weeks | Under one hour |
| High availability | Manual - two servers plus replication | Multi-region active-active, default |
| OS patching | Monthly, your team | Vendor-managed |
| WiFi helpdesk tickets | High - password resets, manual onboarding | Down 80% (Purple customer data) |
| Access revocation | Hours to days via LDAP sync | Seconds via SCIM |
IT teams using Purple's Staff WiFi typically see WiFi support tickets drop by 80% (Purple internal data, 2024), driven by the elimination of password resets and manual device onboarding. Certificate-based authentication also satisfies PCI DSS requirement 8.3 for strong authentication and ISO 27001 control A.9.4 for system and application access control, reducing the audit burden on your security team.
For organisations in retail and hospitality , the ability to manage Staff WiFi and Guest WiFi from a single cloud dashboard - with a unified identity layer - reduces operational complexity across multi-site estates. For transport operators and healthcare providers, the instant revocation capability and full audit trail satisfy regulatory requirements without additional tooling.
Purple's WiFi Analytics layer adds occupancy and hybrid working data on top of the authentication infrastructure, turning Staff WiFi from a cost centre into a source of operational intelligence.
Related reading: Enterprise WiFi Security: A Complete Guide for 2026 - OpenWrt Custom Firmware Integration with Purple WiFi
关键定义
802.1X
一种用于基于端口的网络准入控制的 IEEE 标准 (IEEE 802.1X-2020)。它要求设备在接入点授予网络访问权限之前进行身份验证,并使用由 RADIUS 服务器协调的 EAP 交互。
IT 团队使用 802.1X 来确保只有获得授权的用户和设备才能连接到企业网络。它提供单用户加密、单会话密钥以及每个连接事件的完整审计轨迹。
RADIUS
远程用户拨号认证服务 (RFC 2865)。一种网络协议,为网络准入提供集中化的认证、授权和计费 (AAA) 管理。
接入点将每个连接请求转发到 RADIUS 服务器,由其决定是否允许该设备接入以及为其分配哪个 VLAN。Cloud RADIUS 取代了本地的 NPS 或 FreeRADIUS 服务器。
EAP-TLS
可扩展身份验证协议-传输层安全 (RFC 5216)。一种 802.1X 身份验证方法,使用双向 X.509 证书交换来代替密码。
EAP-TLS 是托管设备群的黄金标准。它具备防网络钓鱼特性,无需密码哈希存储,并且是唯一满足 CISA 防钓鱼多因素身份验证 (MFA) 指南要求的 802.1X 方法。
PEAP-MSCHAPv2
受保护的可扩展身份验证协议,结合 Microsoft 质询握手身份验证协议版本 2。一种传统的 802.1X 方法,通过与存储在 Active Directory 中的 NTLM 哈希进行比对来验证密码。
PEAP-MSCHAPv2 在纯云环境中会失效,因为 Entra ID 不存储 NTLM 哈希。从本地 AD 迁移的组织必须用 EAP-TLS 取代 PEAP。
SCEP
简单证书注册协议。一种 MDM 平台使用的协议,用于在无需用户交互的情况下自动在设备上请求和安装数字证书。
IT 团队将 SCEP 与 Intune 或 Jamf 结合使用,以静默方式向员工设备配置 WiFi 证书。在云原生部署中,SCEP 取代了本地的 NDES(网络设备注册服务)服务器。
SCIM
跨域身份管理系统 (RFC 7644)。一种开放标准,用于自动在 IT 系统之间实时交换用户身份信息。
SCIM 可确保在 Entra ID 或 Okta 中禁用某员工时,该变更会立即推送到云端 RADIUS 服务,从而在几秒钟而非几小时内撤销其 WiFi 访问权限。
NPS
网络策略服务器。微软的 RADIUS 实现,通常在 Windows Server 上运行,作为本地 Active Directory 环境的一部分。
云原生组织正在淘汰 NPS,以消除 Windows Server 虚拟机、操作系统补丁以及对本地 Active Directory 的依赖。Cloud RADIUS 是其直接替代方案。
RadSec
基于 TLS 的 RADIUS (RFC 6614)。一种通过 TLS 对 RADIUS 身份验证流量进行加密的协议,取代了传统 RADIUS 所使用的基于 UDP 的明文传输方式。
在使用云端 RADIUS 时,RadSec 至关重要,因为身份验证流量必须通过公共互联网在接入点和云服务之间传输。Purple 原生支持 RadSec。
iPSK
个人预共享密钥。WPA2-Personal 的一种变体,它为每个设备分配一个唯一的预共享密钥,而不是所有设备共用同一个共享密钥。
iPSK 用于物联网 (IoT) 设备、打印机以及其他无法支持 802.1X EAP-TLS 的硬件。它提供单设备可追溯性和 VLAN 分配,且无需证书支持。
Dynamic VLAN
一种网络分段技术,其中 RADIUS 服务器在 Access-Accept 响应中返回 VLAN 标识符,而接入点会自动将设备置于该 VLAN 中。
动态 VLAN 允许 IT 团队根据身份提供商 (IdP) 的群组资格,将员工、承包商、物联网 (IoT) 设备和访客划分到不同的网络网段中,而无需手动更改防火墙。
应用实例
一家拥有 400 个店面的零售连锁企业需要保障所有地点的员工 WiFi 安全。他们运行 Cisco Meraki 接入点,并使用 Microsoft Entra ID 配合 Intune 进行设备管理。由于他们没有本地 Active Directory 来运行 NPS,因此目前使用共享的 WPA2-Personal PSK。最近的内部审计指出,共享的 PSK 存在 PCI DSS 合规性漏洞。
该连锁企业部署了 Purple 的 cloud RADIUS。首先,他们通过 OAuth 管理员同意将 Purple 连接到 Entra ID,并配置 SCIM 自动配置。在 Intune 中,他们为 Purple CA 根证书创建一个受信任的证书配置文件,并为“Staff-Retail”设备组创建一个 SCEP 证书配置文件。Intune 会自动向所有托管的 POS 终端和员工平板电脑推送证书。在 Meraki 控制面板中,他们将 Staff SSID 更新为 WPA2-Enterprise,输入 Purple cloud RADIUS 的主备端点,并启用动态 VLAN 分配。当设备连接时,它会出示 Intune 颁发的证书,Purple 会根据 CA 对其进行验证并检查 Entra ID 组,然后根据组策略将设备分配到 VLAN 10(员工网络)或 VLAN 20(管理网络)。共享的 PSK 被停用。在 400 个站点的推广仅用了一个周末就完成了,因为没有部署任何现场硬件,只需在 Meraki 中更改 SSID 配置即可。
一所拥有 15,000 名学生的大学使用 Google Workspace 作为其主要的身份提供商。IT 团队希望在由 MacBook、Chromebook 和 Android 手机组成的 BYOD 设备上为教职工和学生提供安全的 WiFi。他们没有本地 Active Directory,也不想运行服务器。
该大学将 Purple 的 cloud RADIUS 与 Google Workspace 集成。对于托管的 Chromebook,他们使用 Google Admin 通过 SCEP 推送 WiFi 证书配置文件,自动注册每台设备。对于 BYOD MacBook 和 Android 手机,他们部署了一个轻量级的引导应用程序,该程序通过用户的 Google 凭据对用户进行身份验证,并只需一键即可在设备上安装证书。随后的连接将自动使用 EAP-TLS。Purple 将 Google Workspace 组织单位映射到 VLAN:教职工归入 VLAN 10,学生归入 VLAN 20,访客则转到 Captive Portal SSID。当学生毕业且其 Google 帐户被暂停时,SCIM 会将更改推送到 Purple,其 WiFi 访问权限将在几分钟内被撤销。
练习题
Q1. 您的组织已完全从本地 Active Directory 迁移到 Microsoft Entra ID。您当前的员工 WiFi 在针对已加入旧域的 NPS 服务器使用 PEAP-MSCHAPv2。在停用域控制器后,员工报告他们无法再连接到 WiFi。根本原因是什么,正确的长期解决方案是什么?
提示:考虑 PEAP-MSCHAPv2 需要从目录中获取什么,以及 Entra ID 是否提供该信息。
查看标准答案
根本原因是 PEAP-MSCHAPv2 需要 RADIUS 服务器根据 Active Directory 中存储的 NTLM 哈希来验证用户的密码。随着域控制器的停用,NPS 没有可用于验证的目录。Entra ID 不存储 NTLM 哈希,因此 NPS 无法重定向到 Entra ID。正确的长期解决方案是用云 RADIUS 服务取代 NPS,从 PEAP-MSCHAPv2 迁移到 EAP-TLS,并使用 MDM (Intune) 通过 SCEP 颁发设备证书。这消除了对任何本地目录的依赖。
Q2. 您正在为由 Jamf Pro 管理、拥有 200 台设备的 corporate MacBook 团队部署云 RADIUS。您的身份提供商是 Okta。为这些设备配置 WiFi 凭据的最安全且最具运营效率的方法是什么?
提示:寻找一种无需用户交互、避免使用密码且能与您现有的 MDM 集成的方法。
查看标准答案
配置 Jamf Pro 使用 SCEP 向 MacBook 静默推送设备证书。在 Jamf 配置描述文件中创建 SCEP 负载,指向由您的云 RADIUS 提供商管理的 CA。将该描述文件的范围限定到相关的设备组。Jamf 将自动向每台 MacBook 推送证书,无需用户交互。在同一配置描述文件中配置 WiFi 描述文件,以将 EAP-TLS 与 SCEP 颁发的证书结合使用。通过 SCIM 将云 RADIUS 服务连接到 Okta,以确保当员工在 Okta 中被禁用时,其 WiFi 访问权限会立即被撤销。
Q3. 一名员工于周一上午 9:00 被终止合同。人力资源部于上午 9:05 禁用了其 Entra ID 账户。上午 9:30,安全警报显示该员工的笔记本电脑仍从停车场连接到 corporate WiFi。缺少了什么配置,您该如何修复?
提示:RADIUS 服务器如何得知用户在身份提供商中的状态已发生变化?
查看标准答案
该部署依赖于定期 LDAP 同步,而不是 SCIM 预配。自账户被禁用以来,LDAP 同步尚未运行,因此云 RADIUS 服务仍认为该用户处于活动状态。解决方案是启用 Entra ID 与云 RADIUS 服务之间的 SCIM 预配。SCIM 会实时推送用户状态变化,因此当上午 9:05 在 Entra ID 中禁用账户时,RADIUS 服务会立即收到更改。下次设备尝试重新认证时(由接入点上的会话超时控制),它将收到 Access-Reject。在接入点上设置较短的会话超时(15 到 30 分钟)可以限制账户禁用与网络驱逐之间的最大时间窗口。
Q4. 您的场所有 50 台 IoT 设备(数字标牌播放器、环境传感器和打印机)不支持 802.1X EAP-TLS。您如何将这些设备安全地部署在与您的 EAP-TLS 员工网络相同的 WiFi 基础设施上?
提示:考虑哪种身份验证方法可以在不需要证书支持的情况下提供针对每台设备的问责制。
继续阅读本系列
三大 SSID 统领全局:访客、Passpoint 与 IoT WiFi 设置指南
本技术指南为企业级场馆实施三 SSID WiFi 设计提供了权威蓝图。它详细介绍了开放式访客 Captive Portal 的配置、自动化 Passpoint 引导以及单设备 xPSK 身份验证,以实现完全的 VLAN 隔离和零信任网络访问。
员工离职时如何撤销其 WiFi 访问权限
本指南详细介绍了如何在员工离职时撤销其 WiFi 访问权限,将不安全的共享密码替换为基于用户的 802.1X 证书或 iPSK。它涵盖了通过 SCIM 进行的自动停用,以满足 ISO 27001 和 SOC 2 审计要求。
Google Workspace WiFi 认证:Chromebook 和 LDAP 集成
为在 Google Workspace 环境中部署安全 WiFi 的 IT 管理员提供的权威技术参考。本指南涵盖通过 Google Admin Console 为托管 Chromebook 部署 802.1X 证书、将 Google Secure LDAP 集成为 RADIUS 后端,以及针对教育、媒体和企业场所的架构决策。它提供了可操作的实施步骤、真实案例研究,并对 EAP 方法进行了直接比较,帮助团队从脆弱的共享 PSK 过渡到强大的、基于身份的网络访问控制。