Rclone uses permissions of my user instead of azure app

What is the problem you are having with rclone?

rclone currently has the ability to edit all SharePoint Online sites that my user can access, which is not the intended behavior. For security reasons, I want rclone to restrict access to only one specific SharePoint site.

I followed the instructions on rclone’s OneDrive setup page. I created an Azure App with permissions to edit SharePoint sites, generated a Client Secret, and configured rclone with these credentials. I assumed that rclone would only have access to the specific sites defined in the Azure App.

However, when I connected with rclone and tested copying files, it had access to all SharePoint sites my user can access, rather than being restricted to the permissions of the Azure App.

How can I ensure that rclone only has access to the specific SharePoint site defined in the Azure App?

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

rclone v1.68.2

  • os/version: Microsoft Windows 11 Enterprise 23H2 (64 bit)
  • os/kernel: 10.0.22631.4460 (x86_64)
  • os/type: windows
  • os/arch: amd64
  • go/version: go1.23.3
  • go/linking: static
  • go/tags: cmount

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

Microsoft 365 / Sharepoint Online

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

Paste command here

Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.

Double check the config for sensitive info before posting publicly

Paste config here

A log from the command that you were trying to run with the -vv flag

Paste  log here

welcome to the forum,

there was a template of questions for you to answer??

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