Register Your Application in Microsoft Entra ID
The app registration in Microsoft Entra ID provides the OAuth 2.0 credentials for the connection.
Create a New App Registration
Sign in to the Microsoft Entra admin center.
- Select the Settings (gear) icon in the top-right corner if you have access to multiple tenants.
- Select the tenant you want to connect from the list under Directory + subscription.
- Select App registrations from the left navigation menu.
- Select New registration.
- Name: A name that identifies this integration
- Supported account types: Accounts in this organizational directory only (single tenant)
- Redirect URI (optional): select Web, then enter the Callback URL from your Connector Profile
- Select Register to create the app registration.
Copy the Application (Client) ID
The app’s Overview page shows the Application (client) ID.
- Copy the Application (client) ID to Client ID in your Connector Profile.
Add Business Central Permission
From the left menu under Manage, select API permissions. The permission comes from the Business Central API, not Microsoft Graph.
- Click Add a permission.
- Select APIs my organization uses.
- Search for
Dynamics 365 Business Central. - Select Dynamics 365 Business Central.
- Choose Delegated permissions.
- Enable Financials.ReadWrite.All.
- Click Add permissions to save.
Grant Admin Consent
Consent on behalf of all users in your tenant.
- Click Grant admin consent for [tenant name].
- Select Yes.
- Check that Granted for [tenant name] appears under the Status column.
Create a New Client Secret
From the left menu under Manage, select Certificates & secrets.
- Under the Client secrets tab, click New client secret.
- Description: A description that identifies this secret
- Select an appropriate expiration period.
- Click Add.
Copy the Client Secret Value
The Client secrets tab shows the Value of the new secret. The Value is only shown once.
- Copy the Value to Client Secret in your Connector Profile.
Find Your Tenant ID (single-tenant apps only)
The tenant ID identifies your Microsoft Entra directory. Only needed for a single-tenant app registration. Leave Tenant ID blank on a multi-tenant app.
Locate the Tenant ID
Sign in to the Microsoft Entra admin center.
- Open Identity > Overview.
- Copy the Tenant ID across.
Find Your Business Central Environment Name
The environment name identifies which Business Central environment to connect to. Set it once here so the users linking accounts do not have to look it up.
Locate the Environment Name
Sign in to Business Central.
- Open Settings (gear icon) > Admin Center.
- Under Environments, find the environment you want to connect.
- Common environment names are production or sandbox. Your organization may also have custom-named environments.
- Copy the exact environment name to Business Central Environment in your Connector Profile.
Find Your Company ID
Your Company ID is the GUID of the Business Central company to connect. Set it once here so the users linking accounts do not have to look it up.
Copy the Company Id
Sign in to Business Central.
- Select the Search icon (magnifying glass).
- Enter
Companies. - Open the Companies page.
- Select the row of the company you want to connect.
- Select the Help (question mark) icon > Help & Support > Inspect pages and data.
- Under Table Fields, find the Id field and copy its value to Company ID in your Connector Profile.
Create the StackOne Connector Profile
Create a Connector Profile
Link an Account