1. Resources
  2. Detection sources
  3. Event ID 6273

Event ID 6273: Network Policy Server denied access to a user

Written by an NPS server each time it rejects a RADIUS access request (VPN, Wi-Fi, 802.1X), with the user, the client's MAC or address, the NAS and a reason code: the client behind failures a domain controller logs under the NPS server.

Log source
Windows Security log
Detection value
Context
Volume
High
Last updated
Audit subcategory
Audit Network Policy Server (Logon/Logoff, Failure)
Logged on
Domain controllers, Member servers only
Event versions
0, 1, 2
Detects
Not read by our detection rules yet

When it is written

A server running Network Policy Server (NPS) as a RADIUS server writes 6273 each time it rejects a connection request that a RADIUS client sent it: a VPN server, a wireless access point or controller, an 802.1X switch, or a RADIUS proxy. Accepted requests are 6272. NPS writes the events to the Security log, as an Audit Failure for 6273, only when Audit Network Policy Server is on, and only on servers with the NPS role, which can be domain controllers or member servers. Reason Code and Reason say why the request was rejected: wrong credentials, an unknown account, a locked, disabled or expired account, no matching network policy, an authentication method the policy does not allow, a certificate problem and so on.

When NPS checks a password against Active Directory, the domain controller records the check too. Microsoft notes, in its account lockout guidance for managed domains, that when a RADIUS server passes on the authentication, the domain controller's 4776 and 4740 events can show an empty source workstation. The client's details are in the 6273 on the NPS server: the calling station (the client's MAC address for 802.1X), the network access server and the RADIUS client.

How to turn it on

Advanced audit policy subcategory Audit Network Policy Server, Failure. Set it in a Group Policy object linked to the computers that write the event:

Computer Configuration > Policies > Windows Settings > Security Settings > Advanced Audit Policy Configuration > Audit Policies > Logon/Logoff > Audit Network Policy Server
Microsoft's recommendation per computer role
ComputerAuditNote
Domain controllersSuccess if needed and Failure if neededOnly if needed, in both baselines. Turn it on when the server has the Network Policy Server role and you need to monitor access requests and other NPS events; the subcategory writes nothing without the role.
Member serversSuccess if needed and Failure if neededOnly if needed, in both baselines. Turn it on when the server has the Network Policy Server role and you need to monitor access requests and other NPS events; the subcategory writes nothing without the role.
WorkstationsNot loggedMicrosoft says the Network Policy Server role cannot be installed on a client operating system.
Check the current setting
auditpol /get /subcategory:"Network Policy Server"
Based on vendor documentation.
Turn it on (local policy; a domain GPO overrides it)
auditpol /set /subcategory:"Network Policy Server" /failure:enable
Based on vendor documentation.
The same on a Windows in another display language
auditpol /get /subcategory:"{0CCE9243-69AE-11D9-BED3-505054503030}"
Based on vendor documentation.

Run the commands in an elevated prompt on a computer that writes the event. Subcategory settings take effect only when the security option Audit: Force audit policy subcategory settings (Windows Vista or later) to override audit policy category settings is enabled (the default), and a Group Policy object that sets advanced audit policy replaces local changes at its next refresh. Microsoft's advanced audit policy reference

Fields

In Event Viewer order. The field names are those of the event XML, from the event template that ships with Windows.

FieldWhat it holdsSince
Security IDSubjectUserSidUserSID of the user account the request was for, as NPS resolved it from the user name in the request. Event Viewer resolves it to a name.v0
Account NameSubjectUserNameUserUser name of the request (the RADIUS User-Name attribute the network access server passed on), as NPS read it.v0
Account DomainSubjectDomainNameUserDomain of that user, as a NetBIOS name, or the NPS server's own name for a local account.v0
Fully Qualified Account NameFullyQualifiedSubjectUserNameUserThe same user as domain and name, for example CORP\alice (shown as Fully Qualified Account Name).v0
Security IDSubjectMachineSIDClient MachineSID of the computer account tied to the request (Security ID in the Client Machine section), filled when the request identifies a computer, as with computer authentication.v0
Account NameSubjectMachineNameClient MachineName of that computer account (Account Name in the Client Machine section).v0
Fully Qualified Account NameFullyQualifiedSubjectMachineNameClient MachineThe same computer as domain and name (Fully Qualified Account Name in the Client Machine section).v0
Called Station IdentifierCalledStationIDClient MachineRADIUS Called-Station-Id attribute, which Microsoft describes as the network access server's phone number. For 802.1X, RFC 3580 places the access point's or switch's MAC address here, followed for Wi-Fi by a colon and the network name (SSID).v0
Calling Station IdentifierCallingStationIDClient MachineRADIUS Calling-Station-Id attribute, the caller's number in Microsoft's description. For 802.1X it holds the client's MAC address (RFC 3580), which is how a device is identified in Wi-Fi and wired requests.v0
NAS IPv4 AddressNASIPv4AddressNASIPv4 address of the network access server, as the server reported it in the request.v0
NAS IPv6 AddressNASIPv6AddressNASIPv6 address of the network access server, when it reported one.v0
NAS IdentifierNASIdentifierNASName the network access server gave itself in the request (the NAS-Identifier attribute).v0
NAS Port-TypeNASPortTypeNASKind of access the client used (the NAS-Port-Type attribute), such as Wireless - IEEE 802.11, Ethernet, or Virtual for VPN connections.v0
NAS PortNASPortNASPort number on the network access server that the client used, as the server reported it.v0
Client Friendly NameClientNameRADIUS ClientFriendly name of the RADIUS client in the NPS configuration (shown as Client Friendly Name), that is the network access server or the RADIUS proxy that sent the request to NPS.v0
Client IP AddressClientIPAddressRADIUS ClientAddress of that RADIUS client. It differs from the NAS address when a proxy forwarded the request.v0
Connection Request Policy NameProxyPolicyNameAuthentication DetailsConnection request policy that matched the request (shown as Connection Request Policy Name; Proxy Policy Name in the Windows Server 2008 text). It decides whether NPS authenticates the request itself or forwards it.v0
Network Policy NameNetworkPolicyNameAuthentication DetailsNetwork policy that NPS applied to the request, whose access permission, conditions and constraints decide the result. A dash when the event names none.v0
Authentication ProviderAuthenticationProviderAuthentication DetailsHow the request was authenticated, as set by the connection request policy. Either on this server, against Active Directory or the local accounts (for example Windows), or by forwarding it to a remote RADIUS server group.v0
Authentication ServerAuthenticationServerAuthentication DetailsName of the server that authenticated the request.v0
Authentication TypeAuthenticationTypeAuthentication DetailsAuthentication protocol of the request, for example PEAP, EAP, MS-CHAPv2 or PAP.v0
EAP TypeEAPTypeAuthentication DetailsEAP method used inside EAP or PEAP, for example the secured password method (EAP-MSCHAP v2) or the smart card or other certificate method, under the names NPS gives them.v0
Account Session IdentifierAccountSessionIdentifierAuthentication DetailsSession identifier that the network access server gave the connection, when it sent one.v0
Logging ResultsLoggingResultAuthentication DetailsWhether NPS wrote the request to its accounting log, a local file or a SQL Server database, shown as Logging Results. Version 1 and later.v1
Reason CodeReasonCodeAuthentication DetailsNumber of the reason NPS rejected the request (shown as Reason Code). Microsoft publishes the code tables; 16 is a credentials mismatch.v0
ReasonAuthentication DetailsText of the same reason.v0

Event versions

The template has three versions. Version 0 has 26 fields, among them OS-Version (MachineInventory), and matches the event text Microsoft documents for Windows Server 2008. Version 1 adds Logging Results (LoggingResult). Version 2 drops OS-Version. Microsoft does not document versions 1 and 2 or say which release introduced them. The Windows Server 2008 text labels ProxyPolicyName Proxy Policy Name; the current template calls it Connection Request Policy Name.

  • Version 0: 26 fields
  • Version 1: 27 fields, adds LoggingResult
  • Version 2: 26 fields

Values to know

Reason Code ReasonCode

ValueMeaningSignal
16Credentials mismatch, an unknown user name or a wrong passwordThe common case. A large number through one network access server is what Microsoft's troubleshooting treats as a possible attempt to guess passwords.Failure
8The account in the request's user name does not existMistyped names, or names being tried.Failure
34 or 35The account is disabled, or expiredFailure
36The account is locked out in Active DirectoryThe domain's account lockout threshold was reached; the domain controller wrote 4740.Failure
64Locked out by NPS's remote access account lockoutNPS's own lockout, configured on the NPS server, separate from Active Directory. See 6279.Failure
48 or 49No matching network policy, or no matching connection request policyUsually configuration; review per RADIUS client.Noise
65The account's dial-in Network Access Permission is set to Deny accessWorth knowing
256The client's certificate is revokedFailure

NAS Port-Type NASPortType

ValueMeaningSignal
Wireless - IEEE 802.11Wi-FiCalled Station Identifier then holds the access point's MAC address, optionally with the network name (SSID).Worth knowing
EthernetA wired 802.1X switch portWorth knowing
VirtualA connection without a physical port, such as a VPNWorth knowing

Calling Station Identifier CallingStationID

ValueMeaningSignal
A MAC address such as 02-6F-7A-8B-9C-0DThe client device, for 802.1XRFC 3580 places the supplicant's MAC address here. Other network access servers put what they know of the caller, such as an address.Worth knowing

Volume and noise

Microsoft rates the subcategory Medium to High on NPS servers: every access request NPS handles writes 6272 or 6273. The volume of 6273 follows failed connection attempts: mistyped and expired passwords, devices that keep retrying with an old password, clients without the certificate a policy requires, and requests that match no network policy (reason code 48), such as devices the policies were not written for.

Keeping it manageable

  • No rule of the library reads 6273. The password spraying and account enumeration threshold rules that count 4776 failures per workstation name list RADIUS servers among the sources that pass many users' logons to the domain controller under one name. Collect 6273 from every NPS server so that such an alert can be traced to the clients behind it.
  • Keep reason codes 16 (wrong credentials), 8 (unknown account), 34 and 35 (disabled or expired account), 36 (locked out in Active Directory) and 64 (locked out by NPS). Microsoft's troubleshooting reads a large number of failures from one network access server as a possible attempt to guess passwords.
  • Once reviewed, requests that match no connection request or network policy (reason codes 49 and 48) from a known RADIUS client are configuration noise and can be filtered per client.
  • NPS also keeps its own log files (by default under %SystemRoot%\System32\LogFiles), which Microsoft's troubleshooting reads next to the events. Keep them for the same period as the events.

Sample event

Version 2, with made-up values.

<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-a5ba-3e3b0328c30d}" />
    <EventID>6273</EventID>
    <Version>2</Version>
    <Level>0</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8020000000000000</Keywords>
    <TimeCreated SystemTime="2026-11-18T09:30:12.4567890Z" />
    <EventRecordID>1048576</EventRecordID>
    <Correlation />
    <Execution ProcessID="712" ThreadID="2408" />
    <Channel>Security</Channel>
    <Computer>NPS01.corp.example.com</Computer>
    <Security />
  </System>
  <EventData>
    <Data Name="SubjectUserSid">S-1-5-21-1004336348-1177238915-682003330-1105</Data>
    <Data Name="SubjectUserName">alice</Data>
    <Data Name="SubjectDomainName">CORP</Data>
    <Data Name="FullyQualifiedSubjectUserName">CORP\alice</Data>
    <Data Name="SubjectMachineSID">S-1-0-0</Data>
    <Data Name="SubjectMachineName">-</Data>
    <Data Name="FullyQualifiedSubjectMachineName">-</Data>
    <Data Name="CalledStationID">02-1A-2B-3C-4D-5E:CORP-WIFI</Data>
    <Data Name="CallingStationID">02-6F-7A-8B-9C-0D</Data>
    <Data Name="NASIPv4Address">10.20.40.11</Data>
    <Data Name="NASIPv6Address">-</Data>
    <Data Name="NASIdentifier">AP-FLOOR2</Data>
    <Data Name="NASPortType">Wireless - IEEE 802.11</Data>
    <Data Name="NASPort">1</Data>
    <Data Name="ClientName">wlc01</Data>
    <Data Name="ClientIPAddress">10.20.40.5</Data>
    <Data Name="ProxyPolicyName">Secure wireless connections</Data>
    <Data Name="NetworkPolicyName">-</Data>
    <Data Name="AuthenticationProvider">Windows</Data>
    <Data Name="AuthenticationServer">NPS01.corp.example.com</Data>
    <Data Name="AuthenticationType">PEAP</Data>
    <Data Name="EAPType">Microsoft: Secured password (EAP-MSCHAP v2)</Data>
    <Data Name="AccountSessionIdentifier">-</Data>
    <Data Name="ReasonCode">16</Data>
    <Data Name="Reason">Authentication failed due to a user credentials mismatch. Either the user name provided does not match an existing user account or the password was incorrect.</Data>
    <Data Name="LoggingResult">Accounting information was written to the local log file.</Data>
  </EventData>
</Event>

Attacks this event reveals

No detection rule or detection logic in our library reads this event yet. It is documented here because it sits next to the events they read: it explains them, follows from them or is the trace a defender looks for around them (see Related events).

Frequently asked questions

What do the reason codes in event 6273 mean?

Microsoft publishes the NPS reason code tables. The most common are 16 (user name or password wrong), 8 (the account does not exist), 34 and 35 (the account is disabled or expired), 36 (locked out in Active Directory), 64 (locked out by NPS's own remote access lockout), 48 and 49 (no matching network or connection request policy), 65 (the account's dial-in permission denies access), 66 (an authentication method the policy does not allow) and 256 (a revoked client certificate).

Why do the domain controller's failed logons for VPN or Wi-Fi users show no client?

Because the domain controller sees the NPS server, not the client. Microsoft notes for its managed domains that when a RADIUS server passes on the authentication, 4776 and 4740 can show an empty source workstation. The 6273 on the NPS server holds the client's MAC address or address (Calling Station Identifier), the network access server and the RADIUS client, so read the NPS server's events for the same account and time.

Is a 6273 with reason code 16 a sign of an attack?

One is usually a mistyped or old password. Microsoft's NPS troubleshooting treats a large number of failures from the same network access server as a possible attempt to get in by trying different passwords, and points to the NPS log files to find the address behind it. Many accounts failing through one access point or VPN server in a short time, or one account failing from many clients, deserve a look.

References