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 Apps
Answered

Cannot read NFC

(1) ShareShare
ReportReport
Posted on by 2,297
Hello,
 
My app is reading NFC tags with the following code on a button OnSelect:
 
With(
    ReadNFC(),
    Set(gblNFCId, Coalesce(Identifier, "No ID"));
    ForAll(NDEFRecords,
        Collect(tagRecords,
            {ID: gblNFCId, Value: Coalesce(Text, URI)}));
    Notify(gblNFCId))
 
 
It works perfectly.
When copying and pasting this code to another domain, nothing happens.
 
ReadNFC function simply does not work!

Why? Is there a setting? I've checked each and every configuration setting, used the same version of power apps.
Categories:
  • MarkRahn Profile Picture
    1,424 Super User 2026 Season 2 on at
    Hi,
     
    I've never used the ReadNFC() function before, but I wanted to try to help. I went to: ReadNFC function - Power Platform | Microsoft Learn and followed the Step-by-step example. I published the app and opened it in Power Apps on my phone.
     
    The button does not appear to do anything. I added
    Notify("Done");
    to the Button OnSelect at the end. The Notification does not appear in the app.
     
    I went thru some troubleshooting steps and verified that NFC is enabled on my phone. I downloaded NFC Tools and verify that the "Ready to Scan" prompt comes up.
     
    I also went into the App OnError property and set it to:
    Notify(
        Concatenate(
            FirstError.Message,
            ", Observed: ",
            FirstError.Observed,
            ", Source: ",
            FirstError.Source
        ),
        NotificationType.Error
    );
    No error was returned.
     
    See Power Apps OnError Property: Capture & Log Unexpected Errors by Matthew Devaney for info on how to add this to your app.
     
    I also opened an app that I created 3 years ago and added the ReadNFC() function to a button to see if maybe the Version would make a difference. It did not.
     
    Can someone else try this out?
     
    -Mark
  • MarkRahn Profile Picture
    1,424 Super User 2026 Season 2 on at
    Hi,
     
    I found this post which is related to what you are seeing:
     
    The suggestion is:
    Inside your canvas app you can go to settings => support => Authoring version (Edit) and select an older version until this issue has been resolved.
     
    I have tried this and I was not able to get it to work. I then tried going to a newer version. Version 3.24103.11 worked for me.
     
    If I've answered your question or solved your problem, please mark this question as answered. This helps others who have the same question find a solution quickly via the forum search. If you liked my response, please consider giving it a Like.
     
    Thanks.
    -Mark
  • Nandit Profile Picture
    1,568 Moderator on at
     
    What do you mean by: When copying and pasting this code to another domain? Would help me assist better.
    I'd suggest going through all the good material too that MarkBandR has shared below. 
     
    Kind regards, 
    Nandit
     
  • Verified answer
    MarkRahn Profile Picture
    1,424 Super User 2026 Season 2 on at
    Did switching to Version 3.24103.11 or a later version solve the problem for you?
     
    In my testing it did.
     
    If I've answered your question or solved your problem, please mark this question as answered. This helps others who have the same question find a solution quickly via the forum search. If you liked my response, please consider giving it a Like.
     
    Thanks
    -Mark

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 352 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 323

#3
Mohsin Ali Profile Picture

Mohsin Ali 226

Last 30 days Overall leaderboard