Event ID - 626

Event Id626
SourceMicrosoft-Windows-ADFS
DescriptionThe Federation Service encountered an error while loading the trust policy. The trust policy contains a universally unique identifier (UUID) reference to an organization claim that does not exist. Referencing type: %1 UUID: %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 This error should occur only if the trust policy file has been modified without use of the AD FS administrative tools. The UUID must be corrected to reference an existing organization claim.
Event Information According to Microsoft :

Cause :

This event is logged when the Federation Service encountered an error while loading the trust policy.

Resolution :

Check the UUID value in the trust policy file

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.

The universally unique identifier (UUID) value in the trustpolicy.xml file is wrong or does not exist. UUID values must match the UUID of one of the existing organization claims.

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

To check the UUID value in the trustpolicy.xml file:
  1. On a federation server, click Start , point to Administrative Tools , and then click Active Directory Federation Services .
  2. In the console tree, right-click Federation Service , click Properties , and record the trust policy location value that is specified in Trust policy file , and then click OK .
  3. If the trustpolicy.xml file is located on a server other than the federation server, log on to that server as an administrator (in case you need to make changes), and then open Windows Explorer .
  4. Locate the folder where the trust policy file is stored, and then open the trustpolicy.xml file using Notepad.
  5. Make sure that the UUID values in all of the CustomClaim and GroupClaim tags are set to the appropriate value.
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.
Reference LinksEvent ID 626 from Source Microsoft-Windows-ADFS

Catch threats immediately

We work side-by-side with you to rapidly detect cyberthreats
and thwart attacks before they cause damage.

See what we caught

Did this information help you to resolve the problem?

Yes: My problem was resolved.
No: The information was not helpful / Partially helpful.