Microsoft Dynamics 365 Blog

A look into the world of Microsoft Dynamics.

How to Use Dynamics 365 With Azure Blob Storage

Posted by Alanna Friedberg on May 6, 2025 10:00:00 AM

How-to-Use-Dynamics-365-With-Azure-Blob-Storage-1Azure Storage Blob is cloud-based storage provided by Microsoft. It’s typically used by organizations needing to store and retrieve Binary Large Objects (BLOBs) or files. Users can allow customers to review unstructured data using Rest-based object storage. Dynamics365 now offers a way for users to store and retrieve attachments with Microsoft Azure Blob.

While the capability is still officially in preview mode, making Azure Blob an alternative storage solution for Dynamics 365 solutions is currently part of Microsoft’s roadmap. Until it goes live, it’s best to use Azure Blob functions in a non-production mode on a trial basis. When planning for production, it’s important to understand Azure Blob storage pricing to manage costs effectively and avoid unexpected charges.

Benefits of Using Azure Storage Blob with Dynamics 365

Microsoft designed Azure Blob to handle organizational needs to handle modern data storage scenarios like setting up:

  • A cloud file service system
  • A cloud messaging store
  • A NoSQL store

The inherent redundancy of Azure Blob keeps information safe in the case of hardware failure. Businesses can also replace data across various data centers or geographical regions for extra protection against a natural disaster or other catastrophes. That way, your organization can maintain uptime when an unexpected outage occurs.

Azure Blob scales to meet your Dynamics 365 application data storage and performance needs. Microsoft handles hardware maintenance and critical issues, relieving your IT team of that burden. Information stored in Azure Blob is accessible from anywhere you can access an HTTP or HTTPS connection. When evaluating your cloud strategy, it’s important to consider Microsoft Azure Blob storage cost, which varies based on storage tier, data redundancy, and access frequency. Optimizing your usage can significantly reduce expenses while still supporting performance. Developers can take advantage of Microsoft libraries to develop applications in popular languages like:

  • Python
  • C#
  • Java
  • PHP

Microsoft Azure Blob storage also supports scripting through Azure PowerShell or Azure CLI. You can also use the Azure Portal or Azure Storage Explorer to visualize your cloud data solutions. Azure Blob Storage Explorer provides a user-friendly interface to easily upload, download, and manage blob data across storage accounts. Azure Blob Storage backup capabilities allow you to safeguard important data by creating scheduled or on-demand copies in a secure cloud environment. Monitoring usage patterns can help you make informed decisions and manage Microsoft Azure Blob storage cost-effectively over time.

Installing Azure Storage Blob in Dynamics 365

Now that you better understand Azure Blob, let’s look at how you can get started with Dynamics 365 Azure Blob integration.

Set up an Azure Blob Account

  1. From the Azure portal, click on Storage accounts to view a list of all available storage accounts, then select Create.  
  2. Go to the Basics tab and fill in all essential storage account information. Use the Advanced tab to view additional options.
  3. Review the Networking tab to configure your Azure Blob account's network and routing preferences.
  4. Review the Data protection tab to configure data protections for your Azure Blob.
  5. Review the Encryption tab to set up options on encrypting data persisted to Azure cloud.
  6. Review the Tags tab to set up your Resource Manager tags to organize Azure resources.
  7. Select Review + create to confirm your choices or to go with the default account options.
  8. After Azure validates your storage accounts, you will see an image in the Review tab that shows all the options you picked.
  9. Select Review + create to finalize your Azure Blob storage account.

Configure Azure Blob Storage in Dynamics 365

  1. Open up Microsoft Dynamics 365 and go to the Admin console.
  2. Navigate to Connections, go to Add connection, then select Azure Storage Blob to configure your new connection.
  3. Add a recognizable name in the Display name field.
  4. Select which users are allowed to use the connection. The default setting provides access to Administrators only.
  5. Add the Account name, Key, and Container for an Azure Blob Storage Account.
  6. Click Save to complete your Azure Blob Dynamics 365 connection setup.

Configure Azure Blob Exports in Dynamics 365

  1. Navigate to Data àExports, then select Add destination to set up a new export.
  2. Go to the Connection for export field and select your desired connection from Azure Blob storage.
  3. Select the entities for destinations where you wish to export data.
  4. Click Save.

Best Practices for Using Azure Blob with Dynamics 365

Any requests made to your Azure storage accounts must receive authorizations. You can use Azure Active Directory (Azure AD) to handle your authorization requests to ensure they are secure. It’s possible to set up Windows VMs to use your Azure file shares with Azure Blob with the same credentials.

If you decide to delete an Azure Blob storage account, that will remove all data stored in that location. Make sure you’ve backed up any important data before deleting an Azure Blob from your Azure account. It’s not always possible to recover an Azure Blob storage account once it’s been deleted from the Azure portal. Before deletion, explore available Dynamics 365 file storage options to ensure your data is securely backed up and accessible.

Dynamics 365 Attachment Management with Azure Blob Storage

Microsoft AppSource contains an Attachment Management Add-in to help you work with attachments within Dynamics 365. With it, you can use Azure Blob to store attachments and optimize Dynamics 365 use of storage. This add-in allows you to easily store Dynamics 365 attachments in Azure, providing a secure and scalable solution for managing large volumes of files.

You can also configure optional upload and download control over multiple attachments. In addition, developers can enable forms with file drag and drop capabilities to make working with attachments easier for users.

After downloading the Attachment Management solution, you can log into your Azure portal and set up a new container.

  1. Log in to Azure Portal, then navigate to your Azure Blob storage account.
  2. Look for Containers, then select the Container button to add a new blob container. Make sure you set your access level to a Blob type.
  3. Create two attachment containers, one for notes and one for emails.
  4. After creating your containers, go to Storage Account, then navigate to Shared Access Signature.
  5. Click Generate SAS and connection string to generate the credentials to use in Dynamics 365.

Once you have your credentials, you need to add them to Dynamics 365.

  1. Go to Dynamics 365 and the Azure Attachments Storage settings, then select Azure Blob Storage Setup.
  2. Add the following credentials:
    1. Storage account name
    2. SAS Token
    3. Notes Attachment Container
    4. Email Attachment Container
    5. Organizational GUID (optional)
  3. Go to Notes Attachment Entity Settings. Select the correct entity and container name to map your attachments to Azure Blob, then click Save.
    Each Azure Blob container acts as a logical grouping of your stored files, helping you organize attachments by type, entity, or business function for easier access and management.

Seamless Integrations Between Dynamics 365 and Azure Blob

Internet eBusiness Solutions provides support services to help organizations navigate the intricacies of integrating Dynamics 365 Azure Blob storage. Our team specializes in Dynamics 365 integration with Azure, ensuring seamless connectivity and enhanced functionality across your cloud applications. Learn how we can support your cloud transition needs by setting up a consultation with one of our experts.

FAQs

What is Azure Blob Storage and how does it work?
Azure Blob Storage is Microsoft’s cloud-based solution for storing large amounts of unstructured data, like documents, images, videos, and backups. It works by saving your files in containers (like folders) inside a storage account. You can access and manage this data over the internet using tools like the Azure Portal, Storage Explorer, or programming languages. It's scalable, secure, and accessible from anywhere. It's also a popular choice for Dynamics 365 document management, helping businesses store and organize files more efficiently outside the core application.
How do I connect Microsoft Dynamics 365 to Azure Blob Storage?
To connect Microsoft Dynamics 365 to Azure Blob Storage, go to the Azure Attachments Storage settings in Dynamics 365. Then, enter your Azure Storage account name, SAS token, and container names for storing notes and email attachments. After that, map the correct entities to the containers and click Save. This lets Dynamics 365 store attachments directly in Azure Blob instead of in the app.
Is Azure Blob Storage secure for storing Dynamics 365 files?
Yes, Azure Blob Storage is secure for storing Dynamics 365 files. It offers encryption, access controls, and secure connections to protect your data, ensuring only authorized users can access the files.
What are the costs associated with using Azure Blob Storage with Dynamics 365?
The costs of using Azure Blob Storage with Dynamics 365 depend on how much data you store, how often you access it, and the storage tier you choose (hot, cool, or archive). You also pay for operations like reading or writing files. Choosing the right settings can help manage costs effectively.
Can I back up Dynamics 365 data to Azure Blob Storage automatically?
Yes, you can back up Dynamics 365 data to Azure Blob Storage automatically using tools like Azure Data Factory, Logic Apps, or third-party solutions. These tools can be set up to run on a schedule and move data from Dynamics 365 to your Blob Storage.

Why Your Azure Deployment Needs a Managed Service Provider

Topics: Dynamics 365