# Document how to access a SharePoint link with email authentication

**URL:** <https://forum.rclone.org/t/document-how-to-access-a-sharepoint-link-with-email-authentication/53779>\
**Category:** Feature\
**Created:** [May 10, 2026, 10:18pm UTC](https://forum.rclone.org/t/document-how-to-access-a-sharepoint-link-with-email-authentication/53779 "2026-05-10T22:18:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![roubert](https://forum.rclone.org/user_avatar/forum.rclone.org/roubert/32/21007_2.png) [@roubert](https://forum.rclone.org/u/roubert)\
**Post date:** [May 10, 2026, 10:18pm UTC](https://forum.rclone.org/t/document-how-to-access-a-sharepoint-link-with-email-authentication/53779/1 "2026-05-10T22:18:03Z")

</div>

A small company where I’m a customer has a SharePoint where I can upload documents to them through a web interface, accessed through a link like this:

https://xxxxxx.sharepoint.com/:f:/s/Kundenakten/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx?email=fredrik%40roubert.name&e=xxxxxx

That link leads to a Request Verification Code dialog box with a Send Code button, which sends me an email with “12345678 is your Microsoft SharePoint verification code”, which I then can use to access the SharePoint web interface.

The question has been asked before in these forums, whether this is something that can be accessed using rclone (and, if so, how to properly configure rclone to do it), without ever receiving any clear answers:

> [@Accessing a SharePoint link with email authentication](https://forum.rclone.org/t/accessing-a-sharepoint-link-with-email-authentication/53338):
>
> What is the problem you are having with rclone? A small company where I’m a customer has a SharePoint where I can upload documents to them through a web interface, accessed through a link like this: https://xxxxxx.sharepoint.com/:f:/s/Kundenakten/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx?email=fredrik%40roubert.name&e=xxxxxx That link leads to a Request Verification Code dialog box with a Send Code button, which sends me an email with “12345678 is your Microsoft SharePoint verification c…

> [@Accessing a Sharepoint direct/emailed link](https://forum.rclone.org/t/accessing-a-sharepoint-direct-emailed-link/46523):
>
> (I haven't been able to fully apply the template because I don't really know enough about the situation.) What is the problem you are having with rclone? I am not sure how to use it with a 3rd party Sharepoint link shared via email. Basically, I have a link to a Sharepoint site that looks like (redacted): https://somebusiness.sharepoint.com/:f:/s/portal/[bunch of base64 looking stuff and query string data] It was emailed to me. I am not an employee of this business, I have no login for any o…

Today, I finally managed to figure out that this is indeed possible to do and even quite easy to configure.

I got the important information that I was missing from here:

> <https://gist.github.com/ozel/bb1cbdd4674445aba1c25289166afda3>

The authentication cookie `FedAuth` that one gets after entering the verification code received per email into the web form remains valid for a few days, so for someone like myself there's no need to complicate things with a script, it's easy enough to just copy-paste the cookie string manually from the web browser into `rclone.conf` after each new login. (The `rtFa` cookie also mentioned in that script doesn't get set for me when I log in and everything seems to work fine without it.)

So my `rclone.conf` for the URL mentioned above, using the `FedAuth` cookie copy-pasted from my browser after logging in, then became as simple as this:

```auto
[xxxxxx]
type = webdav
url = https://xxxxxx.sharepoint.com/sites/Kundenakten
vendor = other
headers = Cookie,FedAuth=xxxxxxxx;

```

Note that it apparently must be `vendor = other` and _not_ `vendor = sharepoint` there in order to use the cookie for authentication (instead of attempting password authentication, which can't work as I don't have any account with a password here).

I think it'd be very useful if this information could be added to the official rclone documentation.

---

<div class="post-metadata">

**Author:** ![BackupRclone18](https://forum.rclone.org/letter_avatar_proxy/v4/letter/b/b2d939/32.png) [@BackupRclone18](https://forum.rclone.org/u/BackupRclone18)\
**Post date:** [June 15, 2026, 10:01pm UTC](https://forum.rclone.org/t/document-how-to-access-a-sharepoint-link-with-email-authentication/53779/2 "2026-06-15T22:01:02Z")

</div>

If this goes into the docs, I think it would be worth adding a small warning that FedAuth is basically a bearer credential while it is valid. So people should not paste a real cookie into forum posts or logs, and should treat that rclone.conf like a password file, ideally with config encryption if it is kept on disk. That would make the workaround clearer and a bit safer for occasional uploads.

---

<div class="post-metadata">

**Author:** ![system](https://forum.rclone.org/uploads/default/original/2X/3/39ad3235f6ffec76ccd0c81616bd55697b4c300d.png) [@system](https://forum.rclone.org/u/system)\
**Post date:** [August 14, 2026, 10:01pm UTC](https://forum.rclone.org/t/document-how-to-access-a-sharepoint-link-with-email-authentication/53779/3 "2026-08-14T22:01:33Z")

</div>

Closed on August 14, 2026, 10:01pm UTC

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