Event ID 647 — Trust Policy and Configuration

Applies To: Windows Server 2008 R2

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.

Event Details

Product: Windows Operating System
ID: 647
Source: Microsoft-Windows-ADFS
Version: 6.1
Symbolic Name: MultipleAdStoresDisallowed
Message: The Federation Service encountered an error while loading the trust policy. Multiple Active Directory Domain Services account stores are configured.

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.

User Action
This should occur only if the trust policy file has been modified without use of the AD FS administrative tools. Reduce the number of Active Directory Domain Services account stores in the trust policy to one.


Reduce the number of Active Directory account stores to one

This error occurs only if the trust policy (trustpolicy.xml) file 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. In this case, the manual change that was made to the trustpolicy.xml file increased the number of allowable Active Directory account stores above the maximum value per Federation Service, which is 1.

To correct the problem, edit the trustpolicy.xml file using NotePad, and confirm that only one instance of Active Directory Domain Services (AD DS) appears in the AccountStore XML element tags.


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.

Trust Policy and Configuration

Active Directory Federation Services