RD Gateway to use the NPS Extension for Azure MFA
Hello!
I'm trying to set up MFA for RDG (Remote Desktop Gateway) login, but the process stalled at the very beginning. The NPS Extension installation completes without errors,
PS C:\Windows\system32> Get-EventLog -LogName 'Application' -Newest 100 | Where-Object {
$.Source -like 'MFA' -or`` ``$.Source -like 'Azure' -or`` ``$.Message -like 'NPS Extension' -or`` ``$.Message -like 'AzureMfa'`` ``} | Select-Object TimeGenerated, Source, EventID, Message | Format-Table -AutoSize -Wrap
TimeGenerated Source EventID Message
12/22/2025 3:03:13 AM MsiInstaller 1042 Ending a Windows Installer transaction: C:\ProgramData\Package Cache{E89D89
65-CEEE-4681-9CAD-D8CF56FB2CB4}v1.2.2893.1\NpsExtnForAzureMfaComponent.msi.
Client Process Id: 912.
update for the product required a restart for all changes to take effect.
The restart was deferred to a later time.
For Azure MFA. Product Version: 1.2.2893.1. Product Language: 1033.
Manufacturer: Microsoft. Type of System Restart: 2. Reason for Restart: 1.
Azure MFA. Product Version: 1.2.2893.1. Product Language: 1033.
Manufacturer: Microsoft. Reconfiguration success or error status: 0.
successfully.
D8965-CEEE-4681-9CAD-D8CF56FB2CB4}v1.2.2893.1\NpsExtnForAzureMfaComponent.ms
i. Client Process Id: 912.
The folders appear in the "C:\Program Files\Microsoft\AzureMfa" directory:
C:\Program Files\Microsoft\AzureMfa\Config -
Name Length LastWriteTime ----
AuthnEventlog.man 4784 12/3/2024 7:53:16 PM
AuthzEventlog.man 6438 12/3/2024 7:53:16 PM
AzureMfaNpsExtnConfigSetup.ps1 5092 12/3/2024 7:53:16 PM
C:\Program Files\Microsoft\AzureMfa\Extensions -
adal.dll 1138952 12/3/2024 7:53:16 PM
MfaNpsAuthnExt.dll 650296 12/3/2024 8:10:04 PM
MfaNpsAuthzExt.dll 1587744 12/3/2024 8:12:04 PM
C:\Program Files\Microsoft\AzureMfa\Licenses -
LicenseAgreement.rtf 233837 12/3/2024 7:53:16 PM
ThirdPartyNotice.txt 1805 12/3/2024 7:53:16 PM
Problems:
No new service appears. MFA does not work.
What am I doing wrong?