Azure Storage integration for portals enables you to take advantage of the greater file storage capability of Azure, using the same interface and providing the same user experience as for default file attachments. This feature is supported for web files, entity forms, and web forms.
You must create a storage account with Resource manager as the deployment model. More information: Create an Azure storage account.
After the storage account is running, portals require certain global settings that tell the application how to locate your storage account. From Dynamics 365, navigate to Settings > Portal Settings, and add a new setting named FileStorage/CloudStorageAccount.
To locate the value for FileStorage/CloudStorageAccount, you must get a connection string from your Azure portal.
Sign in to your Azure portal.
Navigate to your storage account.
Select Access Keys.
In the resulting panel, locate the field labeled Connection String. Select the Copy icon next to the field for which you need to copy the value, and then paste that value into your new setting:
Specify the storage container
If you do not already have an Azure Blob container in your storage account, you must add one by using your Azure portal.
From Dynamics 365, navigate to Settings > Portal Settings, and add a new setting named FileStorage/CloudStorageContainerName, using the name of your container as the value.
You must also enable cross-origin resource sharing (CORS) on your Azure Storage account, otherwise you will see the regular attachment icon rather than the cloud icon. More information: CORS support for the Azure Storage Services
With these settings, your portal capabilities for Dynamics 365 application is ready to begin uploading and downloading files to and from Azure Storage. However, you cannot take full advantage of this feature until you add a web resource to enable uploading attachments to Azure Storage, and configure entity forms or web forms to use it.