Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Plugin to store attachments into Azure Blob storage?

Posted on by Microsoft Employee

Hi,

Does anybody have experience in Azure Blog Storage instead of CRM/ SharePoint storage?
I came across this codeplex plugin which seems a little bit outdated.

crmazureattachments.codeplex.com

I guess adding this will do:
azure.microsoft.com/.../storage-dotnet-how-to-use-blobs

Are there people willing to update this project? It will help a lot of CRM customers.

==
We have a challenge to store large attachment of our support requests into CRM. It storage is costly and the lousy coupled email interface do not fit since it does not allow attachments larger than 30MB. The technical solution might be that the PHP form will upload the blobs into Azure itself. Then the PHP form will create the case in CRM with links to the attachments in Azure. Incoming emails with attachments (automatically smaller than 30MB otherwise they will be refused by the email service) must be placed in the blob storage as well. Attachments that Support Agents add must also be stored in Azure Blob storage. For instance if a customer emails a large file through a service like ‘wetransfer.com’ that file must also be added to the case. The plug-in must therefor have a bit of CRUD functionality.

Summarising:
- Implement a plugin so that (large) attachments are stored in Azure Blob Storage instead of in CRM or SharePoint;
- Implement a Rest Api for among others a PHP web form so that a case is created directly into CRM;
- Implement a MVC form for testing purposes before handing over the Rest api to the PHP development team.

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Plugin to store attachments into Azure Blob storage?

    As an update, the CRMBinaryStorageOptions project has moved to github:

    https://github.com/DawidPotgieter/Dynamics-CRM-Binary-Storage-Options

    Enjoy.

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Plugin to store attachments into Azure Blob storage?

    Hi,

    Please refer this link which help you to store attachments into Azure Blob storage and reduce your database space on Microsoft Dynamics 365.

    www.work365apps.com/attachment-manager

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Plugin to store attachments into Azure Blob storage?

    So, quite late, but in case anyone else is looking for something like this.

    Here ya go for a plugin that stores attachments (activity) and annotations (note attachments) in Azure : https://dynamicscrmbinarystorageoptions.codeplex.com/

    But looking at your specific requirement, you'll still have a problem.  CRM seems to have a bug that causes anything over 5Mb to trash the plugin sandbox.  If you're not too worried about the sandbox and run on-prem, you can get around this limitation, but you're still constrained to 32Mb max limit for any attachments.

    What we've done for a similar instance to the above is to actually create a seperate website hosted on IIS somewhere.  And then iframe it in so that it sort of looks like it's part of CRM, reading the metadata from CRM and the binary from Azure.  If you create a "document" or some such entity to store the metadata in CRM and just store the binary in Azure, you gain basically most of what you require from CRM, without the binary size impeding you.

    Hope this helps someone.

  • Aiden Kaskela Profile Picture
    Aiden Kaskela 19,692 on at
    RE: Plugin to store attachments into Azure Blob storage?

    Hi, I'm sorry, I don't have a timeframe of when I can get started (my first child was born this week and it's hard to find time for anything right now).

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Plugin to store attachments into Azure Blob storage?

    Thank is very kind. What time frame do you think of? I would suggest first investigating if it is possible. Does it work with default CRM functionality (that is all attachments are stored there; also the support agents ones)..and the attachments can be retrieved as well? [I have limited CRM knowledge]

    If you want and you share the source code we can collaborate on it.

  • Aiden Kaskela Profile Picture
    Aiden Kaskela 19,692 on at
    RE: Plugin to store attachments into Azure Blob storage?

    Sorry, I don't have experience with it,  but I think this is a great idea and I'm going to look into writing it and distributing it free through The CRM Lab @ Cobalt.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans