Get Your Microsoft Dynamics 365 Business Central Credentials

Get Your Microsoft Dynamics 365 Business Central Credentials


Overview

This section explains how to obtain the necessary credentials from Microsoft Dynamics 365 Business Central. 

Alert
Please note that this information is provided to help you connect your Microsoft Dynamics 365 Business Central system to OneEnterprise. Since Salesforce is an external system, the process of creating an App and generating client IDs and secrets may change with application updates. OneEnterprise does not control the Microsoft Dynamics 365 Business Central process. If you encounter any issues, contact the support team of your application.

Callback/Redirect URL

Before connecting your application to OneEnterprise, register your app with Microsoft Dynamics 365 Business Central, and ensure it is fully functional and all settings are correctly defined. Failing to do so, you will not be able to connect your application. We have listed all the requirements under the 'Get Your Credentials' section. You need to make sure that you have all the information before making the connection. 
Reference Links:
  1. Register an application in Microsoft Entra ID
  2. Tutorial: Register an app with Microsoft Entra ID 
The Redirect URL is crucial for the integration. When creating the app in Microsoft Dynamics 365 Business Central, you must provide the redirect URL. A redirect URL, also called a callback URL, is the web address where a user is directed after completing a specific action — typically after authentication, payment, or submitting a form. 
  1. Refer to the Redirect URL link to learn how to use it.
  2. Following redirect URL must be used: 
    1. Callback/Redirect URL: https://cloudmanager.am.dev.oneenterprise.com/oAuth2CallBack
 

Required Credentials

To obtain the necessary Client ID and Client Secret from the Microsoft Dynamics 365 Business Central system, you must either create a new Connected App or find the details of an existing one. To connect the Microsoft Dynamics 365 Business Central system with OneEnterprise, you need the following information from Microsoft Dynamics 365 Business Central. Retrieve this information from your Microsoft Dynamics 365 Business Central account and enter it into the appropriate fields in the OneEnterprise application:
  1. Base URL
  2. Client Identifier 
  3. Client Secret
  4. Company ID
  5. Environment Type
  6. Tenant ID
To obtain the above details from Microsoft Dynamics 365 Business Central, you need to either create a new Connected App or locate the details of an existing one.


Step 1 - Get Base URL

  1. Log in to your account.
  2. Once you log in to your account, copy the URL from the bar as shown on the screen.
  3. Paste this URL into the 'Base URL' field.

Step 2 - Get Client Identifier

  1. Log in to the Microsoft Entra admin center with your credentials.
  2. Click on the Entra ID > App Registration.
  3. Click on the App under the 'Owned applications' tab.


  1. Copy the Application (client) ID and paste it into the Client ID field.
  2. This is your Client ID.


Step 3 - Get the Client Secret

  1. Log in to the Microsoft Entra admin center with your credentials.
  2. Click on the Entra ID > App Registration.
  3. Click on the App under the 'Owned applications' tab.
  4. Click on the 'secret'.


  1. Copy the Client secret, and paste it into the Client Secret field.


Step 4 - Get Tenant ID

  1. Log in to the Microsoft Entra admin center with your credentials.
  2. Click on the Entra ID > App Registration.
  3. Copy the Tenant ID as shown on the screen.



Step 5 - Get Company ID

  1. Log in to Business Central with your credentials.
  2. In the top-right corner, click on Settings > My Settings.

  1. You’ll see the current Company Name under the Company field.
    This is the Company ID you use in API calls (URL-encoded if necessary).


You can call the following API endpoint (using OAuth or basic authentication):

Response example: 
{
  "value": [
    {
      "id": "3c5aa8c1-4ed4-45b6-b934-60f0feab1b48",
      "name": "CRONUS USA, Inc."
    }
  ]
}



Step 6 - Select Environment Type

  1. Two environments are supported for the Microsoft Dynamics 365 Business Central:
    1. Production (this environment is used for production)
    2. Sandbox (this environment is used for testing purposes)
  2. Select the desired environment from the drop-down.





    • Related Articles

    • Get Your Microsoft Dynamics 365 Sales Credentials

      Overview This section explains how to obtain the necessary credentials from Microsoft Dynamics 365 Sales. Please note that this information is provided to help you connect your Microsoft Dynamics 365 Sales system to OneEnterprise. Since Microsoft ...
    • Get Your SAP Business One Credentials

      This section explains how to obtain the necessary credentials from SAP Business One. Please note that this information is provided to help you connect your SAP Business One system to OneEnterprise. Since SAP Business One is an external system, the ...
    • Get Your Shopify Credentials

      This section explains how to obtain the necessary credentials from Shopify. Required Credentials To connect the Shopify system with OneEnterprise, you need the following details from Shopify. Get the below information from your Shopify account and ...
    • Get Your Xero Credentials

      This section explains how to obtain the necessary credentials from Xero. Please note that this information is provided to help you connect your Xero system to OneEnterprise. Since Xero is an external system, the process of creating an App and ...
    • Get Your Salesforce Credentials

      Overview This section explains how to obtain the necessary credentials from Salesforce. Please note that this information is provided to help you connect your Salesforce system to OneEnterprise. Since Salesforce is an external system, the process of ...