I created custome ADFS claim rule base on group membership with global security groups. And its working smoothly, but wee need to add users from different forest which trusted with us. So, converted global group to Domain local group so that we can add user from different forest but somehow its not working, only Global group is working not Domain local, even if user is from same domain. Can someone help me to get the proper solution or Domain Local group not supported by ADFS if we used for claim attributes.
Current setup with our Global Group is given below (working) Send Token group:-
c:[Type == "http://schemas.microsoft.com/ws/2008/06/identity/claims/windowsaccountname", Issuer == "AD AUTHORITY"] => add(store = "Active Directory", types = ("corporate_groups"), query = ";tokenGroups;{0}", param = c.Value);
Get Token group:-
c:[Type == "corporate_groups", Value =~ ".APP_Test."] => issue(Type = "http://schemas.microsoft.com/ws/2008/06/identity/claims/group", Value = c.Value);
Note: If I go through this link is not working for cross forest trust user. https://social.technet.microsoft.com/wiki/contents/articles/13829.ad-fs-2-0-domain-local-groups-in-a-claim.aspx