Network Policy Server (NPS) is a Windows Server role that handles three main jobs: checking who is trying to connect (authentication), deciding what they are allowed to do (authorization), and enforcing rules about how devices can join the network. In hybrid Azure environments, NPS works as a RADIUS server, which means it receives connection requests from network devices like VPN servers and wireless access points, then decides whether to allow or deny access based on policies. This setup lets organizations use their on-premises Active Directory together with cloud-based Azure services, so users can authenticate using the same credentials whether they are in the office or working remotely.
Before the NPS can require multifactor authentication, each user must first be registered for Microsoft Entra multifactor authentication (MFA). The registration process starts when users sign into the MFA setup portal, where they choose a verification method such as receiving codes by SMS, using an authenticator app, or inserting a hardware token. Users need to complete this registration for both their test accounts and regular user accounts so that the MFA settings in Azure recognize them. Without this registration step, the NPS cannot challenge users for a second form of verification when they try to connect.
The NPS Extension for Azure MFA lives on a separate server from the VPN access point, and it acts as a bridge between the on-premises NPS and the cloud-based Azure MFA service. To install it, administrators download the extension from the Microsoft Download Center, run the setup.exe file, and confirm that all prerequisites are met. After installation, a PowerShell script runs to create the necessary certificates and update service principals in Microsoft Entra ID, which allows the on-premises server to communicate securely with the cloud authentication service.
Organizations sometimes have on-premises user principal names (UPNs) that do not match their cloud UPNs, which can cause authentication failures. To solve this, administrators configure alternate sign-in IDs by modifying registry values under HKLM\SOFTWARE\Microsoft\AzureMfa. This registry path maps Active Directory attributes to the correct cloud identity so that users can authenticate regardless of which format their username uses. The same registry location also supports creating IP exceptions, which allow specific network resources to bypass MFA requirements by whitelisting their IP addresses, ensuring that critical services remain accessible even when MFA enforcement is active.
Combining NPS with Azure MFA and certificate-based authentication gives organizations three important benefits. First, it provides granular access control because policies can specify which users or groups can access which network resources under which conditions. Second, it strengthens security by requiring multiple forms of verification, which makes it much harder for attackers to use stolen credentials. Third, it improves operational efficiency because the PowerShell-based setup can be replicated across multiple servers quickly, making it easier to scale the solution as the organization grows. Together, these capabilities let hybrid organizations protect their network access while keeping the experience simple for legitimate users.
Eager to master hybrid server management? Discover how to administer Windows Server Hybrid Core Infrastructure on Azure, setting your path towards the Microsoft Certified: Azure Hybrid Infrastructure Administrator Associate certification!
Prepare and test your skills

Prepare and test your skills

Network Policy Server (NPS) functions as a RADIUS server that receives connection requests from network devices like VPN servers and wireless access points to handle authentication, authorization, and network access rules. It links an organization's on-premises Active Directory with cloud-based Azure services, allowing users to authenticate with the same credentials whether connecting locally or remotely.
The NPS Extension for Azure MFA acts as a bridge between the on-premises Network Policy Server and the cloud-based Azure MFA service. Installed on a separate server from the VPN access point, it relies on certificates and Microsoft Entra ID service principals configured by a PowerShell script to enable secure communication with cloud authentication services.
Administrators can resolve mismatched user principal names (UPNs) by configuring alternate sign-in IDs under the HKLM\SOFTWARE\Microsoft\AzureMfa registry path. This registry setting maps on-premises Active Directory attributes to the correct cloud identity, allowing users to authenticate successfully regardless of username format.