Microsoft Dynamics Business Central

Microsoft Dynamics Business Central

Steps:

  1. Create a Microsoft Dynamics Business Central account.

  2. Navigate to Microsoft Entra ID(from left menu) and then select + Add application registration and enter the following details:

    1. Enter a short name for your application.This name will be displayed to the end user when they authorize.
    2. Under Supported account types, select Accounts in any organizational directory (Any Azure AD directory - Multitenant) and personal Microsoft accounts (e.g. Skype, Xbox), which allows Knit to access data in Dynamics 365 Business Central.
    3. Under Redirect URI, select Web and then enter https://app.getknit.dev/oauth/authorize
  3. Select Register.Copy the ClientId generated on registration.

  4. Navigate to Certificates & secrets and select + New client secret and then enter following details in Add a client secret dialog box:

    1. Enter a short description for your secret.
    2. Select most appropriate expiration option under Expires.
  5. Select Add.Please copy Secret value.

  6. Configure access permissions which will control the data your app can access in Dynamics 365.

    1. Navigate to API Permissions and then select + Add a permission.

    2. Select Dynamics 365 Business Central from Request API Permission pane.

    3. Select Delegated Permissions and select following permissions:

      • user_impersonation
      • Financials.ReadWrite.All
  7. Select Grant admin consent.

  8. Your setup for Microsoft Dynamics Business Central is complete now.

  9. Store clientId and clientSecret somewhere safe with you. You will need to pass these to Knit.