Powershell permissions RRS feed

  • Question

  • Getting error when trying to add or remove users from a group with powershell using the add or remove-adgroupmember command.  Error is saying that I wasn't granted rights to use those commands.   However, I can  add and remove members from a group through Active Directory Users & Computers(ADUC) or Active Directory Admin Center(ADAC).

    Where do I grant permissions to powershell to run the commands listed above?  
    Tuesday, June 27, 2017 3:49 PM

All replies

  • It could have been helpful to see the code and / or the error message you get.

    You know that you have to run an elevated Powershell console to manage AD, right? 

    Grüße - Best regards

    PS:> (79,108,97,102|%{[char]$_})-join''

    Tuesday, June 27, 2017 5:13 PM
  • This is going to be a really lame reply but are you launching PoSH in elevated mode?  I'm assuming you're using the same account that works in ADUC during the PoSH launch?


    Tuesday, June 27, 2017 7:34 PM