To delete your OneDrive account on your Mac, you need to unlink it first. Here are the steps to do that:
- On the menu bar, select the OneDrive icon.
- Select More > Preferences.
- On the Account tab, select Unlink this Mac > Unlink account.
- After unlinking, you can choose to uninstall OneDrive if you wish.
If you want to completely remove OneDrive from your Mac, you can uninstall it by going to Applications, finding OneDrive, and moving it to the Trash.
After unlinking, you can sign in with the correct Microsoft account if needed.