Setting the claim‑issuance policy for Name ID
-
From the AD FS window, click Relying Party Trusts, and then right-click the applicable relying‑party trust.
-
Click Edit Claim Issuance Policy, and then Add Rule.
-
From the Claim rule template list, select Send LDAP Attributes as Claims.
-
In the Claim rule name field, type Name ID.
-
From the Attribute store list, select Active Directory.
-
Set LDAP attribute to SAM-Account-Name, and then set Outgoing Claim Type to Name ID.
-
Click Finish.