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

Community site session details

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

How to Upload Documents from Business Central to SharePoint — and then to Azure Portal

(3) ShareShare
ReportReport
Posted on by 10

Hey everyone 👋

I’m currently working on a document integration process in Dynamics 365 Business Central, and I’d love some guidance or best practices from the community.

Scenario:

  1. I need to upload documents (like invoices, receipts, item images, etc.) from Business Central to SharePoint directly through AL code or available connectors.

  2. Once the documents are in SharePoint, I want to upload or sync those files automatically to Azure (Blob Storage / Azure Portal) for long-term storage or external access.

  • What’s the recommended way to integrate SharePoint document upload in Business Central? (REST API, Power Automate, or AL code using HttpClient?)

  • How can I automate the next step — moving or syncing uploaded SharePoint files to Azure Blob Storage?

  • Are there any ready-to-use examples or standard BC extensions for this integration

If anyone has implemented a SharePoint → Azure document pipeline from Business Central, please share your approach or sample code. 

Thanks in advance!

#BusinessCentral #SharePoint #Azure #Dynamics365 #ALDevelopment

I have the same question (1)
  • Suggested answer
    YUN ZHU Profile Picture
    92,882 Super User 2025 Season 2 on at
    How to Upload Documents from Business Central to SharePoint — and then to Azure Portal
    I will answer the first half of the question. I have tested the integration of Sharepoint before. Hope the following helps. I personally recommend using the Graph API integration, which is more efficient than Power Automate and doesn't require a Power Automate license.
    Dynamics 365 Business Central Blog Series: Integrate Business Central with SharePoint
     
    Thanks.
    ZHU
  • Suggested answer
    OussamaSabbouh Profile Picture
    488 on at
    How to Upload Documents from Business Central to SharePoint — and then to Azure Portal

    Hello,

    To get files from Business Central to SharePoint, use the Microsoft Graph API. You first need to register the app in Azure for permissions, then use AL code with HttpClient to perform the upload.

    Once the files are in SharePoint, you can automatically sync them to Azure Blob Storage using a Power Automate flow. Just set up a flow that triggers "When a file is created" in SharePoint, followed by the "Create blob" action in Azure.

    Regards,
    Oussama

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

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

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 4,255

#2
Sumit Singh Profile Picture

Sumit Singh 2,665

#3
Nimsara Jayathilaka. Profile Picture

Nimsara Jayathilaka. 2,401

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans