Hi,
AFAIK OneDrive is not compatible with virtual machines. If you depend on OneDrive to save your VM's then I recommend you to make additional backups.
For example see this thread:
https://communities.vmware.com/t5/VMware-Workstation-Pro/VM-disk-gets-corrupted-randomly-Buffer-I-O-...
--
Wil