sharepoint icon indicating copy to clipboard operation
sharepoint copied to clipboard

Unable to connect to 2FA-enabled O365 OneDrive

Open didierm opened this issue 2 years ago • 2 comments

Steps to reproduce

  1. install nextcloud/sharepoint app
  2. create O365 OneDrive external storage, according to provided documentation at https://github.com/nextcloud/sharepoint#how-to-add-office-365-onedrive

Expected behaviour

connectivity to the (Sharepoint-based) O365 OneDrive share

Actual behaviour

NextCloud error : "External mount error There was an error with message: Empty response from the server"

Server configuration

NC21

More info

  • The O365 OneDrive share is protected with 2FA (TOTP).
  • The nextcloud/sharepoint app documentation is copied verbatim from rclone (with its reference : https://rclone.org/webdav/#sharepoint-online ), but omits this specific (and essential) rclone clause : "... If you have 2FA enabled, you have to generate an app password. ..."

If nextcloud/sharepoint is unable to cope with 2FA, this should be highlighted in the documentation.

didierm avatar Jul 26 '22 12:07 didierm