You are currently offline, waiting for your internet to reconnect

"Property 'CustomAttribute' is not present on object Mailbox" error when you run the New-ManagementScope cmdlet

Symptoms
Assume that you create an exclusive management scope, and you use the CustomAttribute property to filter users by using the New-ManagementScopecmdlet. For example, you run the following command:

New-ManagementScope -name Test-RecipientRestrictionFilter {(RecipientType -eq 'usermailbox' -and CustomAttribute10 -eq 'X')} -Exclusive
In this situation, you receive the following error message:

Property 'CustomAttribute <number>' is not present on object Mailbox.
Cause
This problem occurs because the CustomAttributes property is not supported by the New-ManagementScope cmdlet.
Resolution
To resolve this issue, use the Memberof property instead of CustomAttribute in the New-ManagementScope cmdlet.
Properties

Article ID: 3087665 - Last Review: 08/26/2015 23:16:00 - Revision: 1.0

Microsoft Exchange Server 2013 Enterprise, Microsoft Exchange Server 2013 Standard, Microsoft Exchange Server 2010 Enterprise, Microsoft Exchange Server 2010 Standard

  • KB3087665
Feedback
ml>cript> display: none; " src="https://c1.microsoft.com/c.gif?DI=4050&did=1&t="> = 1; var varClickTracking = 1; var varCustomerTracking = 1; var Route = "76500"; var Ctrl = ""; document.write(" "76500"; var Ctrl = ""; document.write(" d=1&t=">