What is the problem you are having with rclone?
Hello, it's been probably almost 2 years since the last time i used/checked my files on OneDrive (or any other remote) by using rclone (rclone Browser). So i'm a bit rusty.
I still had the config files and everything as it was all this time, so when i open it everything is as it was. But none of the remotes i had setup loads anything anymore.
So i chose onedrive as first to “fix”. But after i login on Client ID creation link i instantly get a error window showing the following:
The portal encountered an issue while attempting to retrieve access tokens. We suggest attempting to sign in again, or alternatively, continuing without access tokens, although this may result in a suboptimal user experience. Additional details: interaction_required: AADSTS160021: Application requested a user session which does not exist. Trace ID: [REDACTED BECAUSE NOT SURE IF PERSONAL INFO] Correlation ID: [REDACTED BECAUSE NOT SURE IF PERSONAL INFO] Timestamp: 2025-10-22 22:11:41Z.
Then it gives me the option to “Login again” but that gives me another error (this is a literal translation because its not in english for me):
The selected user account doesn’t exist in the tenant 'Microsoft Services' and can’t access the application '74658136-14ec-4630-ad9b-26e160ff0fc6' in the tenant. First, the account needs to be added as an external user in the tenant. Use a different account.
Then i try to log in again but after i choose my account again, the same error pops up and i cannot do anything else.
I tried browsing around in the settings page but whenever i try to go to certain pages it gives me that first error again and im on a loop of logging in again and getting stuck at the second error.
Run the command 'rclone version' and share the full output of the command.
rclone v1.71.1
- os/version: Microsoft Windows 11 Pro 24H2 24H2 (64 bit)
- os/kernel: 10.0.26100.6584 (x86_64)
- os/type: windows
- os/arch: amd64
- go/version: go1.25.1
- go/linking: static
- go/tags: cmount
Which cloud storage system are you using? (eg Google Drive)
OneDrive Personal
The command you were trying to run (eg rclone copy /tmp remote:tmp)
rclone config edit
Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.
Enter configuration password:
password:
[Google Drive]
type = drive
client_id = XXX
client_secret = XXX
scope = drive
token = XXX
team_drive =
[Mega]
type = mega
user = XXX
pass = XXX
[OneDrive - Virtual Drive]
type = crypt
remote = onedrive:[REDACTED]
password = XXX
password2 = XXX
[OneDrive [REDACTED]]
type = onedrive
token = XXX
drive_id = XXX
drive_type = personal
[OneDrive-[REDACTED]]
type = crypt
remote = onedrive:[REDACTED]
password = XXX
password2 = XXX
[crypt-[REDACTED]]
type = crypt
remote = onedrive:[REDACTED]
filename_encryption = standard
directory_name_encryption = true
password = XXX
password2 = XXX
[crypt-[REDACTED] GDrive]
type = crypt
remote = Google Drive:[REDACTED]
password = XXX
password2 = XXX
[encrypted]
type = crypt
remote = onedrive:[REDACTED]
filename_encryption = standard
directory_name_encryption = true
password = XXX
password2 = XXX
[mega-[REDACTED]]
type = mega
user = XXX
pass = XXX
[onedrive]
type = onedrive
client_id = XXX
client_secret = XXX
token = XXX
drive_id = XXX
drive_type = personal
### Double check the config for sensitive info before posting publicly
A log from the command that you were trying to run with the -vv flag
2025/10/DD HH:30:13 DEBUG : rclone: Version "v1.71.1" starting with parameters ["C:\\Users\\%USER%\\AppData\\Local\\Microsoft\\WinGet\\Packages\\Rclone.Rclone_Microsoft.Winget.Source_8wekyb3d8bbwe\\rclone-v1.71.1-windows-amd64\\rclone.exe" "config" "edit" "-vv"]
Enter configuration password:
password:
2025/10/DD HH:30:16 DEBUG : Using config file from "C:\\Users\\%USER%\\AppData\\Roaming\\rclone\\rclone.conf"
Current remotes:
Name Type
==== ====
Google Drive drive
Mega mega
OneDrive - [REDACTED REMOTE #3] crypt
OneDrive [REDACTED REMOTE #4] onedrive
OneDrive-[REDACTED REMOTE #5] crypt
crypt-[REDACTED REMOTE #6] crypt
crypt-[REDACTED REMOTE #7] GDrive crypt
encrypted crypt
mega-[REDACTED REMOTE #8] mega
onedrive onedrive
e) Edit existing remote
n) New remote
d) Delete remote
r) Rename remote
c) Copy remote
s) Set configuration password
q) Quit config
e/n/d/r/c/s/q> E
Select remote.
Choose a number from below, or type in an existing value.
1 > Google Drive
2 > Mega
3 > OneDrive - [REDACTED REMOTE #3]
4 > OneDrive [REDACTED REMOTE #4]
5 > OneDrive-[REDACTED REMOTE #5]
6 > crypt-[REDACTED REMOTE #6]
7 > crypt-[REDACTED REMOTE #7] GDrive
8 > encrypted
9 > mega-[REDACTED REMOTE #8]
10 > onedrive
remote> 3
Editing existing "OneDrive - [REDACTED REMOTE #3]" remote with options:
- type: crypt
- remote: onedrive:[REDACTED REMOTE NAME #3]
- password: *** ENCRYPTED ***
- password2: *** ENCRYPTED ***
2025/10/DD HH:33:46 DEBUG : OneDrive - [REDACTED REMOTE #3]: config in: state="*all", result=""
2025/10/DD HH:33:46 DEBUG : OneDrive - [REDACTED REMOTE #3]: config out: out=&{State:*all-set,0,false Option:onedrive:[REDACTED REMOTE NAME #3] OAuth:<nil> Error: Result:}, err=<nil>
2025/10/DD HH:33:46 DEBUG : OneDrive - [REDACTED REMOTE #3]: config: reading config parameter "remote"
Option remote.
Remote to encrypt/decrypt.
Normally should contain a ':' and a path, e.g. "myremote:path/to/dir",
"myremote:bucket" or maybe "myremote:" (not recommended).
Enter a value of type string. Press Enter for the default (onedrive:[REDACTED REMOTE NAME #3]).
remote>
2025/10/DD HH:34:24 DEBUG : OneDrive - [REDACTED REMOTE #3]: config in: state="*all-set,0,false", result="onedrive:[REDACTED REMOTE NAME #3]"
2025/10/DD HH:34:24 DEBUG : OneDrive - [REDACTED REMOTE #3]: config out: out=&{State:*all,1,false Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2025/10/DD HH:34:24 DEBUG : OneDrive - [REDACTED REMOTE #3]: config in: state="*all,1,false", result=""
2025/10/DD HH:34:24 DEBUG : OneDrive - [REDACTED REMOTE #3]: config out: out=&{State:*all-set,1,false Option:standard OAuth:<nil> Error: Result:}, err=<nil>
2025/10/DD HH:34:24 DEBUG : OneDrive - [REDACTED REMOTE #3]: config: reading config parameter "filename_encryption"
Option filename_encryption.
How to encrypt the filenames.
Choose a number from below, or type in your own value of type string.
Press Enter for the default (standard).
/ Encrypt the filenames.
1 | See the docs for the details.
\ (standard)
2 / Very simple filename obfuscation.
\ (obfuscate)
/ Don't encrypt the file names.
3 | Adds a ".bin", or "suffix" extension only.
\ (off)
filename_encryption>
2025/10/DD HH:34:36 DEBUG : OneDrive - [REDACTED REMOTE #3]: config in: state="*all-set,1,false", result="standard"
2025/10/DD HH:34:36 DEBUG : OneDrive - [REDACTED REMOTE #3]: config out: out=&{State:*all,2,false Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2025/10/DD HH:34:36 DEBUG : OneDrive - [REDACTED REMOTE #3]: config in: state="*all,2,false", result=""
2025/10/DD HH:34:36 DEBUG : OneDrive - [REDACTED REMOTE #3]: config out: out=&{State:*all-set,2,false Option:true OAuth:<nil> Error: Result:}, err=<nil>
2025/10/DD HH:34:36 DEBUG : OneDrive - [REDACTED REMOTE #3]: config: reading config parameter "directory_name_encryption"
Option directory_name_encryption.
Option to either encrypt directory names or leave them intact.
NB If filename_encryption is "off" then this option will do nothing.
Choose a number from below, or type in your own boolean value (true or false).
Press Enter for the default (true).
1 / Encrypt directory names.
\ (true)
2 / Don't encrypt directory names, leave them intact.
\ (false)
directory_name_encryption> 1
2025/10/DD HH:34:38 DEBUG : OneDrive - [REDACTED REMOTE #3]: config in: state="*all-set,2,false", result="true"
2025/10/DD HH:34:38 DEBUG : OneDrive - [REDACTED REMOTE #3]: config out: out=&{State:*all,3,false Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2025/10/DD HH:34:38 DEBUG : OneDrive - [REDACTED REMOTE #3]: config in: state="*all,3,false", result=""
2025/10/DD HH:34:38 DEBUG : OneDrive - [REDACTED REMOTE #3]: config out: out=&{State:*all-set,3,false Option:[REDACTED BECAUSE NOT SURE IF PERSONAL INFO] OAuth:<nil> Error: Result:}, err=<nil>
2025/10/DD HH:34:38 DEBUG : OneDrive - [REDACTED REMOTE #3]: config: reading config parameter "password"
Option password.
Password or pass phrase for encryption.
Choose an alternative below. Press Enter for the default (n).
y) Yes, type in my own password
g) Generate random password
n) No, keep existing (default)
y/g/n> Y
Enter the password:
password:
Confirm the password:
password:
2025/10/DD HH:35:31 DEBUG : OneDrive - [REDACTED REMOTE #3]: config in: state="*all-set,3,false", result="[REDACTED BECAUSE NOT SURE IF PERSONAL INFO]"
2025/10/DD HH:35:31 DEBUG : Saving config "password" in section "OneDrive - [REDACTED REMOTE #3]" of the config file
2025/10/DD HH:35:31 DEBUG : Keeping previous permissions for config file: -rw-rw-rw-
2025/10/DD HH:35:31 DEBUG : OneDrive - [REDACTED REMOTE #3]: config out: out=&{State:*all,4,false Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2025/10/DD HH:35:31 DEBUG : OneDrive - [REDACTED REMOTE #3]: config in: state="*all,4,false", result=""
2025/10/DD HH:35:31 DEBUG : OneDrive - [REDACTED REMOTE #3]: config out: out=&{State:*all-set,4,false Option:[REDACTED BECAUSE NOT SURE IF PERSONAL INFO] OAuth:<nil> Error: Result:}, err=<nil>
2025/10/DD HH:35:31 DEBUG : OneDrive - [REDACTED REMOTE #3]: config: reading config parameter "password2"
Option password2.
Password or pass phrase for salt.
Optional but recommended.
Should be different to the previous password.
Choose an alternative below. Press Enter for the default (n).
y) Yes, type in my own password
g) Generate random password
n) No, keep existing (default)
y/g/n> y
Enter the password:
password:
Confirm the password:
password:
2025/10/DD HH:35:45 DEBUG : OneDrive - [REDACTED REMOTE #3]: config in: state="*all-set,4,false", result="[REDACTED BECAUSE NOT SURE IF PERSONAL INFO]"
2025/10/DD HH:35:45 DEBUG : Saving config "password2" in section "OneDrive - [REDACTED REMOTE #3]" of the config file
2025/10/DD HH:35:45 DEBUG : Keeping previous permissions for config file: -rw-rw-rw-
2025/10/DD HH:35:45 DEBUG : OneDrive - [REDACTED REMOTE #3]: config out: out=&{State:*all,5,false Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2025/10/DD HH:35:45 DEBUG : OneDrive - [REDACTED REMOTE #3]: config in: state="*all,5,false", result=""
2025/10/DD HH:35:45 DEBUG : OneDrive - [REDACTED REMOTE #3]: config out: out=&{State:*all,6,false Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2025/10/DD HH:35:45 DEBUG : OneDrive - [REDACTED REMOTE #3]: config in: state="*all,6,false", result=""
2025/10/DD HH:35:45 DEBUG : OneDrive - [REDACTED REMOTE #3]: config out: out=&{State:*all,7,false Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2025/10/DD HH:35:45 DEBUG : OneDrive - [REDACTED REMOTE #3]: config in: state="*all,7,false", result=""
2025/10/DD HH:35:45 DEBUG : OneDrive - [REDACTED REMOTE #3]: config out: out=&{State:*all,8,false Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2025/10/DD HH:35:45 DEBUG : OneDrive - [REDACTED REMOTE #3]: config in: state="*all,8,false", result=""
2025/10/DD HH:35:45 DEBUG : OneDrive - [REDACTED REMOTE #3]: config out: out=&{State:*all,9,false Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2025/10/DD HH:35:45 DEBUG : OneDrive - [REDACTED REMOTE #3]: config in: state="*all,9,false", result=""
2025/10/DD HH:35:45 DEBUG : OneDrive - [REDACTED REMOTE #3]: config out: out=&{State:*all,10,false Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2025/10/DD HH:35:45 DEBUG : OneDrive - [REDACTED REMOTE #3]: config in: state="*all,10,false", result=""
2025/10/DD HH:35:45 DEBUG : OneDrive - [REDACTED REMOTE #3]: config out: out=&{State:*all,11,false Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2025/10/DD HH:35:45 DEBUG : OneDrive - [REDACTED REMOTE #3]: config in: state="*all,11,false", result=""
2025/10/DD HH:35:45 DEBUG : OneDrive - [REDACTED REMOTE #3]: config out: out=&{State:*all,12,false Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2025/10/DD HH:35:45 DEBUG : OneDrive - [REDACTED REMOTE #3]: config in: state="*all,12,false", result=""
2025/10/DD HH:35:45 DEBUG : OneDrive - [REDACTED REMOTE #3]: config out: out=&{State:*all,13,false Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2025/10/DD HH:35:45 DEBUG : OneDrive - [REDACTED REMOTE #3]: config in: state="*all,13,false", result=""
2025/10/DD HH:35:45 DEBUG : OneDrive - [REDACTED REMOTE #3]: config out: out=&{State:*all-advanced Option:false OAuth:<nil> Error: Result:}, err=<nil>
2025/10/DD HH:35:45 DEBUG : OneDrive - [REDACTED REMOTE #3]: config: reading config parameter "config_fs_advanced"
Edit advanced config?
y) Yes
n) No (default)
y/n> n
2025/10/DD HH:35:50 DEBUG : OneDrive - [REDACTED REMOTE #3]: config in: state="*all-advanced", result="false"
2025/10/DD HH:35:50 DEBUG : OneDrive - [REDACTED REMOTE #3]: config out: out=&{State:*postconfig Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2025/10/DD HH:35:50 DEBUG : OneDrive - [REDACTED REMOTE #3]: config in: state="*postconfig", result=""
2025/10/DD HH:35:50 DEBUG : OneDrive - [REDACTED REMOTE #3]: config in: state="", result=""
2025/10/DD HH:35:50 DEBUG : OneDrive - [REDACTED REMOTE #3]: config out: out=<nil>, err=<nil>
2025/10/DD HH:35:50 DEBUG : OneDrive - [REDACTED REMOTE #3]: config out: out=<nil>, err=<nil>
2025/10/DD HH:35:50 DEBUG : Keeping previous permissions for config file: -rw-rw-rw-
Configuration complete.
Options:
- type: crypt
- remote: onedrive:[REDACTED REMOTE NAME #3]
- password: *** ENCRYPTED ***
- password2: *** ENCRYPTED ***
Keep this "OneDrive - [REDACTED REMOTE #3]" remote?
y) Yes this is OK (default)
e) Edit this remote
d) Delete this remote
y/e/d> y
2025/10/DD HH:36:16 DEBUG : Keeping previous permissions for config file: -rw-rw-rw-