What is the problem you are having with rclone?
Microsoft error AADSTS90036 when authenticating against a SharePoint Online Document Library with a client_id and client_secret: "AADSTS90036: An unexpected, non-retryable error stemming from the directory service has occurred."
Run the command 'rclone version' and share the full output of the command.
rclone v1.66.0
- os/version: ubuntu 20.04 (64 bit)
- os/kernel: 5.4.0-200-generic (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.22.1
- go/linking: static
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
Microsoft SharePoint Online Document Library
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone ls sodl:
Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.
[sodl]
type = onedrive
client_id = XXX
client_secret = XXX
drive_id = XXX
drive_type = documentLibrary
access_scopes = Files.Read Files.Read.All Sites.Read.All offline_access
description = My SharePoint Online Document Library
A log from the command that you were trying to run with the -vv
flag
2024/11/20 07:01:56 DEBUG : rclone: Version "v1.66.0" starting with parameters ["rclone" "-vv" "ls" "sodl:"]
2024/11/20 07:01:56 DEBUG : Creating backend with remote "sodl:"
2024/11/20 07:01:56 DEBUG : Using config file from "/home/me/.config/rclone/rclone.conf"
2024/11/20 07:01:56 Failed to create file system for "sodl:": failed to configure OneDrive: empty token found - please run "rclone config reconnect sodl:"
Following instructions to run rclone config reconnect sodl:
opens web browser with the AADSTS90036 message immediately.
Is there anything I am obviously doing wrong? Or is this something I must take back to my overburdened system administrator?