You May Be Unable to Remove List Members from Lists When You Use the Together Administration Management Agent (298099)



The information in this article applies to:

  • Microsoft Metadirectory Services 2.2
  • Microsoft Metadirectory Services 2.2 SP1

This article was previously published under Q298099

SYMPTOMS

When you use the Together Administration Management Agent (TAMA) to manage a list membership, and you delete a list member in the primer Management Agent (MA), the member may not be deleted after the TAMA runs.

In the log of the operator on the TAMA MA, the following information may be logged:
Validate member: [member=Aberdour George [UK967375],list=aaad,ou=BT Concert,dc=icl,dc=com] Member not owned[0]: [member=Grainger Hilary [UK628987],list=aaad,ou=BT Concert,dc=icl,dc=com]

CAUSE

This behavior can occur because the list is not owned by the primer MA, which means that the TAMA cannot remove any users from the list.

RESOLUTION

To resolve this behavior, set the ownership of the list by setting the $mv.msMMS-managedByMA attribute to equal the distinguished name (DN) of the primer MA on the list object. You must edit the Advanced Flow Script on the primer MA to assign the $msMMS-ManagedByMA attribute. The following sample code demonstrates how you can set the value on the list objects and the users object.

To add code to the Advanced Attribute Flow Script:
  1. Select the Human Resources (HR) MA.
  2. On the action panel, click Attribute Flow.
  3. Click the Advanced Flow Script tab.
  4. In the Edit box, add the following lines of code:
    If $mv.zcoc = zcperson,Person,Top
    #Testing to see if the Object is a Person Object. If so, then set the
     #msMMS-managedByMA to the ADMA so that Users will be created instead of 
    #contacts. If not, then the attribute to the HR MA so that the HR MA can 
    #manage list membership.
    then
    $mv.msMMS-managedByMA = ma=ADMA,DsaName=MMSServer,ou=Applications,dc=microsoft,dc=com
    else
    $mv.msMMS-managedByMA = ma=HRMA,DsaName=MMSServer,ou=Applications,dc=microsoft,dc=com
    endif
    					

MORE INFORMATION

For additional information about how the msMMS-ManagedByMA attribute can be used to manage lists and users, click the article number below to view the article in the Microsoft Knowledge Base:

285298 How to Use the MsMMS-ManagedByMa Attribute to Create Users in Active Directory


Modification Type:MinorLast Reviewed:1/25/2006
Keywords:kbenv kbprb KB298099