Connection to MS SharePoint using Rclone with webdav

What is the problem you are having with rclone?

Accessing (read and write) files on a MS SharePoint site - using Rclone with webdav

What is your rclone version (output from rclone version)

rclone v1.57.0

  • os/version: darwin 11.5.2 (64 bit)
  • os/kernel: 20.6.0 (x86_64)
  • os/type: darwin
  • os/arch: amd64
  • go/version: go1.17.2
  • go/linking: dynamic
  • go/tags: none

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

MS Teams (SharePoint)

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

rclone tree test:/

The rclone config contents with secrets removed.

[test]
type = webdav
url = https://mydomain.sharepoint.com/sites/testsite
vendor = sharepoint
user = tamir.sharon@mydomain.dev
pass = *** ENCRYPTED ***```



#### A log from the command with the `-vv` flag  
<!-- You should use 3 backticks to begin and end your paste to make it readable.  Or use a service such as https://pastebin.com or https://gist.github.com/   -->

2021/12/21 11:15:18 DEBUG : Creating backend with remote "test:/"
2021/12/21 11:15:18 DEBUG : Using config file from "/Users/tamirsharon/.config/rclone/rclone.conf"
2021/12/21 11:15:18 DEBUG : found headers:
2021/12/21 11:15:19 Failed to create file system for "test:/": wst:FailedAuthentication: Authentication Failure (AADSTS53003: Access has been blocked by Conditional Access policies. The access policy does not allow token issuance.)```

I've already checked MS Teams and MS Azure admin centers only to find out no such Conditional Access policy is enabled or even exists.

Does anyone encounter this?

Thanks

Does seem like they don't know they have a policy:

Troubleshooting sign-in problems with Conditional Access - Azure Active Directory | Microsoft Docs

Are they looking at the right tenant as that's just a message right back from Azure?

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