Check part one and two if you haven’t gone through it already. In this final part of the article series, we will configure push notification.
Windows & Apple phones doesn’t run applications in the background. This means that when you are not actively using the Lync app, it doesn’t have a connection to the server and hence will not be able to receive any communications at that time. In order to overcome that, we need to configure push notification for these type of mobile phones, so that a notification is sent to the phones whenever there is any communication.
Configuring push notification is easy enough. The push notification service is hosted by Microsoft along with the Lync Online deployment and hence the first step is to federate with Lync Online if you haven’t done so. Check my article for the exact steps to configure the federation using the control panel. If you are into PowerShell, you can run the following from the Lync Shell to achieve the same result.
New-CsHostingProvider –identity “LyncOnline” –Enabled $true –ProxyFqdn “sipfed.online.lync.com” –VerificationLevel UseSourceVerification
Next step is to allow push.lync.com as an allowed domain in the on-premise Lync deployment. Run the following from the Lync Shell.
New-CsAllowedDomain –identity push.lync.com –Comment “Push Notification for Windows & Apple phones”
By default, the push notification is not enabled, even after deploying the mobility service. Hence, the next step will be to enable it. Run the following from the Lync Shell.
Set-CsPushNotificationConfiguration –EnableApplePushNotificationService $true –EnableMicrosoftPushNotificationService $true
If you have followed my various article series, you would have federation enabled for all users. If not, you need to enable it. Check my article (towards the end) for steps using the control panel. Alternatively, run the one-liner from the Lync Shell.
Set-CsAccessEdgeConfiguration –AllowFederatedUsers $true
Apple devices which are connected to your internal network needs to talk to the Apple Push Notification Service by initiating an outbound TCP connection using port 5223. Hence, if you want your internally connected (over company WiFi) Apple devices to get all push notifications, you need to open TCP port 5223.
That’s it. Your Windows & Apple phone users will be happy now ![]()
This completes the mobility service deployment article series.





turbomcp May 21, 2012 at 9:22 pm
Thanks
Rajith Enchiparambil May 22, 2012 at 9:17 am
Thanks for the comment Turbomcp.
haqui August 2, 2012 at 12:40 pm
Hi,
If you have a pool somewhere else, I should do for those users of the pool can access through their mobile devices, because today I have a pool and pool users that if they connect, I have the TMG one rule to this pool, but users of other pool does not permit, it is important to note that I have the role of director
David Napolitan September 6, 2012 at 10:03 pm
Thank you for all your work. I had one question about the mobility app. I do not have Exchange 2010, and I would like to suppress the message relating to Exchange 2010. Is this possible?
Rajith Enchiparambil September 21, 2012 at 7:03 am
Which Exchange message are you referring to David?
amit October 12, 2012 at 11:44 am
Excellent Stuff
Rajith Enchiparambil October 15, 2012 at 9:10 am
Thanks Amit.