Monday, August 27, 2012

WinRT: The notification platform does not have the proper privileges to complete the request.

While trying to register my Windows 8 app for push notifications using PushNotificationChannelManager.CreatePushNotificationChannelForApplicationAsync(), it always failed with the following error message:

The notification platform does not have the proper privileges to complete the request. (Exception from HRESULT: 0x803E0208)

Reading the exception information made me think that my app was missing some declarations in the app manifest, but the only one I needed was the internetClient capability and I couldn’t find another related declaration.

In the end the MSDN forum brought the rescue. I was running in the simulator and it that case you don’t have the required privileges. Running from Local Machine solved the issue.

No comments: