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

How to read a file stored in one drive in business central

(0) ShareShare
ReportReport
Posted on by 241

Hello experts,

Hope you're all doing well.

Is there any way to read a file stored in one drive? 

TempBlob.Blob.CreateInStream(IStream);
FileName := 'microsoft.jpg';
DownloadFromStream(IStream, 'Download File', '', '*.*', FileName);
I found this code that helped in downloading a file from an online link. But this code didn't work with an one drive link. I want to download or read a file from one drive. Is there any way to perform this functionality in business central. Answers will be highly appreciated. Thanks for reading.
I have the same question (0)
  • Suggested answer
    MahGah Profile Picture
    15,593 on at
  • M Hussnain Javed Profile Picture
    241 on at

    Hi MahGah,

    Thanks for replying. Actually I've a requirement to read a xml file from an online link and store it in a XmlDocument. Have you any idea that where should I upload that xml file and then how can I access or read that xml file from an online link? 

  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,165 Moderator on at

    Out of the box there us no support for reading xml files automatically from onedrive.

    You can customize the system to read files from an Azure blob storage or you can manually import files.

  • Suggested answer
    MahGah Profile Picture
    15,593 on at

    Hi

    As Inge mentioned you can use Azure or combination of FTP and Azure Logic app . See following articles

    demiliani.com/.../

    github.com/.../D365BC-Blob-Storage-API

    demiliani.com/.../

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