How to read the incoming SMS in UWP?

Miles.mun 1 Reputation point


Microsoft sample app is in use on Windows 11.

SmsMessageReceivedTriggerDetails that register SmsMessageReceivedTrigger in BackgroundTask and run this BackgroundTask will not run.
Sms cannot be received using the above Sample App.

It works with Windows 10 with the same code.

Why not in Windows 11?

Universal Windows Platform (UWP)
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,632 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Limitless Technology 44,056 Reputation points


    As the official article specifies, the SMS API requisite is Windows 10, thus implying that Windows 11 is not part of the supported scenarios.


    In most case scenarios, this may be a function disabled in later releases due to security or vulnerability potential, or a change in the classes involved in the UWP functions.


    --If the reply is helpful, please Upvote and Accept as answer--

  2. Roy Li - MSFT 32,721 Reputation points Microsoft Vendor


    Welcome to Microsoft Q&A!

    @Miles.mun I've talked with the team about this. It is confirmed that this is a known issue with a 3rd Party driver. The issue has been reported to the vendor and is being investigated further. We currently do not have a workaround for this issue.

    Thank you.

    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

  3. sonny 1 Reputation point

    I'd like to ask you a question about it too.

    In our project, we are developing the SMS function as a UWP app using a cellular device.

    As above, there is a problem that SMS cannot be received in Windows 11.
    As shown below, I downloaded the "Microsoft Message" app from the MS store and tested it. As a result, SMS notifications are normally received.
    (Tested using the same device driver.)


    Could it be that the "Microsoft Message" app in the MS store is not a UWP app, so SMS reception works?

    0 comments No comments