Solved

Set ManagerCanUpdateMembershipList

Posted on 2010-11-17
4
1,716 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
  • 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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This article outlines the process to identify and resolve account lockout in an Active Directory environment.
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…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

827 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