Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PushNotifications sample says to request WNS channel using Azure AppId instead of Azure ObjectId #305

Open
christopher-rtf opened this issue Aug 4, 2023 · 1 comment

Comments

@christopher-rtf
Copy link

Both of the following documents say to use the Azure AppId to request a WNS push notification channel:

However, the Push Notifications quick start says that the Azure AppId should be used for the server-side push notification registration and that the Azure ObjectId should be used to request a WNS push notification channel:

Which one of these is the correct? We have been successful using the Azure ObjectID to request a channel on the client, but I am a little nervous that this may break in the future as requesting a channel using the Azure AppID seems to return a channel Uri as well.

I didn't want to cross-post this issue to both repos, but perhaps this should also be posted as an issue on https://github.com/MicrosoftDocs?

@vaheeshta
Copy link
Contributor

Thank you @christopher-rtf! Apologies for the delay. Looks like we didn't update the sample code. The guidance is correct, please continue to use the Azure ObjectId. @loneursid, can you please make a small adjustment to the sample app code to say "Replace this with your own Azure ObjectId" instead of "Replace this with your own Azure AppId"? Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants