Can't connect to OneDrive

I’m using Duplicati 2.0.8.1_beta_2024-05-07 on a Windows Server 2019.
I have a Office365 Family Account.
I tried AuthID several times, but still get this message:

Failed to connect: BadRequest: Bad Request error from request https://graph.microsoft.com/v1.0/drives/true/root:/Duplicati Method: GET, RequestUri: ‘https://graph.microsoft.com/v1.0/drives/true/root:/Duplicati’, Version: 1.1, Content: , Headers: { User-Agent: Duplicati/2.0.8.1 Authorization: Bearer ABC…XYZ } StatusCode: 400, ReasonPhrase: ‘Bad Request’, Version: 1.1, Content: System.Net.Http.StreamContent, Headers: { Transfer-Encoding: chunked Strict-Transport-Security: max-age=31536000 request-id: 22948201-a41d-45cd-aa57-cb4d0d2e6ad7 client-request-id: 22948201-a41d-45cd-aa57-cb4d0d2e6ad7 x-ms-ags-diagnostic: {“ServerInfo”:{“DataCenter”:“Germany West Central”,“Slice”:“E”,“Ring”:“4”,“ScaleUnit”:“005”,“RoleInstance”:“FR3PEPF000002D9”}} Date: Tue, 24 Sep 2024 20:29:35 GMT Content-Type: application/json } { “error”: { “code”: “invalidRequest”, “message”: “ObjectHandle is Invalid”, “innerError”: { “date”: “2024-09-24T20:29:36”, “request-id”: “22948201-a41d-45cd-aa57-cb4d0d2e6ad7”, “client-request-id”: “22948201-a41d-45cd-aa57-cb4d0d2e6ad7” } } }

Welcome to the forum @avoelim

I don’t, but I’ll try some initial questions. This might need the right developer.

Google can find no prior reports of exactly this, with “ObjectHandle is Invalid”.

Are you using this option which somehow managed to not get in the manual?

  --drive-id (String): Optional ID of the drive
    ID of the drive to store data in. If no drive is specified, the default
    OneDrive or OneDrive for Business drive will be used via '/me/drive'.

I believe my OneDrive Personal is using /me/drive. Your RequestUri looks like:

suggests that somehow your driveId is true, which could happen if you just used option

--drive-id without giving actual value. This is sometimes OK. Other times true is bad.

Or maybe Duplicati came up with that on its own, so I’ll have to see if an expert can help.