Notification Hub - Can't add WNS service - Invalid WNS credentials

comor 50 Reputation points
2025-04-30T10:45:49.8633333+00:00

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.User's image

Second, go to Azure and find the App,User's image

Then, click in,add a key/secret, and get the secret value.User's image

At last, new a Notification Hub, and fill the SID and secret value to WNS itemUser's image

Save, and error happens.

User's image

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.
{count} votes

Accepted answer
  1. Microlead Software 76 Reputation points
    2025-06-11T18:50:59.2466667+00:00

    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).


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.