Power off the VM and then apply the storage policy.
Alternatively, if IDE mode is not necessary for the guest OS, the virtual device node type can be changed to SCSI or SATA (while the VM is powered off.). Once in SCSI or SATA mode, storage policies can be applied to the VM while it is powered on.