Event ID 128 — Windows NT Token-Based Application Configuration
Applies To: Windows Server 2008
Web Agent for Windows NT token-based application configuration contains information about the AD FS Web Agent Authentication Service, creation of Windows NT tokens, and Windows token-based agent authentication requests.
Event Details
Product: | Windows Operating System |
ID: | 128 |
Source: | Microsoft-Windows-ADFS |
Version: | 6.0 |
Symbolic Name: | SSO_IMPERSONATION_FAILURE |
Message: | The AD FS Web Agent Authentication Service was not able to start. The authentication service has not been configured to run as a principal that has been granted the "Impersonate a client after authentication" privilege (SeImpersonatePrivilege). Users will not be able to access protected resources until the authentication service can be restarted. User Action Either grant the AD FS authentication service principal the "Impersonate a client after authentication" privilege or configure the service to run as a principal that has already been granted the "Impersonate a client after authentication" privilege. (For example, configure the authentication service to run as LocalSystem.) This privilege is granted by default to the SERVICE group, but on a hardened server it may be necessary to grant the privilege explicitly. |
Resolve
Configure the AD FS Web Agent Authentication Service with the Impersonate a client after authentication privilege
Add the account that is specified on the Log On tab of the AD FS Web Agent Authentication Service to the AD FS-enabled Web server computer using the Local Security Policy snap-in. Using this snap-in, either grant the account the Impersonate a client after authentication privilege or configure the service to run as an account that has already been granted the Impersonate a client after authentication privilege. For example, configure the authentication service to run as LocalSystem.
This privilege is granted by default to the SERVICE group. However, on a hardened server it may be necessary to grant the privilege explicitly.
To perform this procedure, you must be a member of the local Administrators group, or you must have been delegated the appropriate authority.
To grant an account the "Impersonate a client after authentication" privilege:
- Click Start/Administrative Tools/Local Security Policy, and then double-click Local Policies.
- Double-click User Rights Assignment.
- In the details pane, right-click the Impersonate a client after authentication setting, and then click Properties.
- Add the account that is specified on the Log On tab of the AD FS Web Agent Authentication Service to the setting.
Verify
Verify that you can access the Active Directory Federation Services (AD FS)-enabled application from a client browser and that the resource can be accessed with the appropriate authorization.
If you cannot access the application successfully, verify that the Windows token-based agent is configured with correct URL values and that all configuration parameters contain valid values.
To perform this procedure, you must be a member of the local Administrators group, or you must have been delegated the appropriate authority.
To verify that the Windows token-based agent is configured with correct values:
- Click Start, point to Administrative Tools, and then click Internet Information Services (IIS) Manager.
- In the console tree, click YourComputerName**(local computer)**.
- In the console tree, double-click Sites, and then click YourWebSiteName.
- In the center pane, double-click Authentication, highlight AD FS Windows Token-Based Agent, and then in the Actions pane click Edit.
- In the AD FS Windows Token-Based Agent dialog box, confirm that the Enable AD FS Web Agent check box is selected.
- Make sure that the following values are valid, and then click OK.
- Cookie path
- Cookie domain
- Return URL