Datastore does not satisfy compatibility since it does not support one or more required properties. Tags with name "tag_name" not found on datastore.Other descriptions seen for this issue:
vSphere 8 and 9
Tag not assigned to all of the required objects. To enable tag-based placement for a datastore cluster, the cluster as well as the individual datastores need to have the tag assigned to them.
Assign the tag to the datastore cluster as well as all of the datastores in the cluster. After assigning the tags appropriately, the tag-based placement rules can be created and applied.