I'm trying to execute *-ADPrincipalGroupMembership cmdlet via PS Remote session but getting this below mentioned error:
The operation being requested was not performed because the user has not been authenticated
+ CategoryInfo : NotSpecified: (ashok:ADPrincipal) [Get-ADPrincipalGroupMembership], ADException
+ FullyQualifiedErrorId : ActiveDirectoryServer:1244,Microsoft.ActiveDirectory.Management.Commands.GetADPrincipalG
However the ps remoting to the DC is done with an enterprise admin priv.
Execution policy has been set to Remotesigned and the client is added in trusted host list.
Rest of the AD-cmdlets are running properly through PS Remote session.
No problem while executing the cmdlet at server's PS console with same user priv.