web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Errror with sharepoint external storage

(5) ShareShare
ReportReport
Posted on by 249

Hi,

I would like to use SharePoint as External Storage in Business Central 27.4.

I have configured:

 
  • An Azure App Registration

  • A client secret

  • API permissions: SharePoint → Sites.ReadWrite.All (admin consent granted)



  •  

In Business Central, I created the account in the External Storage module with the following settings:


  • URL: https://xxx.sharepoint.com/sites/yyy

  • Relative path: /Documents%20partages/TEST

  • Client ID and Secret are correct


  •  
 

When I navigate within the account, it fails in:

 

Codeunit 4580 – "Ext. SharePoint Connector Impl"

Method: ListDirectories

Line: 10

App: External File Storage - SharePoint Connector by Microsoft

Version: 27.4.45366.45675

 

However, if I change the relative folder in the setup (for example, "TEST2" instead of "TEST"), there is no error in the file browser. Of course, no files are listed, and I cannot create folders.
(The connection must be working correctly, since I observe different behavior between a directory that exists and one that does not exist !)

 

What could be causing this issue?

 

Best regards,

I have the same question (0)
  • Suggested answer
    YUN ZHU Profile Picture
    99,086 Super User 2026 Season 1 on at
    I haven't been able to successfully implement this feature in my tests so far, and there's no Microsoft documentation available.
    Microsoft's introductory video doesn't even use SharePoint...
     
    Perhaps we can wait for Microsoft's detailed documentation...
     
    Thanks.
    ZHU
  • Suggested answer
    OussamaSabbouh Profile Picture
    12,965 Super User 2026 Season 1 on at
    Hello,
     
    Most likely this is a relative path issue, not authentication: the SharePoint connector expects the correct server-relative library path and usually not URL-encoded values, so using /Documents%20partages/TEST can break resolution (sometimes due to double encoding). Try using the real library name without %20 (for example Documents partages/TEST or even Shared Documents/TEST if that’s the underlying library name), and ensure the path matches the server-relative URL shown when you copy the folder link in SharePoint (often /sites/yyy/Shared Documents/...). The behavior difference between an existing and non-existing folder confirms auth works, but the connector likely fails resolving the actual drive/library path.
     
    Regards,
    Oussama Sabbouh
  • Gwenael Riotteau Profile Picture
    249 on at
    i try with %20 (like in tooltip) and without
    i try with / before,after, ...
    ...
     
    i use the real library name (Documents%20partages)
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,005 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,148 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 557 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans