How to integrate PowerApps portal with Dynamics 365 Business central using Power automate

Published on July 30, 2021

Our PowerApps consultants Business Central specialists explain a scenario of integrating an employee portal created using PowerApps with Dynamics 365 Business central using the Power automate. Users can view all the employee details that are stored in Business Central and can also enter the new employee details in the Microsoft PowerApps which will be stored in Business Central.

STEP 1: Log into the Microsoft platform and select PowerApps. To create a portal, generate a table in PowerApps. Select the data action from the left pane of the window. Now, click on the tables, to create a schema for the portal

Integrating PowerApps Portal With Business Central using Power Automate-1

STEP 2: Click new tables from the top action ribbon. Enter table details such as table name and primary column and click Create

Integrating PowerApps Portal With Business Central using Power Automate-2

Integrating PowerApps Portal With Business Central using Power Automate-3

STEP 3: Once the table is created, the columns (fields) are added to the table. Click on add column from the top action ribbon. Provide field details like field name, data type and optional details and click done

Integrating PowerApps Portal With Business Central using Power Automate-4

Integrating PowerApps Portal With Business Central using Power Automate-5

STEP 4: Now, login into the Business central environment and search for web service. Click new to create a web service for the new table in portal. We can also make use of existing web services. Once web service is created, copy the Data link of the page, user name and web access key

Integrating PowerApps Portal With Business Central using Power Automate-6

STEP 5: Again, switch to the table in PowerApps. Select data from the action ribbon and click on get data

Integrating PowerApps Portal With Business Central using Power Automate-7

STEP 6: Select OData tile from the get data action

Integrating PowerApps Portal With Business Central using Power Automate-8

STEP 7: Copy OData URL of the web service and select create a new connection and sign in to provide Business central access details. Select the authentication kind as an organizational account. On successful login into the connection settings, click on next

Integrating PowerApps Portal With Business Central using Power Automate-9

Integrating PowerApps Portal With Business Central using Power Automate-10

STEP 8: Based on the web service URL the table structure and details in Business central will be visible

Integrating PowerApps Portal With Business Central using Power Automate-11

STEP 9: Since the table is already created in PowerApps, select load to the existing table from the load settings and select the destination table as the already created table in PowerApps

Integrating PowerApps Portal With Business Central using Power Automate-12

STEP 10: Based on the destination table, the columns that are added to the table can be viewed. Now, map the column in the table with columns in the Business central. On mapping all the columns click on next

Integrating PowerApps Portal With Business Central using Power Automate-13

STEP 11: Select refresh option and click create

Integrating PowerApps Portal With Business Central using Power Automate-14

STEP 12: Now move to the home screen of PowerApps and click on create to develop a portal. From the portal creation option, select the blank portal creation. Provide the name and address for the portal. Click create to develop a portal

Integrating PowerApps Portal With Business Central using Power Automate-15

Integrating PowerApps Portal With Business Central using Power Automate-16

STEP 13: Click on the new page and choose a blank page to create a portal. Also, the existing templates can be selected for creating the portal

Integrating PowerApps Portal With Business Central using Power Automate-17

STEP 14: Provide name, partial URL for the portal. To add the components for portal, click ‘+’ on the action bar. Choose create new to add details of the component

Integrating PowerApps Portal With Business Central using Power Automate-18

Integrating PowerApps Portal With Business Central using Power Automate-19

STEP 15: Provide component name and select the table that is already created. Select views for the portal

Integrating PowerApps Portal With Business Central using Power Automate-20

Integrating PowerApps Portal With Business Central using Power Automate-21

STEP 16: To create new record from the portal, provide the target type. The record access customization can also be managed.

Integrating PowerApps Portal With Business Central using Power Automate-22

Integrating PowerApps Portal With Business Central using Power Automate-23

STEP 17: To view and access the record in table from the portal, table permissions should be enabled. Click on manage permission and provide read, write, append etc., permission for the portal and click save

Integrating PowerApps Portal With Business Central using Power Automate-24

Integrating PowerApps Portal With Business Central using Power Automate-25

Integrating PowerApps Portal With Business Central using Power Automate-26

STEP 18: Once all the settings are selected, the fields in the table will be displayed as below

Integrating PowerApps Portal With Business Central using Power Automate-27

STEP 19: To enter the employee records in the portal, a subform has to be created. Click on + to create a new page and select form as the component

Integrating PowerApps Portal With Business Central using Power Automate-28

STEP 20: Click create new to develop a form for the portal. Provide the name and table details. In the form layout, choose information and click on the edit form. In the form settings, opt for the form field from the action ribbon

Integrating PowerApps Portal With Business Central using Power Automate-29

Integrating PowerApps Portal With Business Central using Power Automate-30

STEP 21: From the list of table fields, drag and drop the fields into the preview area. After choosing the required fields, click save and publish

Integrating PowerApps Portal With Business Central using Power Automate-31

STEP 22: Check the form name (display name) provided in the form settings and target type in the portal page are the same

Integrating PowerApps Portal With Business Central using Power Automate-32

STEP 23: On successful creation of the subform, select pages and navigation in the left pane. Right click on subform and select make a subpage

Integrating PowerApps Portal With Business Central using Power Automate-33

Integrating PowerApps Portal With Business Central using Power Automate-34

STEP 24: On creating the portal pages, select sync configuration and click browse website

Integrating PowerApps Portal With Business Central using Power Automate-35

STEP 25: The portal can be viewed from a browser

Integrating PowerApps Portal With Business Central using Power Automate-36

Integrating PowerApps Portal With Business Central using Power Automate-37

Integrating PowerApps Portal With Business Central using Power Automate-38

STEP 26: To automate the process from portal to Business central. Choose power automate. Click on connections from the action pane and search for Microsoft dataverse as the connector for portal

Integrating PowerApps Portal With Business Central using Power Automate-39

Integrating PowerApps Portal With Business Central using Power Automate-40

STEP 27: Create a flow to automate the process between the portal and Business central

Integrating PowerApps Portal With Business Central using Power Automate-41

STEP 28: The screenshot below shows the list of employees that are created from the portal

Integrating PowerApps Portal With Business Central using Power Automate-42