Skip to content

Instantly share code, notes, and snippets.

@jesseloudon
Created April 3, 2019 01:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jesseloudon/a1770b1035e89e674427ab5a28fad99c to your computer and use it in GitHub Desktop.
Save jesseloudon/a1770b1035e89e674427ab5a28fad99c to your computer and use it in GitHub Desktop.
ADFS_ClaimRule_EmailAddress.txt
c:[Type == "http://schemas.microsoft.com/ws/2008/06/identity/claims/windowsaccountname", Issuer == "AD AUTHORITY"]
=> issue(store = "Active Directory", types = ("http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress"), query = ";mail;{0}", param = c.Value);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment