mscrm-addons.com logomscrm-addons.com logo
  • Release History
  • Knowledge Base
  • Documentation
  • Contact Support
  • Release History
  • Knowledge Base
  • Documentation
  • Contact Support
home/Knowledge Base/AttachmentExtractor (AE)/Installing the AttachmentExtractor Service on Your Azure Virtual Machine

Installing the AttachmentExtractor Service on Your Azure Virtual Machine

1079 views 1 Updated on December 4, 2024

This articles outlines how to deploy Attachment Extractor on your own virtual machine. 

To purchase a virtual machine, please access the Microsoft Azure pricing calculator.

The Microsoft Azure pricing calculator
Figure 1: The Microsoft Azure pricing calculator

Recommended virtual machine settings

If you are purchasing a virtual machine via Microsoft Azure, we recommend a virtual machine with the following configurations:

  • Region: Select the same region where your Dynamics 365 environment is hosted
  • Operating System: Select “Windows”
  • Type: Select “(OS Only)”
  • Tier:  Select “Standard”
  • Instance: Select “D2s v4: 2vCPUs, 8GB RAM, 0GB Temporary Storage……”
A virtual machine with the recommended specifications
Figure 2: A virtual machine with the recommended specifications

Note: The additional “Managed Disks” and “Storage Transactions” options are not required. No additional software should be needed.

Managed Disks
Figure 3: Managed Disks
Storage Transactions
Figure 4: Storage Transactions

Prerequisites for building your own virtual machine

  • If you are building your own virtual machine instead of buying an Azure Virtual Machine, we recommend installing Windows Server 2019.
    • Other compatible server operating systems include: Windows Server 2016 and Windows Server 2012
  • For best performance, it is recommended that the virtual machine for your DocumentsCorePack service be located in the same datacenter as your Dynamics 365 instance (i.e., inside the same network and physically close as possible).
  • No other software is required
    • However, for Windows Server 2012, .Net 4.6.2 installation is required.

AttachmentExtractor Installation and information

The AttachmentExtractor Installation consists of one main part:

  • Server Install: Installation of AttachmentExtractor Service and import of AttachmentExtractor Managed Solutions into the Dynamics 365 environment.

AttachmentExtractor installation and configuration is covered in our installation guide:

AttachmentExtractor Installation GuideEN5/4/20231.3 MBDownload
AttachmentExtractor – Getting StartedEN6/19/2024845.42 KBDownload
AttachmentExtractor User GuideEN5/25/20233.75 MBDownload

Virtual machine architecture and security for AttachmentExtractor

When installing AttachmentExtractor on your own hosted virtual machine, mscrm-addons.com does not have any direct access to your hosted virtual machine or other systems (i.e., Dynamics 365, SharePoint, etc.).

Scheme diagram and process flow

AttachmentExtractor will retrieve attachments from a Dynamics 365 instance, move them to an alternative storage location and deliver them back to Dynamics 365 upon user request.

The figure below shows AttachmentExtractor’s data flow in the cloud.  You have the option of using our hosted Azure cloud to host this service, or installing the AttachmentExtractor Service on your own hosted virtual machine.

Data flow of the AttachmentExtractor in the cloud
Figure 5: Data flow of the AttachmentExtractor in the cloud

Setup

The AttachmentExtractor Service should be hosted in the same datacenter the Dynamics 365 environment is hosted to ensure high performance. 

Data flow: 

  • Document Extraction: Based on configuration, the AttachmentExtractor service checks for new documents in notes or e-mail attachments every X seconds and moves them to the alternative storage (SharePoint or Azure Blob Storage). At the same time, a 2nd query starts working towards historic entries.
  • If an attachment is found, the service moves the file to the corresponding storage location and replaces the reference inside Dynamics 365.
    Please note: For users, navigation and access inside Dynamics 365 is unchanged.
    ​

Data flow on retrieval

AttachmentExtractor now features a new Plugin which streams the actual attachments instead of the SharePoint link on every file access.

Data flow on retrieval with plugin
Figure 6: Data flow on retrieval with plugin

With older AttachmentExtractor versions, the attachment was moved to SharePoint and replaced with a link in Dataverse. When users or programs tried to access the attachments, they were only able to get a link file that pointed to the same new save location. 

Older version of data flow
Figure 7: Older version of data flow

Security

When it comes to security, there are a few things to keep in mind:

  • All communication between the Dynamics 365 organization and the AttachmentExtractor service is done using the Dynamics 365 web services and thus is secured communication using https and authenticated likewise to Dynamics 365 itself supporting Server2Server authentication or access via Office 365 credentials. Attachments never get stored on the service engine.
  • When using our hosted AttachmentExtractor Service, we recommend using Server2Server authentication to communicate from the cloud service to Dynamics 365 to eliminate the need to store login credentials locally on the virtual machine.  This is a good practice when self-hosting the AttachmentExtractor service as well.
  • Customers with security concerns regarding our document generation services are eligible to install AttachmentExtractor either on their own Azure Virtual Machine or on local hardware.
    • For performance reasons, an installation in the virtual machine is recommended.
  • For Dynamics 365 Online customers, the document generation service will be hosted on our Azure account. To ensure high performance, it will be located in the same datacenter the Dynamics 365-instance itself is located. The installation can be done directly from our website.

That’s it! We appreciate your feedback! Please share your thoughts by sending an email to support@mscrm-addons.com. 

Tags:virtual machineazureazure virtual machine

Was this helpful?

1 Yes  No
Related Articles
  • The Hidden Cost of CRM Storage — And How to Eliminate It 
  • What Happens After You Deploy AttachmentExtractor: Storage & Cost Savings in Dynamics 365
  • How to Eliminate Excess Storage Costs in Microsoft Dynamics 365 Without Losing Access to Emails and Attachments
  • Buried in Storage Fees? Here’s How to Cut Dynamics 365 Costs Fast
  • AttachmentExtractor: Best practices for  Dynamics 365 on-premises to online migration projects 
  • Impact of AttachmentExtractor on AI capabilities in Microsoft Dynamics 365 
Leave A Comment Cancel reply

You must be logged in to post a comment.

Latest Articles
  • Locating Raw Inputs and Outputs in Power Automate
  • Step by Step: How to execute an OCA in a Power Automate flow 
  • The Hidden Cost of CRM Storage — And How to Eliminate It 
  • Recap: Nordic Summit 2025
  • The new Template Designer Office Add-In
Popular Articles
  • DocumentsCorePack Template Designer – Getting Started
  • Step-by-Step: How to configure a One-Click-Action
  • Application Access for Dynamics 365
  • How to find your environment’s unique name in Microsoft Dynamics 365
  • How licenses are counted
Top Rated Articles
  • “Undefined”-labels in Chrome and Edge 114 and higher
  • Important information for Dynamics 365 online customers using DocumentsCorePack and/or AttachmentExtractor
  • How to activate the DocumentsCorePack Connector for PowerApps & Microsoft Flow
  • How to insert Condition Fields in DocumentsCorePack Templates designer
  • How licenses are counted
Categories
  • *News and General Infos* 65
  • Webinars 46
  • Template Designer(DCP 197
  • DocumentsCorePack(DCP 262
  • TelephoneIntegration (TI 65
  • AttachmentExtractor (AE 76
  • PowerSearch (PS 50
  • ActivityTools (AT 61
  • SmartBar (SB 54
  • GroupCalendar (GC 47
Our Vision

“We see it as our purpose to provide products that simplify and speed up our customers’ Microsoft Dynamics 365 experience.”

Knowledgebase
LogIn
mscrm-addons.com
  • Products
  • Online Shop
  • Downloads
  • My Account
About Us
  • About Us
  • Case Studies
  • Newsletter
  • Partner Program
  • Contact
Support
  • Support
  • Terms & Conditions
  • Documentation
  • Webinars
  • Legal Documents
  • Impressum
  • © 2025 www.mscrm-addons.com. All Rights Reserved.