MAUIverse MAUIverse

Push Notifications with Azure Notification Hub, Part 1: Setting Up the Hub

Before a .NET MAUI app can receive a push notification, the backend has to be ready. This first part of Vladislav’s series covers that groundwork in the Azure portal, step by step.

He starts by creating the Notification Hub and finding the access policy connection strings you’ll need later. From there he configures Windows Notification Service by pulling the Package SID and client secret from the Windows Dev Center and entering them in the hub. For Android, he sets up a Firebase project and connects it to the hub through the FCM V1 option using the generated service account JSON.

There’s one troubleshooting tip worth knowing: if an existing hub throws a “Firebase invalid credentials” error, creating a fresh hub resolves it. Apple’s APNS setup isn’t covered here because the author doesn’t have a developer account, but he points to a guide by Enrico Rossini for iOS. Continue with Part 2 once the hub is ready.

View Source →

← Back to Community Feed

}