Data category visibility can be set with roles, permission sets, or profiles. I'm not able to retrieve any of these settings.
This is the Knowledge relevant part of my package.xml:
<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
<types>
<members>Knowledge__kav</members>
<name>CustomObject</name>
</types>
<types>
<members>*</members>
<name>DataCategoryGroup</name>
</types>
<types>
<members>*</members>
<name>PermissionSet</name>
</types>
<types>
<members>*</members>
<name>Profile</name>
</types>
<types>
<members>*</members>
<name>Role</name>
</types>
<version>48.0</version>
</Package>
I don't find informations about category group visibility neither in permissionsets
, profiles
, roles
nor datacategorygroups
.