Sign in with Microsoft
Sign in or create an account.
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.


In Microsoft Exchange Server 2019 or Exchange Server 2016, consider the following scenario:

  • For any user, change the ECPEnabled parameter value to $false by using the following Set-CASMailbox cmdlet:

Set-CASMailbox NoEcp01 -ECPEnabled $false

  • You use the following Get-CASMailbox cmdlet to view the change that you made:

Get-CASMailbox -Filter ECPEnabled -eq $false'

In this situation, the output should be:

Name    ECPEnabled

----    ----------

NoECP01      False

However, the Get-CASMailbox cmdlet doesn't return any results even if the ECPEnabled parameter is set to $false.


This issue occurs because a wrong Lightweight Directory Access Protocol (LDAP) filter is used when you run the Get-CASMailbox cmdlet for the ECPEnabled parameter.


To fix this issue, install one of the following updates:

For Exchange Server 2019, install the Cumulative Update 7 for Exchange Server 2019 or a later cumulative update for Exchange Server 2019.​
For Exchange Server 2016, install the Cumulative Update 18 for Exchange Server 2016 or a later cumulative update for Exchange Server 2016.


Learn about the  terminology that Microsoft uses to describe software updates.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!