Answered by:
Integrating MDM server with WNS

Question
-
Hi,
I have a custom MDM server in place which manages Windows 10 devices using various CSPs. Currently it works on "polling", where the device sends a SyncML after a certain interval (defined during provisioning in the WAP xml) and then my server responds back.
I would like to integrate this setup with WNS (Windows Notification Service), specifically be able to notify my device and make it do a SyncML rather than via polling.
Can someone point me in the right direction for relevant documentation on the same.
Thanks and Regards,
Dhruvesh
- Changed type Edgar A OlougounaMicrosoft employee Monday, June 27, 2016 10:52 PM
Monday, June 6, 2016 12:22 PM
Answers
-
Hi Dhruvesh,
As for Windows 10, it remains the same. You need to create a dummy application which is never submitted to the Windows Store and use the resulting AppId and PFN for OMA-DM push notification.
Push notification support for device management
https://msdn.microsoft.com/en-us/library/windows/hardware/mt692524(v=vs.85).aspxHow to authenticate with the Windows Push Notification Service (WNS) (Windows Runtime apps)
https://msdn.microsoft.com/en-us/windows/hh465407(v=win.10)[MS-MDM] How to get the PFN and AppID of the DM client for configuring WNS
https://social.msdn.microsoft.com/Forums/en-US/ab03a3e5-a62f-409e-bf0d-9ac6927df691/msmdm-how-to-get-the-pfn-and-appid-of-the-dm-client-for-configuring-wns?forum=os_windowsprotocolsThanks,
Edgar
- Marked as answer by Edgar A OlougounaMicrosoft employee Monday, June 27, 2016 10:52 PM
Saturday, June 18, 2016 4:32 AM
All replies
-
Hi Dhruvesh,
The following article may be helpful for WNS:
Best regards,
Tom Jebo
Sr Escalation Engineer
Microsoft Open Specifications SupportMonday, June 6, 2016 4:10 PM -
Hi Tom,
Thanks for article, got a brief understanding about WNS :)
My dilema now is -
We want to configure the inbuilt "work access" app on Windows 10 devices to receive notification from a notification hub configured by us.
According to the above article, to configure the notification hub we need:
1. Package SID
2. Client Secret
And unless we register the "work access" app with "Windows Dev Center" we cannot obtain Package SID and Client Secret. Is there a way we can register the "work access" application with Windows Dev Center ? Or is it expected to go around this is another way ?
I look forward to hearing from you. A reply is greatly appreciated.
Regards,
Dhruvesh
Thursday, June 9, 2016 5:45 AM -
To add to the above..
I saw the link:
https://social.msdn.microsoft.com/Forums/en-US/564ce58e-191c-4745-8cb8-80d70bfe1053/how-to-use-wns-for-windows-phone-81-in-built-mdm-app-workplace?forum=developingmdmsolutions
and it says that we need to create a dummy app for work access to receive wns notifications. Has this changed for Windows 10?
Thursday, June 9, 2016 9:23 AM -
Hi Dhruvesh,
I am reviewing this and will follow-up.
Thank you,
Edgar
Thursday, June 9, 2016 6:23 PM -
Hi Edgar,
Any update on the same ? :)
Regards,
Dhruvesh
Monday, June 13, 2016 5:29 AM -
Hi Dhruvesh,
As for Windows 10, it remains the same. You need to create a dummy application which is never submitted to the Windows Store and use the resulting AppId and PFN for OMA-DM push notification.
Push notification support for device management
https://msdn.microsoft.com/en-us/library/windows/hardware/mt692524(v=vs.85).aspxHow to authenticate with the Windows Push Notification Service (WNS) (Windows Runtime apps)
https://msdn.microsoft.com/en-us/windows/hh465407(v=win.10)[MS-MDM] How to get the PFN and AppID of the DM client for configuring WNS
https://social.msdn.microsoft.com/Forums/en-US/ab03a3e5-a62f-409e-bf0d-9ac6927df691/msmdm-how-to-get-the-pfn-and-appid-of-the-dm-client-for-configuring-wns?forum=os_windowsprotocolsThanks,
Edgar
- Marked as answer by Edgar A OlougounaMicrosoft employee Monday, June 27, 2016 10:52 PM
Saturday, June 18, 2016 4:32 AM -
Thanks a lot Edgar, this really helped cleared the confusion I had.
Thanking you for your help.
Regards,
Dhruvesh
Monday, June 20, 2016 10:09 AM