Solved

Set ManagerCanUpdateMembershipList

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

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Synchronize a new Active Directory domain with an existing Office 365 tenant
A procedure for exporting installed hotfix details of remote computers using powershell
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 from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

813 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now