Focus on desensitizing your dog rather than getting them to "like" the vacuum. Keep your dog on a leash and gradually engage them a little bit more with the vacuum. Then, give the pup plenty of treats whenever they don't react.
Let the puppy explore the vacuum while it's completely turned off. Repeatedly reward your pup as they interact with the vacuum; then, turn it on briefly and see how they...