Just dragging and dropping the OneDrive application to the Trash is not enough for a complete uninstallation.Before uninstalling OneDrive you should disconnect your account.Removal of the OneDrive application from Mac will not delete the OneDrive account and your files in the storage.
Important notes about uninstalling OneDrive from Mac