Event ID - 695

Event Id695
SourceMicrosoft-Windows-ADFS
DescriptionAn exception occurred during an attempt to configure Microsoft .NET Remoting for a claim transform module. Assembly: %1 Class Type: %2 Remote config file: %3 This error may be caused by a non-Microsoft module that is not part of AD FS. Additional Data Exception information: %4
Event Information According to Microsoft :

Cause :

This event is logged when an exception occurred during an attempt to configure Microsoft .NET Remoting for a claim transform module.

Resolution :

Configure the claim transform module

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

Make sure that you have performed the following steps for the claim transform module:
  1. Add the appropriate claim transform functionality to the CustomClaimMapper class in customclaimmapper\customclaimmapper.cs.
  2. Build the CustomClaimMapper and ListenerService projects. Note that, for this release, these projects should be built using the .NET Framework Version 2.0.
  3. Put the ListenerService.exe, CustomClaimMapper.dll, and listener.exe.config files (in the listenerservice directory) in a single folder on the Active Directory Federation Services (AD FS) computer. Do not put them in the same directory as FederationServerService.asmx. Do not install CustomClaimMapper.dll into the Global Assembly Cache (GAC).
  4. Put the customtransform.remoting.config file (in the customclaimmapper directory) in the same directory as the trust policy file.
  5. Install ListenerService.exe as a Windows service. Make sure that the service is running under the Network Service or Local System account.
  6. Start the service.
  7. Specify a custom claim mapper assembly. To do this, start the Active Directory Federation Services snap-in, right-click the Trust Policy folder, and then click Properties .
  8. Click the Transform Module tab, and then type the path of CustomClaimMapper.dll for the assembly and CustomClaimMapper as the name of the class. In other words, specify the claim mapper exactly as you would for an inproc assembly, for example:
  • assembly: c:\adfs\customtransform\CustomClaimMapper.dll
  • class: ClaimMapper.CustomClaimMapper
Contact the vendor or provider of the module for more information.

Verify :

You use Active Directory Federation Services (AD FS) claim transform modules to modify claim names and values as they pass through the federation server. If you experience problems running a claim transform module, verify that the settings in the trust policy are configured appropriately.

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

To verify trust policy settings for a claim transform module:
  1. On the federation server whose transform module you want to change, click Start , point to Administrative Tools , and then click Active Directory Federation Services .
  2. Double-click Federation Service , right-click Trust Policy , and then click Properties .
  3. In the Trust Policy Properties dialog box, click the right arrow to scroll to the Transform Module tab, and then click the Transform Module tab.
  4. In DLL file , verify that the path to the dynamic-link library (DLL) file is correct.
  5. In Class name , verify that the namespace-qualified class name that the transform module will use is correct.
Also, in your AD FS scenario, click the Uniform Resource Locator (URL) of the configured Web server from the client computer, and the use the following procedure to check certain particular events.

To verify event details for a claim transform module:
  1. On the account federation server, click Start , point to Administrative Tools , and then click Event Viewer .
  2. Click Security , and in the details pane of the Success Audit events, locate Event ID 10550.
    This event provides the details of the claims that have been sent by the account partner. Look for claims that are supposed to be modified by the custom claim transform module. If the modified claims are listed in the event, the claim transform module should work properly.
Reference LinksEvent ID 695 from 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.