Skip to main content

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

  1. The external system (or an azcopy script) drops files into an Incoming folder on the file share.
  2. 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.
  3. 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