Solved

Set ManagerCanUpdateMembershipList

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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

A project that enables an administrator to perform actions within a user session context not just at the time of login but any time later on day(s) or week(s) later.
This article shows the method of using the Resultant Set of Policy Tool to locate Group Policy that applies a particular setting.
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 …
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.

710 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