Solved

Set ManagerCanUpdateMembershipList

Posted on 2010-11-17
4
1,723 Views
Last Modified: 2012-05-10
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?
0
Comment
Question by:makanzore
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 27

Expert Comment

by:KenMcF
ID: 34155793
Try this, have not tested not by my lab right now


Set-QADGroup GROUPNAME -objectattributes @{ManagerCanUpdateMembershipList="TRUE"}
0
 
LVL 27

Expert Comment

by:KenMcF
ID: 34155943
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
0
 

Author Comment

by:makanzore
ID: 34156037
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
0
 
LVL 27

Accepted Solution

by:
KenMcF earned 500 total points
ID: 34156151
The problem is this is not an actual attribute. and you can use set-qaduser if you have active roles server.
http://msdn.microsoft.com/en-us/library/ms676914

You could do something like this

Add-QADPermission  GROUPNAME -Account (Get-qaduser MANAGERNAME)  -Rights WriteProperty -ApplyTo ThisObjectOnly -Property member
0

Featured Post

Free eBook: Backup on AWS

Everything you need to know about backup and disaster recovery with AWS, for FREE!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows the method of using the Resultant Set of Policy Tool to locate Group Policy that applies a particular setting.
A recent project that involved parsing Tableau Desktop and Server log files to extract reusable user queries for use in other systems. I chose to use PowerShell to gather the data, and SharePoint to present it...
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question