in this blog post I will write about new connector for Dynamics 365 Business Central On-Prem and how to use it to integrate Flow with Dynamics 365 Business Central On-Prem.
First thing which must be checked and it is mandatory to not get error that server is unavailable is to Enable API Services in Microsoft Dynamics 365 Business Central Administration.
To do that go to Dynamics 365 Business Central Administration and navigate to OData Services fast tab and after that Enable API Services. Be sure that you have speciefied also OData base URL as well as Port.
Next setup is in Dynamics 365 Business Central. Go to Search bar and look for Api Setup.
In the API Setup window go to Process and click on Integrate APIs.
In the message, This action will populate the integration tables for all APIs and may take several minutes to complete. Do you want to continue? click Yes.
Now, navigate again to search bar and look for Users.
In the Users window click on Menage -> select user which you want to use for integration and click on -> Edit
In the User card window navigate to the Web Service Acess fast tab and copy Web Service Access Key.
Note: if you don’t see the Web Service Access Key then click on Authentication -> Change Web Service Key.
and in the new window set the expiration for Web Service Key or click that Key never expires.
Now when we have done setup in Business Central On prem we can go to flow.microsoft.com and login with our Office 365 credentials.
After that navigate to gear icon and then on Connections.
In the new window click New Connection.
In next window in Search bar enter Business Central and connections with name Business Central will be filtered. Choose Business Central (on-premises) (preview).
On new pop-up window, we need to specify the following parameters:
- Web service URL – link from the OData Base URL in Administration.
- Username – user from Business Central
- Password – web service access key.
and it should look like on the following picture
At the end click the Create button.
After a few moments, Business Central (on premises) connection will be created.
Now go to My flows -> New -> Create from blank.
In new page click on Create from blank.
In search bar for available connectors look for Business Central. It will show you 2 results, click Business Central (on-prem).
To check what is available in Business Central on-prem connector we can see that Business Central (on-prem) does not allow us to create Flow which has Triggers from Business Central, but we have a few Actions which can occur actions in Business Central.
- Power BI connectors for Dynamics NAV / BC – availability
- Where are my web services from Business Central in Flow?