Archive
Posts Tagged ‘Attachment Management’
Move Attachments from CRM to Azure Blob – “Attachment Management” tool
Recently I was exploring options to move attachments from CRM (i.e., Notes and Email) to Azure Blob storage and came across “Attachment Management” tool from Microsoft Labs.
This tool can be installed as a solution to your Dynamics 365 instance. Detailed steps and usage guide are available here.
In this article I am going to detail the imperative Azure and Dynamics 365 settings which would avoid the connectivity issues you may encounter during my usage.
Pre-requisites to use this solution:
- Dynamics 365 instance (You can subscribe for 30 days trail)
- Enable the “Attachment Management” solution from App Source.
- Microsoft Azure Account (You can subscribe for trail)
- Note: You can use the same Dynamics Office 365 account to register for Azure trail account.
Setting up Azure Storage Account:
Make sure your Azure Storage Account settings matches with below
- Azure “Storage Account” ‘KIND’ must be “BlobStorage”.
- “Storage Account” Containers ‘Public Access Level’ must be “Blob”.
- “Shared Access Signature” (SAS token)
- Set the “Start” to Previous Day as the Azure time zone depends the data Center you choose. (For example, your IST date may be 1 day ahead of your ‘Data Center’ date which may make your ‘SAS token’ invalid)
- Set the “End” to at least a week ahead of today.
Settings in Dynamics 365:
- With the “Attachment Management” solution you will get 3 entities and a ‘Site Map Area’ (i.e., Azure Attachment Storage)
- Make sure you configure settings only from ‘Azure Attachment Storage’ site map link and not from ‘Advanced Find’
- In “Azure Blob Storage Setup” page, make sure the ‘Storage Account Name’, ‘Container names’ and ‘SAS token’ matches with Azure settings
- In “NOTES ATTACHMENT SETTING ENTITY” page, pick your entities and provide correct “Container” name or leave that blank.
- Note: If you have Dynamics Portal solution installed, uncheck the ‘Web Files’ entity, if its selected.
Troubleshooting steps:
- After you configure all the settings try adding a Note with attachment to the entity you configured.
- If you don’t see your attachments move to Azure Container, go to ‘System Settings’ and look for “MicrosoftLabs.AttachmentManagement…..” job for exception.
🙂
Advertisement
Categories: Azure, CRM
Tags: Attachment Management, Azure Blob, Container
Stats
- 1,579,659 hits
Tweets
- RT @MikeFactorial: Big things are coming to the #CoEStarterKit. So, @ManuelaPichler_ and team are building the tension for the April releas… 2 weeks ago
- New blog post : Boost conversations using GPT in Power Virtual Agent (PVA) rajeevpentyala.com/2023/03/08/pow… 2 weeks ago
- RT @PPDevWeekly: 🔥 Going Live: Power Platform Dev Weekly 155 bit.ly/PPDevWeekly155 This week's cover story by @RajeevPentyala With gre… 2 weeks ago
- RT @caseyburke21: Pipelines is now generally available! Huge congratulations to the team and all who have supported reaching this milestone… 3 weeks ago
- New blog post : Call Dataverse actions directly in power-fx rajeevpentyala.com/2023/03/01/ste… 3 weeks ago
Join 404 other subscribers
Top Posts
- Power Apps component framework (PCF) - Beginner guide
- [Experimental Feature] Call Dataverse actions directly in Power Fx
- [Step by Step] Power Apps | Show pop ups in Canvas App
- [Step by Step] Connecting to Azure SQL Server using OLEDB Connection from SSIS
- Auto generate new GUID for ‘uniqueidentifier’ column in SQL Table
- [Code Snippet] Custom Workflow Activity with Input and Output Params
- God Mode - Level Up - Dynamics 365 Chrome Extension
- Set “Created On”,” Created By”, “Modified On”, “Modified By” fields using SDK/Data Import/Plug-in – Dynamics 365
- Associate/Disassociate plugin messages in CRM
- Power Platform - Pass json collection from Canvas App to Power Automate