Microsoft KB Archive/259059

= Management Agent Exclusions in Metadirectory Services =

Article ID: 259059

Article Last Modified on 1/25/2006

-

APPLIES TO


 * Microsoft Metadirectory Services 2.1
 * Microsoft Metadirectory Services 2.2 Service Pack 1
 * Zoomit VIA 2.1

-



This article was previously published under Q259059



SYMPTOMS
In Microsoft Metadirectory Services, the Management Agent (MA) logs report that users are being excluded from the directory. You may see this in your summary:

Number of record(s) excluded: 17



CAUSE
This behavior occurs because of the way the Exclusion rules were configured in the MA. To view the Exclusion/Inclusion rules go to Configure MA, and then to Inclusion and Exclusion.



RESOLUTION
To resolve this issue, view the configuration of the Exclusion and Inclusion rules. To do this, please see the steps in the &quot;More Information&quot; section of this article.



To View the Exclusion/Inclusion Rules
To verify the users excluded, and to verify that the exclusion rules definitions are working, follow these steps:  Run the MA a second time with the logging detail level set to Level 2.For additional information on how to setting MA logging, click the article number below to view the article in the Microsoft Knowledge Base:

250311 Setting MA Logging Levels in Microsoft Metadirectory Services

 Examine the logs and find the Exclusions. Note that you will see a number beside the word &quot;Exclusion&quot; in brackets:

Exclusion [20] cn=John Testuser.

The bracketed number refers to an Exclusion rule set in the templates. Compare the bracketed number with a number in the Exclusion template. To view the exclusion template, follow these steps:  Configure MA Inclusion and Exclusion Metadirectory</li> Exclusion</li></ol> </li> You will see the Exclusion rules each with their own message heading and a number. The number helps you identify which rules are being processed in the logs, for example:

'''message 20

$embedded(&quot;test&quot;, $mv.dn) = T'''

</li></ol>

The message with the same number is the Exclusion rule that is in use. You may need to redefine your Exclusions rules or take a second look at the incoming data. If an Exclusion rule is being processed that you would prefer to have ignored, simply comment the rule with a hash or pound symbol and it will not be processed on the next run of the MA. For example:

'''#message 20


 * 1) $embedded(&quot;test&quot;, $mv.dn) = T'''

If you need to further refine you Exclusion rule, you can add an explicit And to the rule by adding additional criteria that the Exclusion rule has to meet.

Additional query words: MMS Zoomit VIA MA Management Agents Exclusion Inclusion

Keywords: kbprb KB259059

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.