When it is written
4821 reports that a domain controller refused a service ticket request (the Kerberos TGS exchange) because of an enforced authentication policy on the account of the service being reached. When a client asks for a ticket to a service, the domain controller finds the service's account; if that account's policy restricts who may authenticate to it, the domain controller checks the user's identity in the ticket-granting ticket (and, with compound authentication, the device's) against the policy's conditions and refuses the ticket when they are not met. Policy Name and Silo Name are therefore those of the service's account, while Account Name is the user who was refused.
Microsoft publishes no page for 4821. It documents the same refusal as event 106 of the AuthenticationPolicyFailures-DomainController log, and the two event templates carry the same text and the same 14 fields; the templates also name the account, the service, the client address and a Logon GUID, which Microsoft's description of 106 does not list. Microsoft describes the events of that log as similar in content to the Security log's Kerberos ticket events. It names neither the subcategory nor the outcome of 4821: this page files it under Audit Kerberos Service Ticket Operations, whose events report the same exchange, as an Audit Failure. The Task Category and Keywords of the events your domain controllers write show which it is.
How to turn it on
Advanced audit policy subcategory Audit Kerberos Service Ticket Operations, 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 > Account Logon > Audit Kerberos Service Ticket Operations| Computer | Audit | Note |
|---|---|---|
| Domain controllers | Success and Failure | Microsoft's general baseline makes Success auditing optional and recommends Failure auditing; its stronger baseline recommends both. |
| Member servers | Not logged | Microsoft says the subcategory makes sense only on domain controllers. |
| Workstations | Not logged | Microsoft says the subcategory makes sense only on domain controllers. |
auditpol /get /subcategory:"Kerberos Service Ticket Operations"auditpol /set /subcategory:"Kerberos Service Ticket Operations" /failure:enableauditpol /get /subcategory:"{0CCE9240-69AE-11D9-BED3-505054503030}"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.
| Field | What it holds | Since |
|---|---|---|
Account NameTargetUserNameAccount Information | Account the service ticket was requested for (Account Name), the user who was refused. Its exact format for this event is not documented; event 4769 writes it as user@REALM. | v0 |
Account DomainTargetDomainNameAccount Information | Kerberos realm of that account (Account Domain), as a NetBIOS or DNS name in either case. | v0 |
Logon GUIDLogonGuidAccount Information | Logon GUID (under Account Information). The event text says it matches the logon events on the computer that was accessed, as in 4769; a refused ticket leads to no logon there, so expect no match. All zeros when not captured. | v0 |
Silo NameSiloNameAuthentication Policy Information | Authentication policy silo of the service's account (Silo Name), when the policy applies through a silo. | v0 |
Policy NamePolicyNameAuthentication Policy Information | Enforced authentication policy of the service's account that refused the ticket (Policy Name). | v0 |
Device NameDeviceNameDevice Information | Device the request came from (Device Name), when the domain controller knows it: device conditions need compound authentication, which carries the device's identity in the request. | v0 |
Service NameServiceNameService Information | Account of the service that was requested (Service Name): the account whose authentication policy refused the ticket. | v0 |
Service IDServiceSidService Information | SID of that service account (Service ID). Event Viewer resolves it to a name. | v0 |
Client AddressIpAddressNetwork Information | Address of the client (Client Address): IPv4, IPv6 or ::ffff:IPv4. | v0 |
Client PortIpPortNetwork Information | Source port of the client connection (Client Port). | v0 |
Ticket OptionsTicketOptionsAdditional Information | Kerberos options of the request in hexadecimal (RFC 4120), for example 0x40810000 (forwardable, renewable, canonicalize). | v0 |
Ticket Encryption TypeTicketEncryptionTypeAdditional Information | Encryption type field (Ticket Encryption Type), in hexadecimal. No ticket is issued, and what this event writes is not documented; failed 4769 events show 0xFFFFFFFF. | v0 |
Failure CodeStatusAdditional Information | Kerberos error the domain controller returned (Failure Code), in hexadecimal. Microsoft does not list the codes this event writes; the sample's 0xC (KDC_ERR_POLICY) is an illustration, not a documented value. | v0 |
Transited ServicesTransitedServicesAdditional Information | Services the request passed through with constrained delegation (Transited Services), as in event 4769; a dash otherwise. | v0 |
Values to know
Policy Name PolicyName
| Value | Meaning | Signal |
|---|---|---|
The policy of a service only administrators should reach | An attempt to reach a protected service from outside the allowed users or devicesPolicies that restrict who may authenticate to a service are put on management and Tier 0 services. A refusal is either a gap in the policy or an account used where it should not be. | Attack signal |
A policy enforced recently | Users and devices that were not covered during the audit phaseCompare with the 306 events the policy wrote in audit mode. | Noise |
Device Name DeviceName
| Value | Meaning | Signal |
|---|---|---|
An administrative workstation | A device that should be allowedAdd it to the policy's conditions, or check that it sends device information. | Noise |
Any other device | A request from a device the policy does not allow | Attack signal |
Transited Services TransitedServices
| Value | Meaning | Signal |
|---|---|---|
- | No delegation | Worth knowing |
One or more service names | The request came through constrained delegationAs in event 4769, the services the request passed through on behalf of the user. | Worth knowing |
Volume and noise
No volume is documented. The benign causes are those of event 106: a user or device that should reach the service but is not yet in the policy's conditions, and devices that do not send device information, since compound authentication needs Windows 8 or later clients with Dynamic Access Control support and a resource configured for it. Microsoft recommends an audit-only policy first to find such cases before the policy is enforced.
Keeping it manageable
- Keep every event: the volume is low, and each one is either a gap in the policy or an account trying to reach a protected service from where it should not.
- Before you rely on it, confirm that your domain controllers write it: search their Security logs for 4821 after a refusal you caused on purpose against a test service.
- Where you also collect the AuthenticationPolicyFailures-DomainController log, read 4821 next to event 106, which the library's rule for protected accounts reads: 4821 adds the user, the service and the client address.
- Group by
ServiceNameandPolicyName: a policy enforced recently produces a burst of refusals for users and devices the audit phase missed; one user or device on its own after that is the case to look at.
Sample event
Version 0, 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>4821</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x8010000000000000</Keywords>
<TimeCreated SystemTime="2026-11-18T09:30:12.4567890Z" />
<EventRecordID>1048576</EventRecordID>
<Correlation />
<Execution ProcessID="712" ThreadID="2408" />
<Channel>Security</Channel>
<Computer>DC01.corp.example.com</Computer>
<Security />
</System>
<EventData>
<Data Name="TargetUserName">alice@CORP.EXAMPLE.COM</Data>
<Data Name="TargetDomainName">CORP.EXAMPLE.COM</Data>
<Data Name="DeviceName">WS042</Data>
<Data Name="ServiceName">MGMT01$</Data>
<Data Name="ServiceSid">S-1-5-21-1004336348-1177238915-682003330-1121</Data>
<Data Name="TicketOptions">0x40810000</Data>
<Data Name="TicketEncryptionType">0xFFFFFFFF</Data>
<Data Name="IpAddress">::ffff:10.20.30.41</Data>
<Data Name="IpPort">51288</Data>
<Data Name="Status">0xC</Data>
<Data Name="LogonGuid">{00000000-0000-0000-0000-000000000000}</Data>
<Data Name="TransitedServices">-</Data>
<Data Name="SiloName">Tier0-Servers</Data>
<Data Name="PolicyName">Tier0-Servers-Policy</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 does event 4821 mean?
A domain controller refused a Kerberos service ticket because the account of the requested service carries an enforced authentication policy, and the user, the user's device or both do not meet its conditions. The event names the user, the service, the device, the policy, the silo and the client address.
Whose authentication policy does event 4821 report?
The policy of the service's account. Authentication policies can restrict which users and devices may authenticate to a service that runs under an account, and the domain controller checks that policy when it is asked for a ticket to the service. Account Name is the user who was refused.
How is event 4821 related to event 106?
They describe the same refusal in two logs. Event 106 is in the AuthenticationPolicyFailures-DomainController log, off by default, and is the one Microsoft documents. Event 4821 is in the Security log and its template has the same text and fields. Microsoft publishes no page for 4821 and documents no audit subcategory for it; this library files it under Audit Kerberos Service Ticket Operations.
References
- Authentication policies and authentication policy silos (Microsoft)
- Guidance about how to configure protected accounts (Microsoft)
- Audit Kerberos Service Ticket Operations (Microsoft)
- 4769(S, F): A Kerberos service ticket was requested (Microsoft)
- RFC 4120: The Kerberos Network Authentication Service (V5)