Setting up External Storage for Sharepoint Online

Hi all,

I’m trying to setup External Storage to point to Sharepoint Online. I’ve downloaded the Sharepoint app within Nextcloud but I am struggling to find any documentation on how to set it up.

I’ve seen a few posts here and I’ve tried some of their advice, but nothing seems to have worked from what I’ve seen so far.

So lets say my Sharepoint site is:

https://mytenant.sharepoint.com/sites/MySite

In Myfile I’ve tried configuring the HOST as all the following combinations:

https://mytenant.sharepoint.com/sites/
https://mytenant.sharepoint.com/sites
https://mytenant.sharepoint.com

The document library I’ve configured as the following combinations:
/sites/MySite/Shared%20Documents
/sites/MySite/Shared Documents
/sites/MySite
MySite/Shared%20Documents

The username is the full username of the user including domain name.
The password has been checked multiple times.

If I login directly to Sharepoint it works without issues.
There is no MFA applied to this particular user account.

If I go into Azure AD and look at the sign in logs for that particular user, it seems to be showing as success. So it looks like it’s getting as far as authentication…

Would be great to hear from anyone who has gotten this working, still struggling on this end.