What was missing is to map the Partner center app Package Family Name (PFN) to its Azure AppId (see documentation: Step 4) then the WNS configuration will work when setting the SID and Client secret without error (Invalid credentials).
so when you get your app's PFN mapped, the WNS will saves the settings (SID and Client secret).
Notification Hub - Can't add WNS service - Invalid WNS credentials
comor
50
Reputation points
https://learn.microsoft.com/en-us/azure/notification-hubs/create-notification-hub-portal.
I need to push a WNS to my UWP app, and follow the guide above like belows.
First, add a new App on Store, get the SID.
Second, go to Azure and find the App,
Then, click in,add a key/secret, and get the secret value.
At last, new a Notification Hub, and fill the SID and secret value to WNS item
Save, and error happens.
I tried many time, including register a new app within azure, but it has no SID, still fail too.
So, which step is wrong?
Azure Notification Hubs
Azure Notification Hubs
An Azure service that is used to send push notifications to all major platforms from the cloud or on-premises environments.
Accepted answer
-
Microlead Software 76 Reputation points
2025-06-11T18:50:59.2466667+00:00