top of page



In this article, we will learn about scanning barcodes with the help of Power Apps, Power Automate and SharePoint.

Step 1:

First, we have to go to

Then we must create a team site or communication site as preferable.

Now, create a SharePoint list with the following columns.

Step 2:

Now go to and click on “My flows.”

Then click on “SharePoint” and then click on “When an item is created.”

Step 3:

In the “When an item is created” box provide the site URL and select the list name as “Contacts list”.

Step 4:

Next click on “Add an action” then search for “Encodian” and select it.

After that search for “Create BarCode” and select it.

Next, select “BarCode Type” like code128 or as preferable.

add “ID” then a separator like ‘|’ and “Name” SharePoint Dynamic Values in BarCode Data box.

Step 5:

Next, click on “Add an action”.

Search for “SharePoint”. Then search for “Add attachment” and select it.

Step 6:

Then add “Site Address", "List Name” and “ID” SharePoint dynamic value.

In “File Name” section set the file name as preferable as here “Bar-ID-Name.jpg” With dynamic value.

Step 7:

Click on Save Flow.

To test the flow, click on the Test button from the right side of the top menu and click the Run flow button.

Step 8:

Now go to “Contacts list”.

Added a name here, Barcode has generated as below.

Step 9:

Now Go to

Next, click on “Apps”, “New app” then, Canvas.

Step 10:

Now click on “Phone” and give Name of the app you want to create.

Then click on “Create” button.

Step 11:

Now Click on “Insert” and search for “Barcode Scanner”.

Then add and adjust it as preferable.

Step 12:

On “OnScan” property of “BarCode Scanner” add this validation given below:

Set(varScannedItem,LookUp('Contacts List',ID=Value(First(ForAll(Split(BarcodeScanner1.Value,"|"), {Result: ThisRecord.Value})).Result)))