Azure File Share
Since D365FO is a cloud system, inbound and outbound files must live in a location the cloud can reach. Azure File Share is the simplest option: it is created in a few clicks in the Azure portal, can be mapped as a network drive on Windows, and is browsable with Azure Storage Explorer — convenient for both external systems and support engineers.
Framework classes: DEVIntegMessagesLoadAzureFileShare (inbound load), DEVIntegAzureStorageConnectionHelper (connection handling).
How it works
- The external system (or an
azcopyscript) drops files into an Incoming folder on the file share. - The Load messages batch job connects using the Connection type, reads each file, creates an Incoming messages record with the file attached, and moves the file to the Archive folder.
- There is no Error folder by design — failed files stay visible as messages in Error status with the details in the message log.
Archive file naming (keep the original name or append a timestamp) is configured on the Inbound message type.
Tutorials
- How to implement file-based integration in D365FO using X++ — the foundational walk-through (ledger journals from CSV/Excel).
- Import purchase orders from XML files — XML documents from a file share.
- Multicompany DMF integration — file share as the channel for DMF-based imports.