microsoft / microsoft/WindowsAppSDK

Push Notifications not working ONLY on Windows 10 Build 19045

Open
#5,193 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area-Notifications needs-triage
Dominant language
C++
Stars
4.7k
Forks
471
Avg merge
3d 13h
Merged PRs (30d)
28

Description

### Describe the bug

I have small MSIX packaged test app to test WindowsAppSDK push notifications. The app uses WindowsAppSDK raw notifications and the code is just copy paste in its C# variant from here https://learn.microsoft.com/en-us/windows/apps/windows-app-sdk/notifications/push-notifications/push-quickstart. I can provide the VS solution if needed but I don't believe the problem is in my code since it works, except on some Windows 10 builds.

The push notifications works on different windows version except on Windows 10 22H2 (19045.5555) and Windows 10 22H2 (19045.54875). We ran the code on older Windows 10 1809 and it still works but not on the mentioned windows builds. It also works on all Windows 11 builds we tried.

The sender app that make the REST request for sending the notification returns 403 Forbidden and the client app never receive the notification but only when the client app is ran on Windows 10 22H2 (19045.5555) or Windows 10 22H2 (19045.54875)

Is there a way to find a trace or logs on azure why exactly the push notifications fails so I can help with troubleshooting this issue?

### Steps to reproduce the bug

Run push notification code on Windows 10 22H2 (19045.5555) and Windows 10 22H2 (19045.54875)

### Expected behavior

_No response_

### Screenshots

_No response_

### NuGet package version

Windows App SDK 1.6.3: 1.6.250108002

### Packaging type

Packaged (MSIX)

### Windows version

Windows 10 version 22H2 (19045, 2022 Update)

### IDE

Visual Studio 2022

### Additional context

_No response_

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Windows App SDK push notifications quickstart and reproduce the issue using the packaged MSIX app on Windows 10 22H2 builds 19045.5555 and 19045.54875. Compare the sender app's REST response and the client behavior with the working Windows 10 1809 and Windows 11 cases, then identify whether Azure trace or log information explains the 403 response.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, csharp
Domain
cloud, desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.