I am trying to help someone troubleshoot an extremely odd AD\ADFS issue and am about out of ideas.
We are using ADFS to return the security groups (among other things) that a user belongs to. If that user has a specific group, then we grant them access. This is something that works on several other systems\environments. In this case, ADFS is not returning any domain groups for the user (and I have checked a few users).
If I use
Get-aduser username -properties memberof | select -expandproperty memberof
nothing gets displayed. If I do
get-aduser username -properties memberof | measureobject
it does give me a count of one.
Here's where things get really interesting.
If I check the user in ADUC, I see that it is a member of domain users, but that's it. If I go look at the group in question in ADUC, it shows this user is also a member of that group (but does NOT show this group under memberof for that user.)
If I check get-adgroupmember it shows that this user is a member of the group that I truly need returned. The SID is the same for the user that it shows as belonging to the group as it is for when I use get-aduser to check the user in question (where this group doesn't show up).
Now, all of that aside - if I go and query ADFS - I don't get any domain groups returned for the user in question (neither Domain Users nor the other one that it SHOULD be in)
I assume this is LIKELY something security related, but am at a loss.
This same exact configuration for ADFS works absolutely perfect in several of my test environments.
Any advice\suggestions?