Trying to create remote for a work sharepoint account sends me to the wrong Microsoft website

What is the problem you are having with rclone?

This is my first time trying to use rclone. I'm trying to create a new onedrive/sharepoint remote to sync my work files. When I follow the steps, a browser window opens with the following url
Microsoft account...

But my OneDrive account is not accessible from that website.
I normally enter my OneDrive account by going to the following url:
which redirects me to a very long url that your system is not allowing me to write here because I am a new user.

Run the command 'rclone version' and share the full output of the command.

2022/07/01 20:13:39 NOTICE: Config file "/home/castillh/.config/rclone/rclone.conf" not found - using defaults
rclone v1.36

No, I am using the version available in ubuntu 18.04.

Which cloud storage system are you using? (eg Google Drive)

Microsoft OneDrive/Sharepoint

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone config -vv

The rclone config contents with secrets removed.

I don't have any config, this is the first time I'm using rclone. 

A log from the command with the -vv flag

rclone config -vv
2022/07/01 20:14:59 NOTICE: Config file "/home/castillh/.config/rclone/rclone.conf" not found - using defaults
2022/07/01 20:14:59 DEBUG : rclone: Version "v1.36" starting with parameters ["rclone" "config" "-vv"]
No remotes found - make a new one
n) New remote
r) Rename remote
c) Copy remote
s) Set configuration password
q) Quit config
n/r/c/s/q> n
name> remote-OneDrive
Type of storage to configure.
Choose a number from below, or type in your own value
 1 / Amazon Drive
   \ "amazon cloud drive"
 2 / Amazon S3 (also Dreamhost, Ceph, Minio)
   \ "s3"
 3 / Backblaze B2
   \ "b2"
 4 / Dropbox
   \ "dropbox"
 5 / Encrypt/Decrypt a remote
   \ "crypt"
 6 / Google Cloud Storage (this is not Google Drive)
   \ "google cloud storage"
 7 / Google Drive
   \ "drive"
 8 / Hubic
   \ "hubic"
 9 / Local Disk
   \ "local"
10 / Microsoft OneDrive
   \ "onedrive"
11 / Openstack Swift (Rackspace Cloud Files, Memset Memstore, OVH)
   \ "swift"
12 / SSH/SFTP Connection
   \ "sftp"
13 / Yandex Disk
   \ "yandex"
Storage> onedrive
Microsoft App Client Id - leave blank normally.
Microsoft App Client Secret - leave blank normally.
Remote config
Use auto config?
 * Say Y if not sure
 * Say N if you are working on a remote or headless machine
y) Yes
n) No
y/n> y
If your browser doesn't open automatically go to the following link: 
Log in and authorize rclone for access
Waiting for code...
2022/07/01 20:15:27 DEBUG : Starting auth server on

Please update and install from

That’s a 4-5 year old version…

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.