Creating a new backup with Sharepoint v2 as the destination I use the following settings:
Destination path:
h_t_t_p_s://company.sharepoint.com/sites/bu/Documents/Database
AuthId
(Generated by clicking on AuthId)
site-id
(Retrieved from h_t_t_p_s://company.sharepoint.com/sites/bu/_api/site/id)
On version 2.0.7.2 this worked fine, but since upgrading to 2.1.0.104 (even trying a fresh install on another PC and also using different sharepoint from another tenant) I get the following error when I click on test connection:
The folder h_t_t_p_s://company.sharepoint.com/sites/bu/Documents/Database does not exist. Create it now?
The folder does exist and v2.0.7.2 writes to it without an issue.
If I create the backup without testing the connection I get the following error:
BadRequest: Bad Request error from request h_t_t_p_s://graph.microsoft.com/v1.0/sites/{site-id}/drive/root:/h_t_t_p_s/://company.sharepoint.com/sites/bu/Documents/Database:/children Method: GET, RequestUri: ‘h_t_t_p_s://graph.microsoft.com/v1.0/sites/{site-id}/drive/root:/h_t_t_p_s/://company.sharepoint.com/sites/bu/Documents/Database:/children’, Version: 1.1, Content: , Headers: { User-Agent: Duplicati/2.1.0.104 Authorization: Bearer ABC…XYZ } StatusCode: 400, ReasonPhrase: ‘Bad Request’, Version: 1.1, Content: System.Net.Http.HttpConnectionResponseContent, Headers: { Transfer-Encoding: chunked Strict-Transport-Security: max-age=31536000 request-id: a609351c-3b97-4dc2-bdf5-706ac6ba3235 client-request-id: a609351c-3b97-4dc2-bdf5-706ac6ba3235 x-ms-ags-diagnostic: {“ServerInfo”:{“DataCenter”:“UK South”,“Slice”:“E”,“Ring”:“5”,“ScaleUnit”:“003”,“RoleInstance”:“LO2PEPF0000332E”}} Date: Sun, 05 Jan 2025 18:31:07 GMT Content-Type: application/json } { “error”: { “code”: “BadRequest”, “message”: “Resource not found for the segment ‘root:’.”, “innerError”: { “date”: “2025-01-05T18:31:08”, “request-id”: “a609351c-3b97-4dc2-bdf5-706ac6ba3235”, “client-request-id”: “a609351c-3b97-4dc2-bdf5-706ac6ba3235” } } }
Could someone please shed some light onto this?
Thank you