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

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

Cannot read NFC

(1) ShareShare
ReportReport
Posted on by 2,291
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.
I have the same question (0)
  • MarkRahn Profile Picture
    1,091 Super User 2025 Season 2 on at
    Cannot read NFC
    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,091 Super User 2025 Season 2 on at
    Cannot read NFC
    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
    Cannot read NFC
     
    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,091 Super User 2025 Season 2 on at
    Cannot read NFC
    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 632 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 386 Super User 2025 Season 2

#3
wolenberg_ Profile Picture

wolenberg_ 245 Moderator

Last 30 days Overall leaderboard