Error Executing specific cmdlet via PS Remote

This topic contains 1 reply, has 2 voices, and was last updated by  Joel Sallow 3 weeks, 6 days ago.

  • Author
    Posts
  • #99802

    Samrat C
    Participant

    Hello everyone,

    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
    roupMembership

    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.

  • #99826

    Joel Sallow
    Participant

    Sounds like you might be running into the classic double hop problem.

    You'll probably have to manually specify credentials on the AD commands.

You must be logged in to reply to this topic.