An Azure service that is used to send push notifications to all major platforms from the cloud or on-premises environments.
Hello @Craig Wittenberg@Craig Wittenberg
Azure Notification Hubs cannot currently be used with .NET MAUI Windows (Windows App SDK) push notifications.
.NET MAUI for Windows uses Windows App SDK push notifications, which are Entra ID (Azure AD)–based and require an App Registration Object ID. Azure Notification Hubs (WNS provider), on the other hand, still requires a Windows Store app identity (Package SID) issued via Partner Center.
Because Windows App SDK push explicitly does not support Partner Center identities, there is no valid way to obtain a SID for a MAUI Windows app and therefore Notification Hubs cannot be configured for this scenario.
Your Xamarin Windows UWP app worked because:
- UWP apps are Store‑packaged
- They are registered in Partner Center
- Partner Center issues a Package SID
- Azure Notification Hubs (WNS) uses that SID + secret
.NET MAUI Windows apps are built on the Windows App SDK, and push notifications work very differently:
- Push notifications use Entra ID (Azure AD) app registrations
- The app uses Application (Client) ID, Tenant ID and Service principal Object ID
- The Object ID is passed to
CreateChannelAsync - Partner Center is not supported.
This is why you can successfully create a push channel, send notifications directly via WNS and authentication via Entra ID works
Your direct-send validation confirms the setup is correct.
Azure Notification Hubs for WNS is built on the legacy WNS identity model.
For a MAUI Windows app:
- You cannot use Partner Center
- No SID is generated
- An Entra ID App Registration does not have a SID
- Adding the app registration to Partner Center does not generate one
So there is no compatible identity that Notification Hubs can accept.
The supported resolution is to send push notifications directly via WNS using an Entra ID app registration.
You can also provide feedback at https://feedback.azure.com/d365community
Just checking if the information provided was helpful! Please let me know if you have any queries.
Thanks,
Suchitra.