Back

Share

MS Dynamics

April 30, 2025
8
min read
Written by
Here is a step-by-step guide on how to set up the integration of your transaction data with Morescope if you are using Microsoft Dynamics365 Finance as your ERP provider.

Table of Contents:

Application Information

Prerequisites

Ensure you have:

Step 1: Install & Consent the Enterprise App

  1. Create Admin Consent URL:

Replace {Tenant_ID} with your Azure AD Tenant ID (found in Azure Portal → Entra ID → Overview):

https://login.microsoftonline.com/{Tenant_ID}/adminconsent?client_id=e594856f-df39-4ea5-95f1-01736ab148b8&redirect_uri=https://www.morescope.com/

  1. Admin Consent Approval:

  1. Verify Enterprise Application Installation:

🔑 Note: If an error occurs regarding missing service principals for Dynamics ERP or Microsoft Graph, refer to the troubleshooting section below.

Step 2: Register the App in Dynamics 365 Finance

  1. Log in to your Dynamics 365 Finance and Operations environment.

  2. Navigate to System administration → Setup → Azure Active Directory applications.

  3. Click + New and enter the following:


    • Client ID: e594856f-df39-4ea5-95f1-01736ab148b8

    • User ID: (Optional) Assign a specific service account or leave blank for global app access.

    • Company: (Optional) Restrict the integration to a specific legal entity.

  4. Click Save.

Step 3: Publish Data Entities

To enable data access via OData, publish necessary data entities:

  1. Navigate to Data Management → Data Entities.

  2. Select the entities required:

  1. Supplier & Vendor Data (VendorsV3)
  2. Financial & Spending Data (VendorInvoices, VendorInvoiceLines, LedgerJournalHeaders, LedgerJournalLines)
  3. Employee & Travel Expenses (ExpenseReports)
  4. Dimensions & Labeling (FinancialDimensionSet, FinancialDimensionValue)

  1. Click Publish.

Step 4: Provide Tenant and Instance Information

Please provide Morescope with the following details:

Example:

https://<your-instance>.operations.dynamics.com

As of now, this information is required to finalize integration setup and testing.

Troubleshooting

Error: "Could not grant admin consent"

This usually indicates missing service principals. Resolve by manually creating service principals using Azure CLI or PowerShell:

Azure CLI:

az login

az ad sp create --id 00000003-0000-0000-c000-000000000000    # Microsoft Graph

az ad sp create --id 00000015-0000-0000-c000-000000000000  # Dynamics ERP

Then retry granting admin consent in Azure Portal.

Missing "Connector.FullAccess" Permission

Under Azure AD App Registration → API Permissions → Dynamics ERP → Application permissions, ensure Connector.FullAccess is selected. This is mandatory for service-to-service integration.

Summary

That should be it! Once completed, please confirm back with us to proceed with the testing and activation phase. Should you have any questions or require further assistance, don't hesitate to reach out.

Thank you very much for your cooperation!

Sign up for waiting list
Want to learn more?
Ønsker du et uforpliktende tilbud eller en prat?
+47
99027252

marianne@morescope.com

More news and updates from the team