Hello,
rclone version ❮
rclone v1.67.0
- os/version: Microsoft Windows 11 Pro 23H2 (64 bit)
- os/kernel: 10.0.22631.3880 (x86_64)
- os/type: windows
- os/arch: amd64
- go/version: go1.22.4
- go/linking: static
- go/tags: cmount
There was a topic opened before describing the exact issue I am having.
Sharepoint (Onedrive) single tenant with a shared secret - Help and Support - rclone forum
Basically, I want to automate adding onedrive configs to rclone as I have about a 100 sharepoint document libraries and new ones being added dynamically.
The topic discusses using app credentials to login to microsoft and get the access token, otherwise for each document library I will have to authenticate and reauthenticate etc.
I have already setup the App Registration in Azure, assigned the permissions and got the secret id and key, however when running
rclone config create thijstest2 onedrive config_type=url auth_url=https://login.microsoftonline.com/<TENANTID>/oauth2/v2.0/authorize token_url=https://login.microsoftonline.com/<TENANTID>/oauth2/v2.0/token client_id=<clientID> client_secret=<secret--SHHH> drive_type=documentLibrary config_driveid=<'b!....ID'> config_site_url=https://tenant.sharepoint.com/sites/Site1
I still am asked to open a browser and authenticate. Is there something I'm missing here?