An Azure service that is used to send push notifications to all major platforms from the cloud or on-premises environments.
For this scenario, the behavior indicates a backend provisioning issue with WNS credentials for the app in Partner Center, similar to other cases where WNS does not recognize or expose valid credentials even though the app is correctly registered.
This cannot be fixed from the app or Azure Notification Hubs side. The required action is to have Partner Center support verify and, if necessary, refresh or re-provision the WNS registration for the Store app ID and Package SID.
Recommended steps:
- Open a support request with Microsoft Partner Center
- Use the Partner Center support channel described here: https://learn.microsoft.com/en-us/partner-center/support/schedule-support-appointment (from the referenced Q&A).
- In the ticket, include:
- Store ID: 9P88Q1MP20V4
- Store Product URL (optional for context)
- Package Family Name
- Package SID
- MSA App ID
- Screenshots or description of:
- WNS/MPNS page not loading in Partner Center
- Azure Notification Hub error:
this._wnsCredential is not a function - Any HTTP errors or console errors when loading the WNS/MPNS page.
- Ask Partner Center support to:
- Validate that the Package SID is correctly registered with WNS.
- Refresh or re-provision the WNS registration for the Package SID.
- Confirm that the Partner Center app registration and the MSA app registration are correctly linked for WNS.
- After support confirms the backend is fixed:
- Reopen the WNS/MPNS page in Partner Center and verify that WNS credentials (Package SID, client secret) are visible and configurable.
- Reconfigure Azure Notification Hub WNS credentials using:
-
package-sid= the Package SID from Partner Center. -
secret-key= the client secret from the app registration.
-
- If using Azure CLI, update the hub with:
-
az notification-hub credential wns update --resource-group <rg> --namespace-name <ns> --notification-hub-name <hub> --package-sid <sid> --secret-key <secret>.
-
If, after Partner Center re-provisions WNS, the OAuth token request or WNS configuration still fails, provide Partner Center and/or Azure support with the exact request body, timestamps, and error messages so they can further validate the WNS backend registration, as done in similar cases.
References:
- Push notification support for device management
- Tutorial: Send notifications to Universal Windows Platform apps using Azure Notification Hubs
- Troubleshooting WNS push notifications
- Troubleshooting push notifications
- Onboarding to cross-device experiences for Microsoft Graph notifications (deprecated)
- az notification-hub credential wns update
- WNS OAuth token request returns “invalid_client_id” for Package SID provisioned via Partner Center - Microsoft Q&A