We have a issue that when role is getting assigned to user and resource is not getting assigned to user

I checked resource is mapped to a role. It was working before but its seems something broken.

When i check the user profile in LDAP, nrfAssignedRole is getting added but nrfAssignedResource is not getting added.

If we assign a user manually to the resource, nrfAssignedResource is getting added to user and it's ID is getting populated in AD.