Adding OneDrive as a service says "The specified device is invalid"

When I try to add OneDrive using the add service menu, it gives an error box saying “The specified device is invalid.”

I use my email for my Microsoft account as the user and my MS account password as the password. I leave the share field blank.

LibreOffice has no Email component.
Store your documents to the local hard disk (“My Files”) and “OneDrive” will sync them with your cloud.