web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Unable to enable Legac...
Power Apps
Suggested Answer

Unable to enable Legacy Barcode Scanner in existing Canvas App

(0) ShareShare
ReportReport
Posted on by 2

Hi everyone,

I'm running into an issue with the retired Barcode Scanner control in Power Apps.

I have a Canvas App that has been in production for more than a year and uses the legacy Barcode Scanner control. The scanning experience works perfectly for our use case because the user scans a barcode and it is processed immediately.

I'm now extending this existing app and need to add additional barcode scanning functionality. However, I can no longer add the legacy Barcode Scanner control to the app and only have access to the newer Barcode Reader control.

The problem is that:

  • My existing app already uses the legacy Barcode Scanner.
  • Adding the new Barcode Reader would result in two different scanning experiences within the same app.
  • The Barcode Reader introduces an additional user interaction step, which removes the main advantage of the legacy scanner for our process.
  • Our use case is simply scanning a barcode and immediately processing the result, without extra user actions.  

According to Microsoft's documentation, the legacy Barcode Scanner should still be available when enabling the"Legacy barcode scanner" setting under Settings → Upcoming Features → Retired. [learn.microsoft.com], [lab.algebra.hr]However, in my environment, this setting is not available. The only related option I can see is"Web barcode scanner", which appears under Experimental features instead.

I also tried copying an existing Barcode Scanner control and even copying an entire screen from another app that already contains the control, but I receive the following error:

Details:
error PA1001 : An error occurred while parsing PaYaml.
Error code: YamlInvalidSyntax
Reason: Exception during deserialization
 
Note:
Make sure to use the Source Code schema, which is the only supported format.
 
Session ID: 1134fd1d-0843-4ff2-9292-f1fdc656e19b

From the documentation, my understanding is that the legacy Barcode Scanner is still supported for existing apps, although it has been retired and replaced by the Barcode Reader. [learn.microsoft.com], [lab.algebra.hr]

My questions are:

  1. Is there currently any way to re-enable or add the legacy Barcode Scanner control in a Canvas App?
  2. Has Microsoft removed the Legacy barcode scanner toggle from some environments or tenants?
  3. Is there a supported migration path that provides the same "scan and immediately process" experience as the legacy scanner?
  4. Has anyone successfully worked around this issue in a production app?

Any insights would be greatly appreciated.

Thanks!

Categories:
I have the same question (0)
  • Suggested answer
    Mohsin Ali Profile Picture
    680 on at
    Hello @WizzKidA - The legacy barcode scanner has been retired, and I don't think you will find an option to enable it anymore.
     
    However, you might want to explore the modern barcode scanner a bit further. Although one of its key capabilities is to scan multiple barcodes in one go and process them together, there is still a Scanning mode property available. You can configure this property to turn off multiple scanning and process each scanned barcode individually.
    Please refer to the article below for further details.
     
     

  • Mohsin Ali Profile Picture
    680 on at
    Hello @WizzKidA - Just wanted to follow-up if the suggestions shared above really help to sort out the issue or pointed in right direction.
  • Suggested answer
    11manish Profile Picture
    4,376 Super User 2026 Season 2 on at
    Don't try to force the retired control back into the new part of the app. Keep the existing legacy scanner running, and implement the new functionality with Barcode Reader in Automatic mode.

    The key point is that Barcode Reader no longer necessarily means "scan → user must select → process." Its automatic scanning mode is specifically capable of detect → scan → OnScan → immediately process, which is much closer to the legacy experience you're trying to preserve.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 317 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 305 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 266

Last 30 days Overall leaderboard