If you are experiencing a Federation Service outage after modifying the claim rules on the Active Directory Claims Provider (CP) Trust, follow the steps below to restore the default Acceptance Transform Rules. Perform the following steps on a Federation Server that has write access to the configuration database:
1. Copy the following text to file and save as C:\adcprules-default.txt
2. Launch PowerShell 3. Execute the following commands:
Add-PSSnapin Microsoft.Adfs.Powershell Set-AdfsClaimsProviderTrust -TargetName "Active Directory" -AcceptanceTransformRulesFile "C:\adcprules-default.txt" 4. Verify your changes: a. Launch the AD FS 2.0 Management console b. Expand Trust Relationships and select Claims Provider Trusts c. Right-click Active Directory and select Edit Claim Rules... More Information ************************* When the default rules have been removed the there will be events 364, 501 and 502 events in the AD FS 2.0 Admin log. You may notice that some of your claims are identfied and have values and some others do not. In the case where required elements of the claim are not available because the default rules are not in place you may get an exception in the AD FS 2.0 Tracing Debug log. MSIS7012: An error occurred while processing the request. MSIS3126: Access denied
Ed Price MSFT edited Revision 1. Comment: Updated title case.
Also have a look at:
jorgequestforknowledge.wordpress.com/.../bare-minimum-acceptance-transform-rules-for-the-default-claims-provider-trusts-in-adfs-v2-0
regards,
Jorge de Almeida Pinto [MVP-DS]
---------------------------------------------------------------------------------------------
* This posting is provided "AS IS" with no warranties and confers no rights!
* Always evaluate/test yourself before using/implementing this!
* DISCLAIMER: jorgequestforknowledge.wordpress.com/disclaimer
############### Jorge's Quest For Knowledge #############
######### jorgequestforknowledge.wordpress.com ########