Reset App registration for WNS setup (Push Notification for Windows App)

Martin Moller 0 Reputation points
2024-10-10T09:42:40.1066667+00:00

I am trying to set up WNS for a Windows app following the official guide (https://learn.microsoft.com/en-us/azure/notification-hubs/notification-hubs-windows-store-dotnet-get-started-wns-push-notification#create-an-app-in-windows-store). The issue arises at this step: "You are currently logged in with this account. If you have an existing WNS solution or to update your current client secret, visit the App Registration portal." When I click on the App Registration portal, the Microsoft Partner Center generates a link to a non-existent AppID. I have checked all App registrations (All applications, owned applications, deleted applications, and applications from the personal account). In all tabs, the app with the required AppID is missing. How can I reset the App Registration for WNS configuration so that it does not reference a non-existent AppID and allows me to create a new one?

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

1 answer

Sort by: Most helpful
  1. Hima Bindu 240 Reputation points
    2024-10-17T05:00:51.87+00:00

    Hi Martin Moller,
    Welcome to the Microsoft Q&A Platform!

    Check Existing App Registrations:

    Go to Azure Active Directory > App registrations in the Azure Portal.

    Look for your app. If it’s missing, proceed to reset.

    Delete Faulty Registrations:

    Check the Deleted applications section to restore the app.

    If not found, delete any references to the non-existent AppID in Azure AD and Partner Center.

    Create a New App Registration:

    In Azure AD, create a new app registration.

    Save the AppID and Client Secret.

    Update WNS Configuration:

    Go to Microsoft Partner Center and update your app with the new AppID and Client Secret.

    Update Notification Hub:

    In Azure Notification Hub, update Package SID and Client Secret under Windows (WNS) settings.

    Test Push Notifications:

    Verify that WNS push notifications work after the updates.
    If the answer is helpful, please click "Accept Answer" and kindly upvote it.


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.