nextcloud / sharepoint

💾 Nextcloud SharePoint Backend for External storages
https://apps.nextcloud.com/apps/sharepoint
GNU Affero General Public License v3.0
25 stars 18 forks source link

Unable to connect to 2FA-enabled O365 OneDrive #141

Open didierm opened 2 years ago

didierm commented 2 years ago

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

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

didierm commented 2 years ago

FYI, this nextcloud app describes a procedure to use OAuth2 with OneDrive by creating a OneDrive app : https://github.com/hevelius/files_external_onedrive#configuring-oauth2

didierm commented 2 years ago

NC log output :

"Authentication Failure : AADSTS50076: Due to a configuration change made by your administrator, or because you moved to a new location, you must use multi-factor authentication to access"

nc-sharepoint.log