Error: "Unknown user permission: ManageNetworks"
|Knowledge Article Number||000240503|
|Description||Some times the deployment fails with the permission "Error: Unknown user permission: ManageNetworks" while deploying profile .
This means that your target organization does not have community enabled.
|Resolution||Disable "Create and set up community permission" permission in source organization's user profile before retrieving the package.xml file and then deploy it to target organization .
This is because the permission "Create and Set Up Communities" is enabled in the source organization's user profile but not in the target org as there is no community enabled in it.