Event ID 624 — 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: 624
Source: Microsoft-Windows-ADFS
Version: 6.1
Symbolic Name: TrustPolicyFieldMustBeUri
Message: The Federation Service encountered an error while loading the trust policy. The trust policy field '%1' was set to an unacceptable value. The field must contain a valid Uniform Resource Identifier (URI).
Field: %1
Value: %2

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
Correct the '%1' field by configuring it with a valid URI value.

Additional Data
UriFormatException message: %3


Configure the URI field with a valid value

Configure the URI field of the account partner or resource partner with a valid uniform resource identifier (URI) value:

To perform this procedure, you must be a member of the local Administrators group, or you must have been delegated the appropriate authority.

  1. On the federation server, click Start, point to Administrative Tools, and then click Active Directory Federation Services.
  2. In the console tree, under Partner Organizations, find the appropriate partner, right-click the partner, and then click Properties.
  3. On the General tab, type a valid Federation Service URI value.

A URI is a compact string of characters that identifies an abstract resource or a physical resource. Specifically, the URI that you configure here is the unique name or location for the realm that is hosted by this Federation Service (farm). A URI consists of a scheme name, followed by a colon, followed by some scheme-specific data.

All Uniform Resource Names (URNs) and Uniform Resource Locators (URLs), such as http, ldap, gopher, and ftp, are valid URIs. You can also use your own custom URI format, for example, fed://identity-sts.


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