ERP Enablement

This section describes the ERP enablement procedure.

App Registration

To set up Auth 2.0 for Microsoft Business Central SAAS tenat environment, follow these steps:

  1. Log in to the Azure portal using your Business Central login credentials.

  2. Search for App Registrations and click New Registration.

  3. Provide the required value in the Name field.

  4. Select the required option for the application access. For example, the first option is selected in the following example.

  5. Provide a URL in Redirect URL field and click Register.

Adding Permissions

To add permissions, follow these steps:

  1. Navigate to API Permissions.

  2. Click Add a permission.

  3. Select Business Central and click Delegated Permissions.

  4. Ensure that all the check boxes are selected (Boolean TRUE).

  5. Click Application Permissions tile.

  6. Select all entries (Boolean TRUE).

  7. Click Add permissions.

Granting Consent

To grant consent, follow these steps:

  1. Click Grant admin consent to Contoso.

    A pop-up message is displayed.

  2. Click Yes.

  3. Navigate to Certificates & secrets.

  4. Click New client secret.

    The Add a client secret screen is displayed.

  5. Click Add to generate a client secret.

  6. Copy the client secret generated under Value field in the Client secrets screen.

    Note

    This value is masked later and required in POSTMAN.

  7. Navigate to Overview and note the Application (client) ID to be used in POSTMAN.

  8. Select Type as OAuth 2.0.

  9. Select Request Headers from the Add authorization data to drop-down list.

  10. Click Configure New Token.

    The Configure New Token screen is displayed.

  11. Provide the required values in fields.

    Information

  12. Click Clear cookies and click Get New Access Token.

    A success message is displayed.

  13. Click Use Token.

Note

Additional configurations are required to procure the Sales Invoice PDFs and post the customer payments in the ERP.