ldapUserAvatarRule for Active Directory

Hello, greetings to all.

Has anyone configured LDAP with active directory? I have had no problem with authentication or groups, but I have a doubt and that is how to get the profile picture, I have changed the default attribute with

occ ldap:set-config “s01” “ldapUserAvatarRule” “data:thumbnailPhoto”

occ ldap:set-config “s01” “ldapUserAvatarRule” “thumbnailPhoto”

occ ldap:set-config “s01” “ldapUserAvatarRule” “default”

But I don’t get any result, I appreciate some help.