NPS extension for Azure MFA: What it is and how it works
There is no official NPS extension for Azure MFA; instead, Microsoft provides the NPS extension for Azure AD MFA to enable two-factor authentication with on-premises network devices.
What the NPS extension for Azure MFA actually is
The search term "nps extension for azure mfa" refers to a misunderstanding of Microsoft’s naming. The correct component is the NPS extension for Azure AD Multi-Factor Authentication, not "Azure MFA" as a standalone product. This extension allows organizations to integrate on-premises Network Policy Server (NPS) with Azure AD MFA for user authentication.
You install this extension on a Windows Server running the NPS role. Once installed, it forwards authentication requests from devices like VPNs, Wi-Fi access points, or RADIUS clients to Azure AD, where MFA is enforced. The user must complete two-factor authentication before being granted network access.
The extension acts as a bridge. Your on-premises infrastructure continues to handle RADIUS requests, while Azure AD handles identity verification and MFA challenges. This setup supports conditional access policies, ensuring that only compliant and authenticated users can connect.
How the NPS extension for Azure AD MFA works
Authentication flows in four steps. First, a user attempts to connect to a network resource protected by NPS, such as a corporate VPN. The network device sends a RADIUS authentication request to the NPS server.
Second, the NPS server receives the request and forwards it to the NPS extension. The extension checks whether the user is enabled for Azure AD MFA. If so, it pauses the RADIUS flow and initiates an authentication request to Azure AD.
Third, Azure AD prompts the user for MFA using their registered method—call, text, Microsoft Authenticator app notification, or OATH code. The user must respond successfully for the authentication to proceed.
Fourth, once Azure AD confirms the MFA completion, it sends a success signal back to the NPS extension. The extension then tells the NPS server to approve the RADIUS request. The user gains access to the network.
No credentials pass through the NPS extension. It only relays authentication status. User passwords are validated by Azure AD or your on-premises Active Directory, depending on your hybrid identity setup.
Supported authentication methods
The extension supports all Azure AD MFA methods available for cloud authentication. These include:
- Microsoft Authenticator app (push notification or time-based one-time password)
- Phone call to registered number
- Text message with verification code
- Hardware or software OATH tokens (TOTP)
- FIDO2 security keys (if configured in Azure AD)
Users must have their MFA methods registered in Azure AD. The NPS extension does not manage registration—it only triggers and validates the challenge.
Prerequisites for deployment
You must meet several requirements before installing the extension:
- A Windows Server 2012 R2 or later with the Network Policy and Access Services role installed
- NPS role service configured
- Connectivity from the NPS server to login.microsoftonline.com and other Azure AD endpoints
- Global Administrator or Privileged Authentication Administrator rights in Azure AD
- Hybrid Azure AD join or synchronized identities using Azure AD Connect
- Users must be enabled for Azure AD MFA
The NPS server must be domain-joined and able to communicate with domain controllers for user lookup. It does not need to be internet-facing, but it must reach Azure AD over HTTPS (port 443).
Deployment and configuration workflow
Deployment takes five main steps:
- Download the NPS extension from the Microsoft Download Center using your work account.
- Install the extension on the NPS server. The installer adds a new RADIUS client template and a custom attribute.
- Register the NPS server as a RADIUS client in Azure AD under Networking > On-premises access.
- Configure a RADIUS client in NPS for each device (e.g., VPN concentrator) that will send authentication requests.
- Test with a user account that has MFA enabled.
After installation, you configure connection request policies in NPS. These policies determine which users or groups trigger MFA. For example, you can apply MFA only to the "Remote Users" group.
You can deploy multiple NPS servers with the extension for high availability. Each must be registered separately in Azure AD. They do not sync configuration automatically.
Troubleshooting common issues
If authentication fails, check these areas:
- Firewall and proxy settings: Ensure outbound HTTPS to Azure AD endpoints is allowed.
- Time synchronization: The NPS server must be within 5 minutes of Azure AD time. Use a reliable NTP source.
- User MFA status: The user must be enabled for Azure AD MFA and have a registered method.
- Conditional Access policies: If policies block sign-in, MFA will not proceed.
- Event logs: Check the Application log for entries from "NPSExtension" for error codes.
One common error is "Error 691: Access denied due to invalid credentials." This often means the user is not enabled for MFA or their password is incorrect. Another is "Error 15: Authentication failed", which may point to certificate or connectivity issues.
Limitations and security considerations
The NPS extension does not support legacy protocols like PAP without additional configuration. EAP-TLS is supported for certificate-based authentication, but MFA is not required if certificate validation succeeds unless enforced by Conditional Access.
The extension does not support RADIUS accounting. It handles authentication only. You cannot log session duration or data usage through this component.
Security keys (FIDO2) work only if the user has registered them in Azure AD and the policy requires them. The extension respects the method preference set in Azure AD.
Do not expose the NPS server directly to the internet. It should sit behind a secure perimeter. The RADIUS protocol is not encrypted end-to-end, so use IPsec or place the NPS server in a protected subnet.
When to use the NPS extension vs. modern authentication
Use the NPS extension when you have legacy infrastructure that relies on RADIUS, such as older VPN appliances or wireless controllers that cannot integrate directly with Azure AD.
If your devices support modern authentication (e.g., Always On VPN with Intune), bypass the NPS extension. Modern methods are more secure, easier to manage, and fully cloud-native.
The extension is a transitional tool. It helps bridge on-premises networks to cloud identity but adds complexity. Monitor its logs regularly and plan to migrate to certificate-based or Azure AD-joined solutions where possible.
NPS extension for Azure AD MFA: Key configuration table
| Component | Requirement | Notes |
|---|---|---|
| Operating System | Windows Server 2012 R2 or later | Must be domain-joined |
| NPS Role | Installed and configured | Role service must be running |
| Connectivity | Outbound HTTPS to Azure AD | Port 443 to login.microsoftonline.com |
| User Identity | Synchronized via Azure AD Connect | Cloud-only users not supported |
| MFA Registration | User must have at least one method | Set in Azure AD portal or through SSPR |
| Admin Rights | Global Admin or Privileged Authentication Admin | Required for Azure AD registration |
Questions people ask
Can I use the NPS extension with Azure AD MFA for cloud-only users?
No. The NPS extension requires synchronized identities. Cloud-only users without a source anchor from on-premises Active Directory are not supported.
Does the NPS extension support password changes during authentication?
No. If a user’s password has expired, the extension cannot prompt for a change. The authentication fails. Users must reset passwords beforehand using Azure AD self-service password reset.
Can I use multiple NPS servers with the same Azure AD tenant?
Yes. You can install the extension on multiple servers. Each must be registered individually in Azure AD as a separate RADIUS client.
Is the NPS extension required for Azure AD MFA with Windows Hello for Business?
No. Windows Hello for Business uses certificate-based authentication and does not rely on the NPS extension. It integrates directly with Azure AD and Conditional Access.
Does the NPS extension work with third-party RADIUS clients?
Yes, as long as the client supports standard RADIUS protocols (PAP, CHAP, MS-CHAP, MS-CHAPv2) and can communicate with the NPS server.