How to create a custom claim on ADFS

Louis DA SILVA 21 Reputation points
2025-02-04T10:46:05.1333333+00:00

Hello,

I would like to create a custom rule with ADFS using two attributes in order to combine them like this

c:[Type == "http://schemas.microsoft.com/ws/2008/06/identity/claims/windowsaccountname", Issuer == "AD AUTHORITY"]

=> add(store = "Active Directory", types = ("claims:temp/givenname","claims:temp/sn"), query = ";givenname,sn;{0}", param = c.Value);

 

c1:[Type == "claims:temp/givenname"] && c2:[Type == "claims:temp/sn"]

=> issue(Type = "urn:oid: urn**:oid:**0.9.2342.19200300.100.1.3", Value =  c1.Value  + "." + c2.Value + "@test.com");

I understood I must create two custom rules, one for each rule above

I would like to know if there is something wrong with these two rules ?

thanks in advance

Regards

Louis

 

Active Directory Federation Services
Active Directory Federation Services
An Active Directory technology that provides single-sign-on functionality by securely sharing digital identity and entitlement rights across security and enterprise boundaries.
1,291 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.