I don’t seem to be able to execute the command “Get-ADPrincipalGroupMembership”.
I tried with the -Server and -Credential parameter, but I keep on getting “The operation being requested was not performed because the user has not been authenticated.”
Another command like “Get-ADUser” works fine.
I notice I’m not the first person with this error, though it is unclear to me to what the solution might be.
Get-ADPrincipalGroupMembership : The operation being requested was not performed because the user has not been authenticated.
At line:2 char:1
- Get-ADPrincipalGroupMembership -Identity davidtest
- CategoryInfo : NotSpecified: (davidtest:ADPrincipal) [Get-ADPrincipalGroupMembership], ADException
- FullyQualifiedErrorId : ActiveDirectoryServer:1244,Microsoft.ActiveDirectory.Management.Commands.GetADPrincipalGroupMembership