Event ID 649 — Trust Policy and Configuration
Applies To: Windows Server 2008
The Active Directory Federation Services (AD FS) trust policy file defines the set of parameters that a Federation Service requires to identify partners, certificates, account stores, claims, and the various properties of these entities that are associated with the Federation Service.
|Product:||Windows Operating System|
|Message:||The Federation Service encountered an error while loading the trust policy. The Active Directory Domain Services account store has been configured to fetch user principal name (UPN) from a custom Lightweight Directory Access Protocol (LDAP) attribute.
If this error occurs during startup of the Federation Service, the Federation Service will be not be able to start, and all requests to the Federation Service will fail until the configuration is corrected. If this error occurs while the Federation Service is running, the Federation Service will continue to use the last trust policy that was loaded successfully.
This error should occur only if the trust policy file has been modified without use of the AD FS administrative tools. Remove the custom LDAP attribute for UPN from the Active Directory Domain Services account store configuration.
Remove the custom LDAP attribute for UPN from the Active Directory account store
This error occurs only if the trust policy file (trustpolicy.xml) has been modified without the use of the Active Directory Federation Services snap-in and the modification causes another relying parameter to fall outside the scope of acceptable values.
Active Directory account stores can use only userPrincipalName as the value of the user principal name (UPN) attribute.
To perform this procedure, you must be a member of the local Administrators group, or you must have been delegated the appropriate authority.
To replace the value of UpnAttribute with a value of userPrincipalName:
- In Notepad or another text editor, open the trustpolicy.xml file, which by default is in %systemdrive%\windows\systemdata\adfs.
- In the AccountStore section, locate the UpnAttribute tag, and then change the value between the UpnAttribute open and close tags so that that value displays userPrincipalName.
- Save and close Notepad.
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.