Libre Office Writer not connectingt to One drive

I am using Alma Linux 8.6 patched current and Libre Office 7.4. When I go to Files->Open Remote, I get the File Services form to connect. I select One drive, put in my user name which is my email address and my password, I get the specified object is invalid error. I have checked very carefully to see that my user name and password are correct. I have also browsed to the URL shown and see json so I know i am reaching the URL. Why is my user name/password being rejected and my log in failing. I am running KDE Plasma desktop if that makes a difference. Thanks for any help you can give me on this.

Careful please. This is not the words of the error. Does you get the same error, if you enter a false password by purpose? Error texts can be misleading, but one should not forget them.
.
Can’t test your setup, but from other exprience: Some of this cloud-services don’t allow full access to your account, but limit an “app” to the files it created.
.
(So I only use a local folder in my desktop, wich is synced to Dropbox etc)

Yesterday OneDrive was globally down for some hours.