1. Add Relying Party Trust
Open AD FS Management, add and configure "Relying Party Trust"
1.1 Click Add Relying Party Trust to open the wizard
1.2 On the Welcome page, select Claims aware and click Start
1.3 Click Selete Data Source: select Enter data about the relying party manually, click Next
1.7 Click Choose Profile: Enter the SP Entity ID provided on the Admin Console page, as shown below
1.8 Follow the default configuration until it is completed.
2. Configure Claim Rules
2.1 Go back to the Relying Party Trust page, select Relying Party Trust you just added, and click Edit Claim Issuance Policy
2.2 On the Issuance Transform Rules tab, add email, name id, email-custom items
Note: Please pay attention to the order of "Order", please add in order
email Rule
- On the Choose Rule Type page, select "Send LDAP Attributes as Claims"
- On the Configure Claim Rule page, configure according to the following figure
name id Rule
- On the Choose Rule Type page, select "Transform an incoming Claim"
- On the Configure Claim Rule page, configure according to the following figure
Now you can see that you have added 3 rules.
Add SAML configuration
Download the FederationMetadata.xml file from the link: https://your-adfs-server-url/FederationMetadata/2007-06/FederationMetadata.xml. Note that the link is to download from your AD FS server, not this KB. Go to AD FS Management > Service > Endpoints and make sure the name is the same as /FederationMetadata/2007-06/FederationMetadata.xml.
Copy the Identity provider's Entity ID from entityID.
Copy the ldentity provider SSO URL from Location.
Copy the Public x509 certificate from protocolSupportEnumeration's signing.