Link to home
Start Free TrialLog in
Avatar of makanzore
makanzore

asked on

Set ManagerCanUpdateMembershipList

Hi All,

I want to set property ManagerCanUpdateMembershipList but i have an error:

Set-QADGroup : 'ManagerCanUpdateMembershipList' parameter requires a connection to the ActiveRoles Server Administration Service, s
o the Proxy parameter must be used to establish the connection.
Au niveau de ligne : 1 Caractère : 25
+ $getgroup | Set-QADGroup <<<<  -service 'SAEITMIL02DC01.asnet.accorservices.net' -ManagerCanUpdateMembershipList $true
    + CategoryInfo          : NotSpecified: (:) [Set-QADGroup], RequirementViolationException
    + FullyQualifiedErrorId : Quest.ActiveRoles.ArsPowerShellSnapIn.BusinessLogic.RequirementViolationException,Quest.ActiveRoles.
   ArsPowerShellSnapIn.Powershell.Cmdlets.SetGroupCmdlet


I try with -proxy option but i have
Set-QADGroup : Incorrect Syntax(Exception de HRESULT : 0x800401E4 (MK_E_SYNTAX))

Can you help me?
Avatar of KenMcF
KenMcF
Flag of United States of America image

Try this, have not tested not by my lab right now


Set-QADGroup GROUPNAME -objectattributes @{ManagerCanUpdateMembershipList="TRUE"}
That may not work. You may have to use add-qadprmission, take a look at this link and Shay's reply.

http://www.powershellcommunity.org/Forums/tabid/54/aff/3/aft/4986/afv/topic/Default.aspx
Avatar of makanzore
makanzore

ASKER

I confirm
Set-QADGroup GROUPNAME -objectattributes @{ManagerCanUpdateMembershipList="TRUE"}  don't work

KenMcf: With this method i have to specify manager and it's little bit complicated, i just need to check this box.
This action is in the middle of a script and i don't gather the manager name
ASKER CERTIFIED SOLUTION
Avatar of KenMcF
KenMcF
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial