It’s very possible that the method of getting the identity name in ESX has changed over the years. I don’t use ESX and don’t follow their updates, so I’m unable to troubleshoot this at the moment.