ADFS 4.0 tokenGroups stopped working

tmunro55 351 Reputation points
2020-08-04T14:49:47.71+00:00

Hello,

I am currently running ADFS 4.0 in a 2012 R2 Domain. My colleague is upgrading the domain to 2019 so we have a mix of 2012 R2 and 2019 servers, but the functional level is still 2012 R2. Recently ( I don't know exactly when) my ADFS server stopped providing the tokenGroups claim for some users. It DOES work for others. I have no idea what's functionally different between those that are OK and those that are not. ADFS is using a GMSA and it's been fine for a over a year.

My query is:

c:[Type == "http://schemas.microsoft.com/ws/2008/06/identity/claims/windowsaccountname", Issuer == "AD AUTHORITY"]
 => issue(store = "Active Directory", types = ("memberOf"), query = ";tokenGroups;{0}", param = c.Value);

This works fine for some users and not at all for others. I've use Firefox SAML tracer and verified that the tokenGroups claim is never put into the SAML response, for those that are not working.

Any help would be greatly appreciated.

--tim

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,301 questions
0 comments No comments
{count} vote

Accepted answer
  1. tmunro55 351 Reputation points
    2020-08-04T20:09:16.93+00:00

    Thank you for your comments piaudonn. Your mention of the security descriptor has lead me down the right path. I can get it to work but with too much permission. I need to narrow it down now.


1 additional answer

Sort by: Most helpful
  1. Pierre Audonnet - MSFT 10,191 Reputation points Microsoft Employee
    2020-08-04T19:04:53.19+00:00

    Is it consistent for these users?
    Does this persist after a restart of the ADFS service?

    The only way I can repro is by playing with the permissions of the service account on the user. Can you compare the security descriptor (i.e. the security tab) of a working user versus a non-working user?

    0 comments No comments

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.