Authenticate With Azure AD (Entra ID): 802.1X Setup

You can configure 802.1X using Azure AD by syncing it with an LDAP server or enrolling every device with an x.509 certificate.

Step-by-step guide: Setting up 802.1X with Azure AD
Key Takeaways
  • Azure AD (now officially Microsoft Entra ID) supports 802.1X authentication through two methods: syncing with an LDAP server or using digital certificates for passwordless access.
  • LDAP syncing relies on credentials, which are less secure and may be a temporary solution; documentation and guidelines for LDAP configurations can be complex and hard to find.
  • Digital certificates provide a stronger, more seamless option for passwordless authentication while increasing security.
  • Certificate-based authentication requires a PKI; managed PKI services, such as JoinNow Dynamic PKI, help ease certificate management and deployment.
  • Azure AD/Entra ID has no native RADIUS server, so 802.1X deployments pair Entra ID with a RADIUS service such as JoinNow Cloud RADIUS to bridge identity and network access.

Microsoft Entra ID (formerly Azure AD) offers cloud-based management for user identities, but using it with 802.1X authentication requires an additional step. Entra ID doesn’t have a Remote Authentication Dial-In User Service (RADIUS) server, so organizations need a way to connect their identity provider (IdP) to their network authentication process.

In this guide, we’ll cover the various ways to connect Entra ID with 802.1X, compare LDAP syncing with certificate-based authentication, and walk through the best steps to deploy a passwordless solution.

Why Azure AD Has No Native RADIUS Server

802.1X authentication always needs a RADIUS server to sit between the network access point and the identity source, but Microsoft Azure AD (Entra ID) does not include one.

Note: Azure AD is a cloud identity provider, not a network authentication server, so it cannot directly answer the access request an access point sends during an 802.1X handshake.

This is also why on-premises Microsoft Network Policy Server (NPS) is not a clean fit for cloud-managed devices: NPS was built to authenticate against on-premises Active Directory and does not natively support device-based authentication for Azure AD-joined/Entra ID-joined devices.

Bridging the gap means deploying a RADIUS service that can talk to Entra ID directly. A cloud RADIUS server removes the on-prem NPS dependency entirely by communicating with your Azure AD at the time of authentication.

See your security gap before attackers do.

See continuous trust in action on a platform that includes RADIUS, PKI and AI security.

Customize Your Video Demo

How to Integrate Azure AD (Microsoft Entra ID) With 802.1X Authentication

There are two main ways organizations can integrate Azure AD with 802.1X authentication: syncing with an LDAP server or using digital certificates.

Sync your Azure AD (Entra ID) With an LDAP Server

When organizations transition from on-prem Active Directory to Azure AD/Entra ID, they may still need LDAP to support legacy applications and authentication workflows. For organizations with existing credential-based 802.1X, syncing Azure AD with an LDAP server can be a good temporary solution that allows them to move to Cloud Azure AD while they continue to use their legacy servers.

There are a few challenges and limitations to this option, though:

  • Difficult to configure: Configuration guides are hard to find, and existing guides aren’t very straightforward. At a high level, you need to build an OpenLDAP server, install Azure AD Connect and manually configure an Azure AD federation. Some third-party solutions can make this easier by handling the LDAP sync with cloud-based LDAP servers.
  • Password-based authentication: While you are able to migrate away from your on-prem infrastructure, it still seems like a step back because you’re authenticating with passwords and using vulnerable authentication protocols like PEAP-MSCHAPv2, which industry titans have recommended moving away from.

An LDAP sync can be a good temporary solution for organizations that want to move their AD to the cloud, but it’s difficult to set up. Also, it’s not a long-term solution due to security concerns.

Leverage Azure AD to Enroll X.509 Certificates

The second option for integrating Azure AD with 802.1X authentication is adopting a passwordless solution through X.509 digital certificates. You can use Azure AD/Entra ID to issue and manage these certificates, which can be used for a number of applications like Desktop Login, a virtual private network (VPN) and 802.1X Wi-Fi.

“Certificates cannot be stolen over the air like passwords, and even if they were, an attacker won’t have your private key and therefore can't do anything. Certificates are also far easier to use: You only have to configure your device one time for a certificate. Finally, certificates are the best way to identify devices and say with 100% confidence that this device is behind this specific IP address.”Micah Spady, Director of Product Marketing at SecureW2

Authenticating via certificates is similar to passwords; you present identification to your access point (AP), it forwards it to the RADIUS server, and then the RADIUS tells your AP whether you are allowed access or not.

However, there are a few key differences between certificates and passwords:

  • Security: Certificates are significantly more secure than passwords, reducing the risk of evil-twin attacks that steal credentials over-the-air.
  • Context: Certificates provide much more usable context for security decisions. They offer a ton of device information, such as who owns it, the type of user attached to it, the make and model, and conditional access in your organization.
  • User experience: Certificates improve user experience and eliminate password-related disconnects.
  • Cloud-based: For organizations that use Azure AD as their identity provider (IdP), certificates eliminate the need for on-premises servers. Windows servers are among the most targeted vulnerabilities in organizations.

These are just a few of the reasons why the National Security Agency (NSA) and Cybersecurity and Infrastructure Security Agency (CISA) have both recommended using digital certificates over password-based authentication.

Historically, organizations shied away from using certificates. They required public key infrastructure (PKI), which was difficult to set up, and certificates were impossible to manage. Today, PKIs can be configured as an extension of identity providers and mobile device management (MDM) tools, making certificate enrollment and management mostly automated.

With the right software, bring-your-own-device (BYOD) devices can self-onboard using their Azure AD/Entra ID credentials to receive a certificate and 802.1X settings. For environments that use Intune or other MDM platforms, you can push out configuration profiles that instruct devices to auto-enroll themselves for certificates using an API.

EAP-TLS vs. PEAP-MSCHAPv2 for Azure AD Authentication

With Azure AD and 802.1X, the deciding factor for security is the Extensible Authentication Protocol (EAP) method you choose.

PEAP-MSCHAPv2

PEAP-MSCHAPv2 stands for Protected Extensible Authentication Protocol Microsoft-Challenge Handshake Authentication Protocol version 2. This protocol requires users to manually enter their domain credentials. From a security standpoint, this is problematic for a couple of reasons:

  • Vulnerable to cyberattacks: It is naturally vulnerable to credential theft and man-in-the-middle (MITM) attacks.
  • User experience: Password expiration also makes for a poor user experience.

EAP-TLS

EAP-TLS stands for Extensible Authentication Protocol-Transport Layer Security. This protocol is ideal for secure Wi-Fi. Benefits of EAP-TLS include:

  • Certificate-based authentication: This makes it so you don’t have to rely on passwords.
  • Mutual authentication: The client device and server authenticate one another.
  • Cryptographically strong connection: This brings stronger security than password-based methods.

Want to learn how to set up certificate-based 802.1X authentication (EAP-TLS) with Azure AD? We’ve laid out a basic overview below.

For the full documentation, check out our page on how to configure WPA2-Enterprise with Azure.

How to Use Certificates to Tie Network Security With Azure AD

The process is broken down into two phases: one-time enrollment and runtime authentication. We’ve provided a high-level overview of how you can set up certificate auto-enrollment for your Intune or other MDM devices.

  • One-time/renewal: Configure your MDM platform with JoinNow Dynamic PKI to send out configuration profiles directing managed devices to auto-enroll and auto-renew for a certificate and self-service for 802.1X.
  • Ongoing authentication: JoinNow Cloud RADIUS will authenticate the device for Wi-Fi access by directly communicating with your Azure AD/Entra ID.

Once the device requests Wi-Fi or VPN access, Cloud RADIUS will directly communicate with your Azure AD (or whatever cloud identity you have) to verify the user and authorize network access at the time of authentication. Now, a passwordless 802.1X system is tied directly to Azure AD.

A Quick Guide to Using Azure AD for 802.1X

You can integrate Azure AD/Entra ID with SecureW2 to simplify certificate enrollment. By configuring Enra ID as an identity provider, end users can authenticate their existing Azure credentials during onboarding and receive certificates for 802.1X authentication.

1. Create a SAML Application in Azure Portal

A Security Assertion Markup Language (SAML) application allows SecureW2 to use Entra ID for identity verification during certificate enrollment.

End-users can enter their credentials into the SAML app, which are then sent to and verified by Entra ID. Once Entra ID sends back attributes, the SAML app will share them with SecureW2 PKI to issue certificates.

2. Test the SAML Application

Before you roll out the application to end users, test the SAML connection to make sure Entra ID and SecureW2 are properly communicating.

Add yourself as a user to test the SAML application and go through the onboarding process. If you go through the onboarding process with no issues, Entra ID and SecureW2 have successfully connected.

3. Map Entra ID Attributes

Attribute mapping determines which user details Entra ID shares with SecureW2 plus how those details are used when issuing certificates.

You can map out the attributes sent by Entra ID to corresponding fields in SecureW2 and encode them into issued certificates.

The security plan that scales with you.

Our solutions can scale from mid-market to global enterprises. Compare options and see how our solutions protect you from costly breaches and ensure peace of mind.

Check Our Prices

Passwordless RADIUS Authentication With Azure AD/Entra ID

RADIUS is a standard protocol for accepting authentication requests and processing them. If you use certificate-based Wi-Fi authentication with Entra ID, you can set up Entra ID with any RADIUS server.

The growing risk of credential theft, combined with improvements in PKI technology, has made EAP-TLS the industry standard for Wi-Fi authentication.

SecureW2 provides the easy-to-use Dynamic PKI and Cloud RADIUS, giving organizations everything they need to set up certificate-backed EAP-TLS on their network and ditch passwords for good.

SecureW2 also grants access to industry-first technology that allows Cloud RADIUS to talk to any IDP to dynamically update your users and policies. It’s so easy to set up, and the average deployment time is often under an hour.

Using Cloud RADIUS also requires significantly less time and money for maintenance and upkeep than a traditional on-premises RADIUS server.

SecureW2 onboarding clients use Azure as a Wi-Fi SSO, except the credentials won’t be used for Wi-Fi authentication. Instead, they will be used to enroll for a Wi-Fi certificate, which will then be used for authentication. This provides a high level of flexibility with stronger overall cybersecurity. Certificates work with any RADIUS server and AAA and protect your Entra ID credentials from over-the-air theft.

Plus, once you’re set up, you can easily integrate existing tools and workflows by syncing Office 365 with Entra ID.

If you’d like to learn more about how flexible Cloud RADIUS can be, reach out to us today for a free demo.


Frequently Asked Questions

Does Azure AD support 802.1X authentication?

Yes. Microsoft Entra ID (formerly Azure AD) supports 802.1X authentication, but not on its own. Because Azure AD is a cloud identity provider, it needs a RADIUS server to handle the 802.1X handshake. Once that RADIUS service is connected to Entra ID, you can authenticate either with synced credentials or, more securely, with digital certificates over EAP-TLS.

Does Azure AD have a built-in RADIUS server?

No. Azure AD does not include a native RADIUS server. To run 802.1X, you pair Entra ID with a separate RADIUS service. Organizations either stand up on-premises Microsoft Network Policy Server (NPS), which authenticates against on-prem Active Directory, or use a cloud RADIUS that talks directly to Azure AD and removes the on-prem dependency.

Can I use on-premises Windows NPS for 802.1X with Azure AD-joined devices?

Only with limitations. NPS was designed to authenticate against on-premises Active Directory, and it does not natively support device-based authentication for Azure AD-joined devices. For cloud-managed and Azure AD-joined fleets, a cloud RADIUS service that integrates directly with Entra ID is a cleaner fit than retrofitting NPS.

How do you deploy certificates to devices for 802.1X with Azure AD?

Certificates are pushed through your mobile device management platform. For managed devices, you configure Intune or another MDM to send a configuration profile that auto-enrolls the device for a certificate using an enrollment protocol, then deploys the matching 802.1X Wi-Fi profile. For unmanaged or bring-your-own-device endpoints, users self-enroll with their Azure AD credentials through an onboarding client.

What happens to 802.1X authentication if the revocation endpoint is unreachable?

Certificate-based 802.1X relies on the RADIUS server checking revocation status through a certificate revocation list (CRL) or the Online Certificate Status Protocol (OCSP). If the RADIUS server cannot reach the revocation endpoint, authentication can fail, so those endpoints need to be highly available and reachable from the RADIUS infrastructure. A managed cloud RADIUS handles revocation checking as part of the service.

Can I use Azure AD multi-factor authentication with 802.1X?

Yes, you use Azure AD credentials to enroll for certificates for 802.1X authentication. You can configure any form of multi-factor authentication to be used during the 802.1X certificate enrollment phase.