You can't disable Facebook contact sync for your Microsoft 365 organization

Original KB number:   2898124


When you try to disable Facebook contact sync in your Microsoft 365 organization through a mailbox policy, you experience one or both of the following symptoms:

  • After you try to disable it through the Exchange admin center, the feature still seems to be enabled.
  • If you run the Set-OwaMailboxPolicy cmdlet together with the DisableFacebook switch, you receive the following error message:

Error Message: A positional parameter cannot be found that accepts argument 'DisableFacebook'.
+ CategoryInfo : InvalidArgument: (:) [Set-OwaMailboxPolicy], ParameterBindingException
+ FullyQualifiedErrorId : PositionalParameterNotFound,Set-OwaMailboxPolicy
+ PSComputerName : pod<x>


This issue occurs if Facebook integration isn't available for your organization. Validation rules block access to features that don't apply to certain organizations. Even though you can't disable the feature, you don't have to be concerned about the feature being used by people in your organization. If the Facebook contact sync feature isn't available for your organization, this means that the feature is blocked at a deeper level.


Make sure that users don't have the option to connect to Facebook. If users don't have the option to add their Facebook friends as contacts, you can safely ignore the error message.

More information

For more info about Facebook contact sync, see Manage Facebook contact sync in your organization.

The features that are available to your Microsoft 365 organization are determined by the service plan for your account. Some features aren't available to mailboxes or organizations in specific regions.

Still need help? Go to Microsoft Community.

Third-party information disclaimer

The third-party products that this article discusses are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, about the performance or reliability of these products.