1

I am trying to setup Windows (WNS) notifications based on following Microsoft tutorial: Send notifications to Universal Windows Platform apps using Azure Notification Hubs

System returns error at step 3 in chapter Configure WNS settings for the hub. Relevant screenshots below. I used fresh Package SID created yesterday. Also, security key was properly created; as defined in tutorial.

Error message: Error updating notification hub. Error. BadRequest. Message: **Invalid WNS credentials**.

App registration in Azure is visible under - Applications from personal account.

On Partner Center portal I have active individual developer account that was used to register application (MSIX or PWA app) and get Package SID.

Followed all steps in tutorial. Triple checked everything. No other errors received. Account that I used to go through the tutorial has OWNER permissions on Azure subscription where Notification Hub is located. Security and access rights shouldn't be the problem.

Any thoughts where is the problem? And where can I find more details about actual error?

screenshot-ErrorMessage

screenshot-App registration

screenshot-IntegrationAssistantSuggestions

Nik Cik
  • 11
  • 2

1 Answers1

1

Found solution.

Package SID should be in the format: ms-app://S-x-xx-x-xxxxxxxxxxxxxx....

And not in the format S-x-xx-x-xxxxxxxxxxxxxx.... (this is how it looks in partner center portal)

Resolved.

Nik Cik
  • 11
  • 2
  • Oh man, you saved me. I kept getting this error and didn't have the `ms-app://` before the Package SID. A little help text on that screen from Microsoft would go a long way. Thank you so much! – Clifton Labrum Mar 24 '23 at 19:21