I could not deploy profile that contain ManageConnectedApps permission, via ant migration tool
Below is the XML version
<userPermissions>
<enabled>false</enabled>
<name>ManageConnectedApps</name>
</userPermissions>
This error typically occurs when you use a lower version API than when the feature is introduced. Please make sure you have updated your Ant software recently, and your package.xml file is at least version 39.0.