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)/Custom Application Access for DocumentsCorePack & AttachmentExtractor

Custom Application Access for DocumentsCorePack & AttachmentExtractor

7168 views 0 Updated on August 4, 2025

For customers who wish to use their own custom application for our service, we offer the ability to connect to DocumentsCorePack or AttachmentExtractor via App Access (Custom). The following step-by-step guide outlines how this process is done.

Prerequisites

  • Azure Role requirement: Application admin rights within your Azure tenant to create an application

Step 1: Create Custom application

First, a new application must be created/registered as described in this article. Please follow the steps and configure the following parameters:

Register an application

When registering an application, select Accounts in this organizational directory only.

Custom Application Access for DocumentsCorePack & AttachmentExtractor
Figure 1: Selecting who can use this application/API

Get the application ID

After creating the application, location the application ID under Overview and copy it. It will be needed later.

Custom Application Access for DocumentsCorePack & AttachmentExtractor
Figure 2: The application ID on the Overview screen

Add credentials

You can choose between

  • Adding a client secret which supports only Dynamics 365 connections or
  • Adding a certificate which supports Dynamics 365 and SharePoint connections. If you don´t have a certificate, you can create
    • a self signed certificate via Powershell as described here or
    • a self-signed certificate via OpenSSL as described here.

Certificates and client secrets can be created in your app under Manage > Certificates secrets.

Custom Application Access for DocumentsCorePack & AttachmentExtractor
Figure 3: Certificates & secrets
  • Note:
    • Do not encrypt the private key
    • (For client secret) Once created, copy and save your created client secret value. It will be required for setup and it cannot be reviewed again after creation.

API Permissions

The custom application requires the following minimum set of privileges (see this article for information about adding security):

  • User.Read rights in Azure Active Directory Graph
  • user_impersonation in Dynamics CRM
  • Sites.ReadWrite.All in SharePoint (optional)
Custom Application Access for DocumentsCorePack & AttachmentExtractor
Figure 4: Application settings

Step 2: Create an application user in Microsoft Dynamics 365

Next, create an application user. Follow this link to manage application users in the Power Platform admin center.

Step 3: Connect our online service via custom application

Within the connection settings of the DocumentsCorePack or AttachmentExtractor Online Service Configuration, switch to “Advanced” settings and choose the App Access (Custom) connection type and provide the following details:

Authenticate with “Client secret”

❶ Certificate based: Leave disabled
❷ Dataverse URL: The URL of your Dataverse environment
❸ Username: Application user created in step #2 or a username with a fully qualified domain name (such as any user from Dynamics 365)
❹ Application ID: ID of the application created in step #1
❺ Client Secret: Client secret created in step #1
❻ Load Environments: Once you have filled in all credentials. Then, select your environment and select Save & Close.

Figure 5: Creating a client-secret based connection profile

Authenticate with Certificate

❶ Certificate based: Enable this setting
❷ Upload certificate: Upload your own provided certificate.
❸ Certificate name: Enter the name of the certificate
❹ Certificate password: Enter the certificate password
❺ Dataverse URL: The URL of your Dataverse environment
❻ Username: Application user created in step #2 or a username with fully qualified domain name (like any user from Dynamics 365).
❼ Application ID: ID of the application created in step #1.
❽ Load Environments: Once you have filled in all credentials. Then, select your environment and select Save & Close.

Figure 6: Creating a certificate-based connection profile

After saving the certificate-based App Access settings, you can configure your SharePoint connection as seen in this article.

Limiting the scope of access to SharePoint

Limit the scope of access to SharePoint via the Sites.Selected privilege using Windows PowerShell. For more information, please see here.

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

Was this helpful?

Yes  4 No
Related Articles
  • Debugging the Template Design Office Add-In 
  • Updating Legacy SharePoint Connections 
  • What Happens After You Deploy AttachmentExtractor: Storage & Cost Savings in Dynamics 365
  • Deploying DocumentsCorePack: Setup, Automation, and Real Business Impact in Dynamics365
  • Introducing the DocumentsCorePack Template Designer Office Add-In
  • How to Eliminate Excess Storage Costs in Microsoft Dynamics 365 Without Losing Access to Emails and Attachments
Leave A Comment Cancel reply

You must be logged in to post a comment.

Latest Articles
  • Recap: Nordic Summit 2025
  • The new Template Designer Office Add-In
  • Debugging the Template Design Office Add-In 
  • Updating Legacy SharePoint Connections 
  • What Happens After You Deploy AttachmentExtractor: Storage & Cost Savings in Dynamics 365
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 260
  • TelephoneIntegration (TI 65
  • AttachmentExtractor (AE 75
  • 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.