What is the problem you are having with rclone?
I followed the instructions in the "Microsoft OneDrive" article including app registrations in Microsoft Azure. During authorization in the browser, I confirmed the issuance of the requested rights to the application:
2022/09/07 19:00:22 NOTICE: Make sure your Redirect URL is set to "http://localhost:53682/" in your custom config.
2022/09/07 19:00:22 NOTICE: If your browser doesn't open automatically go to the following link: http://127.0.0.1:53682/auth?state=tTqpbdKT_tv48F7R7cMFlg
2022/09/07 19:00:22 NOTICE: Log in and authorize rclone for access
2022/09/07 19:00:22 NOTICE: Waiting for code...
2022/09/07 19:00:36 NOTICE: Got code
Error: failed to get token: oauth2: cannot fetch token: 401 Unauthorized
Response: {"error":"invalid_client","error_description":"AADSTS7000215: Invalid client secret provided. Ensure the secret being sent in the request is the client secret value, not the client secret ID, for a secret added to app '6cfc01be-(...)'.\r\nTrace ID: fb4111e1-85d1-4df5-97c7-9f5552e9c801\r\nCorrelation ID: cec81483-6005-4688-9fab-e31bec064333\r\nTimestamp: 2022-09-07 16:00:35Z","error_codes":[7000215],"timestamp":"2022-09-07 16:00:35Z","trace_id":"fb4111e1-85d1-4df5-97c7-9f5552e9c801","correlation_id":"cec81483-6005-4688-9fab-e31bec064333","error_uri":"https://login.microsoftonline.com/error?code=7000215"}
Endless loading onedrive.live .com/unlock
window:
I tried Mozilla Firefox 105.0b8 (64-bit) and Microsoft Edge 105.0.1343.27. In both cases, I get a disk ID not available error.
Microsoft Windows 10.0.19043.1949
Run the command 'rclone version' and share the full output of the command.
rclone v1.59.1
- os/version: Microsoft Windows 10 Pro 21H1 (64 bit)
- os/kernel: 10.0.19043.1949 (x86_64)
- os/type: windows
- os/arch: amd64
- go/version: go1.18.5
- go/linking: static
- go/tags: cmount
Which cloud storage system are you using?
Microsoft OneDrive
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
.\rclone.exe mount OneDrive: M:
The rclone config contents with secrets removed.
[OneDrive]
type = onedrive
client_id = 6cfc01be-...
client_secret = QtWUh&t...
drive_type = personal
expose_onenote_files = true
server_side_across_configs = true
link_type = edit
A log from the command with the -vv
flag
2022/09/07 23:06:37 DEBUG : rclone: Version "v1.59.1" starting with parameters ["D:\\Rclone\\rclone.exe" "mount" "OneDrive:" "M:" "-vv"]
2022/09/07 23:06:37 DEBUG : Creating backend with remote "OneDrive:"
2022/09/07 23:06:37 DEBUG : Using config file from "C:\\Users\\User\\.config\\rclone\\rclone.conf"
2022/09/07 23:06:37 Failed to create file system for "OneDrive:": unable to get drive_id and drive_type - if you are upgrading from older versions of rclone, please run `rclone config` and re-configure this backend