I have installed Duplicati 126.96.36.199 under Docker on my unRAID home server. Would like to use OneDrive for Bussiness as a backend but I can’t manage to establish connection to it. Error I am getting says ‘‘Failed to connect: No SharePoint web could be logged in to at path’’. Below you can see login format I use.
Do you have any idea why I can’t establish a connection?
However the error is aleatory, I have managed to complete an initial backup of 9GB to the OneDrive 4 Biz backend, but after several tries. Credentials are fine, as is the path,but I haven’t found a way to reproduce it consistently.
I´m using the same setup as wisebear and getting the same error message. I´ve filled in everything correct but I think it has somthing to do with that the university has a login page that pops up after I enter the email adress to login on the onedrive webpage.
Also I seem to be missing the option “additional security verification” for setting up an app spesific password.
I´m using 2FA. And have created an app password for Duplicati. But i cannot get it past “test connection”
I´m on 188.8.131.52_beta_2017-08-01. But i have tested the latest canary as well. Running a Docker container. (unRAID) Have tried both to bridge the LAN, and to use same IP as host.
I tried OneDrive Personal and it worked on first attempt, no problem at all.
Has anyone got it working with 2FA and app password?
The error in log.
Dec 29, 2017 12:29 PM: Request for http://192.168.1.100:8200/api/v1/remoteoperation/test gave error
System.Net.WebException: No SharePoint web could be logged in to at path 'https://XXX-my.sharepoint.com/personal/XXX_XXX_XXX_com/Documents/Duplicati'. Maybe wrong credentials. Or try using '//' in path to separate web from folder path.
at Duplicati.Library.Backend.SharePointBackend.getSpClientContext (System.Boolean forceNewContext) [0x00070] in <1e96623231d94ecd98631cef66e60b62>:0
at Duplicati.Library.Backend.SharePointBackend.Test () [0x00000] in <1e96623231d94ecd98631cef66e60b62>:0
at Duplicati.Server.WebServer.RESTMethods.RemoteOperation.TestConnection (System.String url, Duplicati.Server.WebServer.RESTMethods.RequestInfo info) [0x000b7] in <a6c0c2089b9a44ec9be5057a44f12116>:0
at Duplicati.Server.WebServer.RESTMethods.RemoteOperation.POST (System.String key, Duplicati.Server.WebServer.RESTMethods.RequestInfo info) [0x00091] in <a6c0c2089b9a44ec9be5057a44f12116>:0
at Duplicati.Server.WebServer.RESTHandler.DoProcess (Duplicati.Server.WebServer.RESTMethods.RequestInfo info, System.String method, System.String module, System.String key) [0x0026e] in <a6c0c2089b9a44ec9be5057a44f12116>:0
From what i have read here at the forum, the syntax of connection string should be ok. If i copy/past to my browser, i end up in that folder. I have also tried to generate a new app password. but no luck.
And tried with the Windows version now, but i get the same error.
I compared the nonworking OD4B with a connection to OneDrive Personal. But i cant really see any difference other than JSON - status OK / JSON - Message=No SharePoint web could be logged in to at path… Maybe wrong credentials. Or try using ‘//’ in path to separate web from folder path.", Type=WebException