<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" version="2.0">

<channel>
	<title>Zero Hour Sleep</title>
	
	<link>http://www.zerohoursleep.com</link>
	<description>...lost in a 24x7 IT World!</description>
	<lastBuildDate>Fri, 13 Jan 2012 08:16:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/211/AhIl" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="211/ahil" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">211/AhIl</feedburner:emailServiceId><feedburner:feedburnerHostname xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>Microsoft push notification messages are not delivered to Lync mobile clients</title>
		<link>http://www.zerohoursleep.com/2012/01/microsoft-push-notification-messages-are-not-delivered-to-lync-mobile-clients/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=microsoft-push-notification-messages-are-not-delivered-to-lync-mobile-clients</link>
		<comments>http://www.zerohoursleep.com/2012/01/microsoft-push-notification-messages-are-not-delivered-to-lync-mobile-clients/#comments</comments>
		<pubDate>Fri, 13 Jan 2012 08:15:27 +0000</pubDate>
		<dc:creator>Charbel Hanna</dc:creator>
				<category><![CDATA[Messaging & Collaboration]]></category>
		<category><![CDATA[Hotfix]]></category>
		<category><![CDATA[Lync 2010]]></category>
		<category><![CDATA[Lync 2010 Mobility]]></category>
		<category><![CDATA[Push notification]]></category>

		<guid isPermaLink="false">http://www.zerohoursleep.com/2012/01/microsoft-push-notification-messages-are-not-delivered-to-lync-mobile-clients/</guid>
		<description><![CDATA[Taken from Microsoft KB2664650 Microsoft push notification messages are not delivered to Lync mobile IOS and WP7 clients, when URL filtering is configured on Lync 2010 Edge Servers or office communication 2007 R2 Access Edge Server, apparently this is caused by: Taken from Microsoft KB2664650 The Lync Server 2010 Mobility service sends SIP messages that [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Taken from Microsoft</strong> <a href="http://support.microsoft.com/kb/2664650">KB2664650</a></p>
<p>Microsoft push notification messages are not delivered to Lync mobile IOS and WP7 clients, when URL filtering is configured on Lync 2010 Edge Servers or office communication 2007 R2 Access Edge Server, apparently this is caused by:</p>
<p><span id="more-1558"></span>
<p><strong>Taken from Microsoft</strong> <a href="http://support.microsoft.com/kb/2664650">KB2664650</a></p>
<p>The Lync Server 2010 Mobility service sends SIP messages that contain active hyperlinks in their Message-Body header that define the XML namespace information for the push notification to the Lync Server Push Notification service. </p>
<p><b>Lync Server 2010 Front End Pool</b><b>      <br /></b></p>
<p>Using the URL Filter page in the IM and Presence group in Lync Server Control Panel to enable the Hyperlink prefix option Send warning message, will precede the active hyperlink with a user defined warning message in the SIP packet that contains the push notification message. The Lync Server Push Notification service will reject the modified push notification information and send an error response back to the Lync Server 2010 Mobility service.</p>
<p><b>Office Communications Server 2007 R2 Access Edge server</b><b>      <br /></b>    <br /><font size="2">Using the URL Filter tab of the Office Communications Server 2007 R2 Intelligent IM Filter dialog to: </font></p>
<ul>
<li><font size="2">Allow instant messages that contain hyperlinks, but convert the hyperlinks to plain text </font></li>
<li><font size="2">Allow instant messages that contain hyperlinks. Enter a warning that you want to insert at the beginning of each containing hyperlinks</font> </li>
</ul>
<p><font size="2">Will precede the active hyperlink with a user defined warning message and convert the active hyperlink to text by preceding it with an underscore or precede the active hyperlink with a user defined warning message in the SIP packet that contains the push notification message. The Lync Server Push Notification service will reject the modified push notification information and send an error response back to the Lync Server 2010 Mobility service.</font></p>
<p><font size="2">for more information about the workaround and how to fix this issue please click <a href="http://support.microsoft.com/kb/2664650" target="_blank">here</a></font></p>
]]></content:encoded>
			<wfw:commentRss>http://www.zerohoursleep.com/2012/01/microsoft-push-notification-messages-are-not-delivered-to-lync-mobile-clients/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft Lync server 2010 push notification service, is it required and how to configure it ?</title>
		<link>http://www.zerohoursleep.com/2012/01/microsoft-lync-server-2010-push-notification-service-is-it-required-and-how-to-configure-it/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=microsoft-lync-server-2010-push-notification-service-is-it-required-and-how-to-configure-it</link>
		<comments>http://www.zerohoursleep.com/2012/01/microsoft-lync-server-2010-push-notification-service-is-it-required-and-how-to-configure-it/#comments</comments>
		<pubDate>Wed, 04 Jan 2012 22:17:52 +0000</pubDate>
		<dc:creator>Charbel Hanna</dc:creator>
				<category><![CDATA[Messaging & Collaboration]]></category>
		<category><![CDATA[deployment]]></category>
		<category><![CDATA[Lync 2010]]></category>
		<category><![CDATA[Mobility]]></category>
		<category><![CDATA[Push notification]]></category>

		<guid isPermaLink="false">http://www.zerohoursleep.com/2012/01/microsoft-lync-server-2010-push-notification-service-is-it-required-and-how-to-configure-it/</guid>
		<description><![CDATA[with the release of the new Lync 2010 mobility service, Microsoft also has released what is called push notification service, many administrators like myself were surprised about this after reading Microsoft official Mobility guide and I bet many of them still doesn’t have a clear idea about how the push notification service works, and if [...]]]></description>
			<content:encoded><![CDATA[<p>with the release of the new Lync 2010 mobility service, Microsoft also has released what is called push notification service, many administrators like myself were surprised about this after reading Microsoft official Mobility guide and I bet many of them still doesn’t have a clear idea about how the push notification service works, and if is it required to be configured or not. </p>
<p><strong>what is this Service used for ?</strong></p>
<p>The Service is a cloud-based service located in the Lync online Data Center, it is used to send notifications to Lync mobile clients running on windows phone 7 and IOS based systems. </p>
<p>The push notification Service push notifications to mobile clients n the form of badges, icons, or alerts, even if the mobile application was inactive. Push notifications notify a user of events such as a new or missed IM invitation, missed calls, and voice mail.</p>
<p><span id="more-1551"></span>
<p><strong>How it works ?</strong></p>
<p>The Microsoft Lync Server 2010 Mobility Service sends the notifications to the cloud-based Microsoft Lync Server 2010 Push Notification Service, which then sends the notifications to the Apple Push Notification Service (APNS) or the Microsoft Push Notification Service (MPNS). as illustrated in the below diagram.</p>
<p>So assuming User A sends an instant Message to User B located outside the organization and using WP7 Lync mobile client, and it happened that the User B has closed the Lyn Mobile client a while ago, in this case the Lync mobility Service will send a notification to the Lync push notification Service and then the Lync push notification service will push the notification to the MPNS and this last will forward the notification to the Mobile device.</p>
<p>when user B receive the notification he can click on it to activate the Lync mobile client and answer to the IM in request.</p>
<p><a href="http://www.zerohoursleep.com/wp-content/uploads/2012/01/Lync-Push-Notifications-Service.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Lync Push Notifications Service" border="0" alt="Lync Push Notifications Service" src="http://www.zerohoursleep.com/wp-content/uploads/2012/01/Lync-Push-Notifications-Service_thumb.jpg" width="523" height="182" /></a><strong></strong></p>
<p><strong>is it free of charge ? </strong></p>
<p>The push notification service is Free of charge all that you have to do is to configure your Lync deployment to send the notification to the Lync Server Push notification Service hosted in the Lync online Data Center, push.Lync.com is the Microsoft office 365 domain that is used by the push notification service.</p>
<p><strong>is it required ?</strong></p>
<p>it is required to be configured if there are users within your organization that uses iphone, and WP7 based smartphones, since these types of phones doesn’t support application backgrounding , which means the Lync mobile client can’t remain active in the background while working on something else on the phone.</p>
<p>this is not the case with android and Nokia Symbian smartphones, these types of phones doesn’t require push notifications.</p>
<p><strong>How to configure to support push notification service ?</strong></p>
<p>Log on to the Lync Front-End Server with a user that is member of the RtcUniversalServerAdmins Group and open Lync management Shell.</p>
<p>1. Add Lync online hosting provider to the list of the hosting providers at the command line run: </p>
<div class="code"><font color="#000000">New-CsHostingProvider</font><font color="#808080">&#160;</font><font color="#000000">-Identity</font><font color="#808080"> &quot;LyncOnline&quot; </font><font color="#000000">-Enabled</font><font color="#808080">&#160;</font><font color="#2b91af">$True</font><font color="#808080">&#160;</font><font color="#000000">-ProxyFqdn</font><font color="#808080">&#160;</font><font color="#000000">sipfed.online.lync.com</font><font color="#808080">&#160;</font><font color="#000000">-VerificationLevel</font><font color="#808080">&#160;</font><font color="#000000">UseSourceVerification</font> </div>
<p>&#160;</p>
<p><a href="http://www.zerohoursleep.com/wp-content/uploads/2012/01/hostingPro2.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="hostingPro2" border="0" alt="hostingPro2" src="http://www.zerohoursleep.com/wp-content/uploads/2012/01/hostingPro2_thumb.jpg" width="462" height="122" /></a></p>
<p>you can change “lyncOnline” to whatever unique identifier you like</p>
<p>2. Set up hosting provider federation between your organization and the Push Notification Service at Lync Online. At the command line, type:</p>
<div class="code"><font color="#000000">New-CsAllowedDomain</font><font color="#808080">&#160;</font><font color="#000000">-Identity</font><font color="#808080"> &quot;push.lync.com&quot; </font><font color="#000000">-ProxyFQDN</font><font color="#808080">&#160;</font><font color="#000000">sipfed.online.lync.com</font>&#160; -Comment “Push notification Service”</div>
<div class="code">&#160;</div>
<div class="code"><font size="2">Note: the <strong>proxyFQDN</strong> entry is only required in cases where <strong>sipfed.online.lync.com</strong> wasn’t configured as hosting provider in the earlier step, otherwise you can safely add the allowed domain while omitting the ProxyFQDN entry.</font></div>
<div class="code"><font size="2"></font></div>
<div class="code"><font size="2"></font></div>
<div class="code"><font size="2">to verify that the domain is successfully allowed form command line type:</font></div>
<div class="code"><font size="2"></font></div>
<div class="code"><font color="#000000">Get-CsAllowedDomain</font> and verify the push.lync.com entry</div>
<p><a href="http://www.zerohoursleep.com/wp-content/uploads/2012/01/CsAllowedDomain.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="CsAllowedDomain" border="0" alt="CsAllowedDomain" src="http://www.zerohoursleep.com/wp-content/uploads/2012/01/CsAllowedDomain_thumb.jpg" width="454" height="56" /></a></p>
<p>3.&#160; we have setup a new hosting provider, configured the allowed domain, so now we can enable Enable push notifications. </p>
<p>At the command line, type:</p>
<div class="code"><font color="#000000">Set-CsPushNotificationConfiguration</font><font color="#808080">&#160;</font><font color="#000000">-EnableApplePushNotificationService</font><font color="#808080">&#160;</font><font color="#2b91af">$True</font><font color="#808080">&#160;</font><font color="#000000">-EnableMicrosoftPushNotificationService</font><font color="#808080">&#160;</font><font color="#2b91af">$True</font> </div>
<div class="code">&#160;</div>
<p><a href="http://www.zerohoursleep.com/wp-content/uploads/2012/01/EnablePush.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="EnablePush" border="0" alt="EnablePush" src="http://www.zerohoursleep.com/wp-content/uploads/2012/01/EnablePush_thumb.jpg" width="452" height="73" /></a></p>
<p>to verify if the push notifications Service is enabled at the command line type:</p>
<div class="code"><font color="#000000">Get-CsPushNotificationConfiguration</font> </div>
<p>&#160;</p>
<p>you should have similar results</p>
<p><a href="http://www.zerohoursleep.com/wp-content/uploads/2012/01/GetPush.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="GetPush" border="0" alt="GetPush" src="http://www.zerohoursleep.com/wp-content/uploads/2012/01/GetPush_thumb.jpg" width="446" height="91" /></a></p>
<p>4. if you don’t have federation enabled on your Edge Server, you should Enable it by running.    </p>
<div class="code"><font color="#000000">Set-AccessEdgeConfiguration</font><font color="#808080">&#160;</font><font color="#000000">-AllowFederatedUsers</font><font color="#808080">&#160;</font><font color="#000000">$True</font> </div>
<p>&#160;</p>
<p>5. you can test the federation configuration by using the test-CsFederationPartner cmdlet</p>
<p>At the command line, type:</p>
<div class="code"><font color="#000000">Test-CsFederatedPartner</font><font color="#808080">&#160;</font><font color="#000000">-TargetFqdn</font><font color="#808080">&#160;</font><font color="#000000">uc-edge1.unibox.me</font><font color="#808080">&#160;</font><font color="#000000">-Domain</font><font color="#808080">&#160;</font><font color="#000000">push.lync.com</font><font color="#808080">&#160;</font><font color="#000000">-ProxyFqdn</font><font color="#808080">&#160;</font><font color="#000000">sipfed.online.lync.com</font> </div>
<p>where uc-edge1.unibox.me is the Edge Server internal FQDN </p>
<p><a href="http://www.zerohoursleep.com/wp-content/uploads/2012/01/testFed.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="testFed" border="0" alt="testFed" src="http://www.zerohoursleep.com/wp-content/uploads/2012/01/testFed_thumb.jpg" width="428" height="121" /></a></p>
<p>you should get a success result </p>
<p>6. you can also test push notifications by using the test-CsMcxNotification cmdlet</p>
<p>At the command line, type:</p>
<div class="code"><font color="#000000">Test-CsMcxPushNotification</font><font color="#808080">&#160;</font><font color="#000000">-AccessEdgeFqdn</font><font color="#808080">&#160;</font><font color="#000000">uc-edge1.unibox.me</font> </div>
<p>where uc-edge1.unibox.me is the Edge Server internal FQDN</p>
<p>you should also get a success result as follow </p>
<p><a href="http://www.zerohoursleep.com/wp-content/uploads/2012/01/testPush.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="testPush" border="0" alt="testPush" src="http://www.zerohoursleep.com/wp-content/uploads/2012/01/testPush_thumb.jpg" width="444" height="117" /></a></p>
<p>once all the above is completed successfully Lync Mobile clients will start receiving notifications. it is important to note that you should allow a bit of time for the push notification start working properly, and already connected users should sign out and sign in back again on the Lync Mobile client.</p>
<p><strong>what are the Port and Firewall Requirements</strong></p>
<p>if you support push notifications and want Apple mobile devices to receive push notifications over your Wi-Fi network, you also need to open port 5223 on your enterprise Wi-Fi network. Port 5223 is an outbound TCP port used by the Apple Push Notification Service (APNS). The mobile device initiates the connection. For details, see <a href="http://support.apple.com/kb/TS1629">http://support.apple.com/kb/TS1629</a></p>
<p>Hope you find this post useful, and happy mobile Lyncing <img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://www.zerohoursleep.com/wp-content/uploads/2012/01/wlEmoticon-smile1.png" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.zerohoursleep.com/2012/01/microsoft-lync-server-2010-push-notification-service-is-it-required-and-how-to-configure-it/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>step by step Deploy Lync 2010 Mobility Service</title>
		<link>http://www.zerohoursleep.com/2012/01/step-by-step-deploy-lync-2010-mobility-service/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=step-by-step-deploy-lync-2010-mobility-service</link>
		<comments>http://www.zerohoursleep.com/2012/01/step-by-step-deploy-lync-2010-mobility-service/#comments</comments>
		<pubDate>Tue, 03 Jan 2012 21:43:42 +0000</pubDate>
		<dc:creator>Charbel Hanna</dc:creator>
				<category><![CDATA[Messaging & Collaboration]]></category>

		<guid isPermaLink="false">http://www.zerohoursleep.com/2012/01/step-by-step-deploy-lync-2010-mobility-service/</guid>
		<description><![CDATA[now and after I have my hands on a brand new Lync 2010 mobile client it’s time to install and test this service. so let’s get started, in this scenario Lync 2010 enterprise edition pool is deployed, running on windows 2008 R2 sp1 operating system. Before beginning the installation it is recommended to review the [...]]]></description>
			<content:encoded><![CDATA[<p>now and after I have my hands on a brand new Lync 2010 mobile client it’s time to install and test this service.</p>
<p>so let’s get started, in this scenario Lync 2010 enterprise edition pool is deployed, running on windows 2008 R2 sp1 operating system. </p>
<p>Before beginning the installation it is recommended to review the <a href="http://www.microsoft.com/download/en/details.aspx?id=28355" target="_blank">official deployment guide</a> to understand the mobility service concept</p>
<p><strong>A</strong>) <strong>Install Lync 2010 Cumulative update 4 December 2011</strong></p>
<p>since the Mobility Service requires Lync 2010 Cumulative update 4 December 2011 to be installed, ( you can get it from <a href="http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;id=11551" target="_blank">here</a>) we will start by installing it in order to apply the Lync 2010 Hotfix KB 2493736.</p>
<p>1-on each Lync server download from <a href="http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;id=11551" target="_blank">here</a> and run <strong>LyncServerUpdateInstaller.exe</strong>, select install updates and verify that now you have latest updated version installed, if not press install updates and wait until the updates are finished.</p>
<p><a href="http://www.zerohoursleep.com/wp-content/uploads/2012/01/installer0.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="installer0" border="0" alt="installer0" src="http://www.zerohoursleep.com/wp-content/uploads/2012/01/installer0_thumb.jpg" width="460" height="179" /></a></p>
<p><a href="http://www.zerohoursleep.com/wp-content/uploads/2012/01/installer00.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="installer00" border="0" alt="installer00" src="http://www.zerohoursleep.com/wp-content/uploads/2012/01/installer00_thumb.jpg" width="466" height="187" /></a></p>
<p><span id="more-1526"></span>
<p><a href="http://www.zerohoursleep.com/wp-content/uploads/2012/01/updateinstaller1.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="updateinstaller1" border="0" alt="updateinstaller1" src="http://www.zerohoursleep.com/wp-content/uploads/2012/01/updateinstaller1_thumb.jpg" width="465" height="186" /></a></p>
<p><a href="http://www.zerohoursleep.com/wp-content/uploads/2012/01/updateinstaller2.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="updateinstaller2" border="0" alt="updateinstaller2" src="http://www.zerohoursleep.com/wp-content/uploads/2012/01/updateinstaller2_thumb.jpg" width="466" height="173" /></a></p>
<p>after verifying that the updates are installed properly stop all Lync services by running the following command from the Lync management shell</p>
<div class="csharpcode">
<pre class="alt">Stop-CsWindowsService</pre>
</div>
<div class="csharpcode">&#160;</div>
<style type="text/css">
<p>.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
<p>Also Stop the world Wide Web Service using the following command </p>
<div class="csharpcode">
<pre class="alt">net Stop w3svc</pre>
</div>
<p>
  <br />2- Update SQL bank End Database Instance</p>
<p>this procedure should be performed once per pool and should be run from only one Front End server per pool for each instance of Back End databases. </p>
<p>use install-CsDatabase to update the SQL Back End, as follows :<br />
  <br />From Lync management Shell run </p>
<p></p>
<div class="csharpcode">
<pre class="alt">

<font size="2">Install-CsDatabase -Update -ConfiguredDatabases -SqlServerFQDN db-1.unibox.me </font>
</pre>
</div>
<style type="text/css">
<p>.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
<p>If you have collocated Databases within the SQL instance for any additional Lync Server roles for example Monitoring or archiving servers you should use the –ExcludeCollectedStore parameter</p>
<p><a href="http://www.zerohoursleep.com/wp-content/uploads/2012/01/Install-CsDatabase1.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Install-CsDatabase1" border="0" alt="Install-CsDatabase1" src="http://www.zerohoursleep.com/wp-content/uploads/2012/01/Install-CsDatabase1_thumb.jpg" width="543" height="242" /></a></p>
<p>now we have applied the latest update to our Lync environment reboot the server or start all Lync service by running and the IIS world wide web service&#160; </p>
<div class="csharpcode">&#160;</div>
<div class="csharpcode">
<pre class="alt">Start-CsWindowsService</pre>
<p>  <strong></strong></div>
<div class="csharpcode">
<pre class="alt">net start w3svc</pre>
</div>
<p><strong><br />
    <br />B</strong>)&#160; <strong>Configure DNS Records</strong></p>
<p>Internal and External DNS records are required to be configured for each supported sip domain, the DNS&#160; (A) or CNAME records types are supported. the use of CNAME records is advisable in cases where Lync enterprise pool with multiple front-End servers is deployed for simplicity of administration when new Front-End Servers are deployed.</p>
<p>why SRV Records are not supported by the mobile clients! ?&#160; I mean they could do it the same way that outlook clients query for Exchange autodiscover service no ?</p>
<p>actually this was the first question that I asked myself the first time I read mobility service requirements, after having a clear idea about the whole setup and concept I realized that this was done in order to provide a seamless experience for the mobile clients. So queries for SRV autodiscover records are not supported.</p>
<p>in our scenario a single sip domain will be supported for autodiscover and mobility service and defined by unibox.me, and it is shared inside and outside the organization network, thus we will be creating both the internal and external auto discovery records in the same name space.</p>
<p>Open DNS server management Console expand the forward lookup zone corresponding to the sip domain right-click the forward lookup zone and the following:</p>
<p>1- <strong><font color="#4785c9">Configure&#160; Internal Autodiscover DNS Record</font></strong></p>
<p>select new CNAME record and set “<strong>LyncDiscoverInternal</strong>” as alias name, and the Lync pool internal web services FQDN as target host</p>
<p><a href="http://www.zerohoursleep.com/wp-content/uploads/2012/01/DNS.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="DNS" border="0" alt="DNS" src="http://www.zerohoursleep.com/wp-content/uploads/2012/01/DNS_thumb.jpg" width="305" height="164" /></a></p>
<p>In case where a director exist the target host should point to the director internal web services&#160; FQDN</p>
<p>2- <strong><font color="#4785c9">Configure External Autodiscover DNS Record</font></strong></p>
<p>select new CNAME record and set “<strong>LyncDiscover</strong>” as alias name, and the Lync pool External web services FQDN as target host </p>
<p><a href="http://www.zerohoursleep.com/wp-content/uploads/2012/01/rev16.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="rev16" border="0" alt="rev16" src="http://www.zerohoursleep.com/wp-content/uploads/2012/01/rev16_thumb.jpg" width="310" height="169" /></a><a href="http://www.zerohoursleep.com/wp-content/uploads/2012/01/rev17.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="rev17" border="0" alt="rev17" src="http://www.zerohoursleep.com/wp-content/uploads/2012/01/rev17_thumb.jpg" width="310" height="164" /></a></p>
<p><strong>it is important to note that the Lync external web services FQDN should point to the external IP address which is already assigned to the Reverse Proxy listener of Lync external web services FQDN</strong>. ( the reverse proxy configuration is discussed in details later )</p>
<p>the External Autodiscover record should be configured as an internal DNS record in order to provide mobile clients seamless connectivity experience when switching between locations and networks.</p>
<p>C) <strong>Deploy the Mobility Service</strong></p>
<p>1 – <strong><font color="#4785c9">Configure internal and external ports</font></strong> </p>
<p>since the mobility service is not a built-in part of the Lync server service ports should be configured explicitly in order for the service to operate properly, the mobility service covers internal and external requests, 2 ports should be configured&#160; to listen to internal&#160; and external requests respectively. </p>
<p>To configure the ports open Lync management shell and run the following</p>
<div class="csharpcode">
<pre class="alt">Set-CsWebServer –Identity ucpool01.unibox.me –McxSipPrimaryListeningPort 5086</pre>
</div>
<div class="csharpcode">
<pre class="alt">Set-CsWebServer –Identity ucpool01.unibox.me –McxSipExternalListeningPort 5087</pre>
</div>
<div class="csharpcode">&#160;</div>
<div class="csharpcode"><font face="Tahoma">As you notice the first command sets the Internal port to TCP 5086 and second one sets it to 5087 where pool name is ucpool01.unibox.me where the mobility service will be installed in my case.</font></div>
<div class="csharpcode">&#160;</div>
<div class="csharpcode"><font face="Tahoma">the Set-CsWebserver cmdlets runs the publish-CsTopology in order to publish the updated topology.</font><font face="Tahoma">thus we still need to enable the topology by running from the Lync management Shell</font></div>
<div class="csharpcode">&#160;</div>
<div class="csharpcode">
<pre class="alt">Enable-CsTopology -Verbose</pre>
</div>
<style type="text/css">
<p>.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
<div class="csharpcode"><font face="Tahoma"><br />
    <br /></font></div>
<p>2 – <strong><font color="#4785c9">Install IIS Dynamic Content Compression features</font></strong></p>
<p>The Mobility Service installation requires that the Internet Information Services (IIS) module for Dynamic Content Compression be installed. Most of the cases this module is not installed in your deployment by default, in this case you need to install it before running the McxStandalone.msi package.</p>
<p>If the Lync server machine is running windows 2008 R2 like in my case you can install the Dynamic content Module from Lync management shell as follows: </p>
<div class="csharpcode">
<pre class="alt">Import-Module ServerManager</pre>
</div>
<style type="text/css">
<p>.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
<div class="csharpcode">
<pre class="alt">Add-WindowsFeature Web-Server, Web-Dyn-Compression</pre>
</div>
<p><a href="http://www.zerohoursleep.com/wp-content/uploads/2012/01/webDyn.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="webDyn" border="0" alt="webDyn" src="http://www.zerohoursleep.com/wp-content/uploads/2012/01/webDyn_thumb.jpg" width="466" height="81" /></a></p>
<div class="code">&#160;</div>
<p><font size="2" face="Tahoma">After configuring all the above we can proceed by installing the mobility and autodisocver service binaries<br />
  <br /></font></p>
<p>&#160;</p>
<p>3- <strong><font color="#4785c9">Install the Mobility Service and autodiscover Service Binaries</font></strong></p>
<p>You need to run the installer on each Front End Server and each Director in every Lync Server pool where you want to provide the mobility feature. The installer installs the Mobility Service on Front End Servers and installs the Autodiscover Service on Front End Servers and Directors.The latest installation package is available for download from the Microsoft Download Center at <a href="http://go.microsoft.com/fwlink/?LinkID=230577">http://go.microsoft.com/fwlink/?LinkID=230577</a>.</p>
<p>Copy the downloaded McxStandAlone.msi package to “C:\ProgramData\Microsoft\Lync Server\Deployment\cache\4.0.7577.0\setup”</p>
<p>Or from either Lync management shell or windows PowerShell type the following</p>
<div class="code"><font color="#000000">Import-Module</font><font color="#808080">&#160;</font><font color="#000000">BitsTransfer</font><font color="#808080"><br />
    <br /></font><font color="#2b91af">$url</font><font color="#0000ff">=</font><font color="#808080">&quot;http://www.microsoft.com/downloads/info.aspx?na=41&amp;srcfamilyid=919f20c9-6111-47f4-96bc-37d487552efe&amp;srcdisplaylang=en&amp;u=http%3a%2f%2fdownload.microsoft.com%2fdownload%2fB%2fE%2f8%2fBE8E5D68-5D26-4B36-9B86-B1DB6DDB27A7%2fMcxStandalone.msi&quot;<br />
    <br /></font><font color="#000000">Start-BitsTransfer</font><font color="#808080">&#160;</font><font color="#2b91af">$Url</font><font color="#808080"> &quot;C:\ProgramData\Microsoft\Lync Server\Deployment\cache\4.0.7577.0\setup\McxStandalone.msi&quot;</font> </div>
<hr style="background-color: #808080; height: 1px" />
<p><a href="http://www.zerohoursleep.com/wp-content/uploads/2012/01/download.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="download" border="0" alt="download" src="http://www.zerohoursleep.com/wp-content/uploads/2012/01/download_thumb.jpg" width="462" height="103" /></a></p>
<p>The above code will download the msi package and save it in the proper location</p>
<p>after downloading the package run the bootstrapper.exe from the lync powershell at the following location</p>
<p>C:\Program Files\Microsoft Lync Server 2010\Deployment\Bootstrapper.exe</p>
<p><a href="http://www.zerohoursleep.com/wp-content/uploads/2012/01/bootstrapp.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="bootstrapp" border="0" alt="bootstrapp" src="http://www.zerohoursleep.com/wp-content/uploads/2012/01/bootstrapp_thumb.jpg" width="465" height="179" /></a></p>
<p>so far we have prepared the environment and installed the mobility and autodiscover service, the next step that is still required is to modify the Lync server certificate to include the new autodiscover SAN entries.</p>
<p><strong>To verify that the Mobility Service has been successfully installed</strong></p>
<p>On the Lync Front-End Server where&#160; you have installed the Mobility Service and Autodiscover Binaries , open Internet Information Services (IIS) Manager, expand the Sites node,&#160; expand the Lync Server External website, and check that the autodisocver virtual directory is created, do the same for the Lync Server Internal Website</p>
<p><a href="http://www.zerohoursleep.com/wp-content/uploads/2012/01/iisex.jpg"><img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="iisex" border="0" alt="iisex" src="http://www.zerohoursleep.com/wp-content/uploads/2012/01/iisex_thumb.jpg" width="244" height="200" /></a><a href="http://www.zerohoursleep.com/wp-content/uploads/2012/01/IISIn.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="IISIn" border="0" alt="IISIn" src="http://www.zerohoursleep.com/wp-content/uploads/2012/01/IISIn_thumb.jpg" width="197" height="244" /></a></p>
<p>also open the application pools and locate the <strong>CSExtMcxAppPool</strong> and <strong>CSIntMcxAppPool</strong> and check that they are started</p>
<p><a href="http://www.zerohoursleep.com/wp-content/uploads/2012/01/apppool.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="apppool" border="0" alt="apppool" src="http://www.zerohoursleep.com/wp-content/uploads/2012/01/apppool_thumb.jpg" width="360" height="295" /></a></p>
<p>4- <strong><font color="#4785c9">Modify Lync Internal Certificate</font></strong></p>
<p>In most of the cases, the Certificate installed on the Lync server would be issued from an internal CA, thus renewing or updating this certificate is simple.</p>
<p>The certificate should be modified to include Lyncdiscover.unibox.me and Lyncdiscoverinternal.unibox.me entries as SAN entries.</p>
<p>in most of the cases a single certificate is installed&#160; and assigned for multiple use, in order to double check this, from the Lync management Shell run:</p>
<div class="csharpcode">
<pre class="alt">Get-CsCertificate</pre>
</div>
<style type="text/css">
<p>.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
<p>Get-Certificate will return all installed certificates with each certificate details. look for the thumbprint and use fields.</p>
<p><a href="http://www.zerohoursleep.com/wp-content/uploads/2012/01/GetCert.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="GetCert" border="0" alt="GetCert" src="http://www.zerohoursleep.com/wp-content/uploads/2012/01/GetCert_thumb.jpg" width="488" height="139" /></a></p>
<p><a href="http://www.zerohoursleep.com/wp-content/uploads/2012/01/GetCert1.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="GetCert1" border="0" alt="GetCert1" src="http://www.zerohoursleep.com/wp-content/uploads/2012/01/GetCert1_thumb.jpg" width="491" height="214" /></a></p>
<p>If the thumbprint Value is the same for all usage that means that a single certificate is assigned for multiple use. which means that we need to only submit one certificate request, to include the autodiscover entries.</p>
<p>From the Command line run following command</p>
<div class="code"><font color="#000000">Request-CsCertificate</font><font color="#808080">&#160;</font><font color="#000000">-New</font><font color="#808080">&#160;</font><font color="#000000">-Type</font><font color="#808080">&#160;</font><font color="#000000">Default,WebServicesInternal,WebServicesExternal</font><font color="#808080">&#160;</font><font color="#000000">-AllSipDomain</font><font color="#808080"> –</font><font color="#000000">CA</font><font color="#808080"> &lt;DC\CANAME&gt; </font><font color="#000000">-Verbose</font> </div>
<hr style="background-color: #808080; height: 1px" />
<p>the above command will generate a new certificate request and install the certificate to the Lync Server computer Store.</p>
<p>“AllSipDomain” parameter is used here since as stated earlier we have only one sip domain is supported. In case multiple sip domain are supported, you have to specify the entries explicitly by using the –”Domainname” parameter for example </p>
<div class="code"><font color="#000000">Request-CsCertificate</font><font color="#808080">&#160;</font><font color="#000000">-New</font><font color="#808080">&#160;</font><font color="#000000">-Type</font><font color="#808080">&#160;</font><font color="#000000">Default,WebServicesInternal,WebServicesExternal</font><font color="#808080">&#160;</font><font color="#000000">-CA</font><font color="#808080">&#160;</font><font color="#000000">&lt;DC\CANAME&gt;</font><font color="#808080">&#160;</font><font color="#000000">-Domainname</font><font color="#808080"> &quot;LyncdiscoverInternal.sipdomain1, LyncdiscoverInternal.sipdomain2,Lyncdiscover.sipdomain1,</font></div>
<div class="code"><font color="#808080">lyncdiscover.sipdomain2&quot; </font><font color="#000000">-Verbose</font> </div>
<p>
  <br />after verifying the the certificate request has been successfully submitted assign the new certificate for multiple use.</p>
<p><a href="http://www.zerohoursleep.com/wp-content/uploads/2012/01/NewCert.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="NewCert" border="0" alt="NewCert" src="http://www.zerohoursleep.com/wp-content/uploads/2012/01/NewCert_thumb.jpg" width="474" height="56" /></a></p>
<p>to assign the new Certificate, run the following command you need to use the new issued Thumbprint </p>
<div class="code"><font color="#000000">Set-CsCertificate</font><font color="#808080">&#160;</font><font color="#000000">-Type</font><font color="#808080">&#160;</font><font color="#000000">Default,WebServicesExternal,WebServicesInternal</font><font color="#808080">&#160;</font><font color="#000000">-</font><font color="#808080">&#160;</font><font color="#000000">Thumbprint</font><font color="#808080"> &quot;1C9340C21CB6C479A704ABD2F64D018F67D5B9AD&quot;</font> </div>
<p>to verify that the new certificate have successfully assigned run Get-CsCertificate Command again and compare the old and new Thumbprint values.</p>
<p>D) <strong>Reverse proxy configuration</strong> <strong>for mobility</strong></p>
<p>The Reverse proxy used in this environment is Microsoft TMG 2010.</p>
<p>at this point the mobility service should be up and running and available for mobile clients connecting from inside the organization network through WIFI.</p>
<p>but In order to support mobile clients connecting from outside the organization network, the new External autodiscover URL should be published on the reverse proxy, the same way that simple URL and Lync web services are already published, there’s no need to add an additional publishing rule, only modify the existing rule and add lyncdiscover.&lt;sipdomain&gt; to the public Names and of course make sure that a Host record for lyncdiscover.&lt;sipdomain&gt; has been configured to point to the external IP address which is already assigned to the Reverse Proxy listener of Lync external web services FQDN. <strong>This is true as long as you modify the Reverse proxy Certificate to include the autodiscover URL as SAN, since as we know the simple URL and web components are published through HTTPS protocol.</strong></p>
<p>What if your implementation supports multiple SIP domains! that means you should get a public certificate which include multiple autodisover URLs, which is not a cost effective solution. Fortunately the autodisover can be published through HTTP instead of Https <img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://www.zerohoursleep.com/wp-content/uploads/2012/01/wlEmoticon-smile.png" />, this is a good solution since we are only publishing the autodiscover Service and access everything else will remain using HTTPS.</p>
<p>In order to publish the autodiscover service using HTTP, we need to create and configure a new website publishing rule on the TMG Server.</p>
<p>Give the Publishing rule a meaningful name</p>
<p><a href="http://www.zerohoursleep.com/wp-content/uploads/2012/01/rev1.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="rev1" border="0" alt="rev1" src="http://www.zerohoursleep.com/wp-content/uploads/2012/01/rev1_thumb.jpg" width="297" height="289" /></a>&#160;</p>
<p>On the <strong>Select Rule Action</strong> page, select<strong> Allow</strong>.</p>
<p><a href="http://www.zerohoursleep.com/wp-content/uploads/2012/01/rev2.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="rev2" border="0" alt="rev2" src="http://www.zerohoursleep.com/wp-content/uploads/2012/01/rev2_thumb.jpg" width="356" height="180" /></a></p>
<p>On the <strong>Publishing Type</strong> page, select<strong> Publish a single Web site or load balancer</strong>.</p>
<p><a href="http://www.zerohoursleep.com/wp-content/uploads/2012/01/rev3.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="rev3" border="0" alt="rev3" src="http://www.zerohoursleep.com/wp-content/uploads/2012/01/rev3_thumb.jpg" width="380" height="153" /></a></p>
<p>On the<strong> Server Connection Security</strong> page, select Use <strong>non-secured connections to connect to the published Web server or server farm</strong>.</p>
<p><a href="http://www.zerohoursleep.com/wp-content/uploads/2012/01/rev4.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="rev4" border="0" alt="rev4" src="http://www.zerohoursleep.com/wp-content/uploads/2012/01/rev4_thumb.jpg" width="381" height="219" /></a></p>
<p>On the <strong>Internal Publishing Details </strong>page, in <strong>Internal Site name</strong>, type the internal Web Services FQDN for your Front End pool, in our case it is <strong>csweb.unibox.me</strong></p>
<p><a href="http://www.zerohoursleep.com/wp-content/uploads/2012/01/rev5.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="rev5" border="0" alt="rev5" src="http://www.zerohoursleep.com/wp-content/uploads/2012/01/rev5_thumb.jpg" width="382" height="171" /></a></p>
<p>On the <strong>Internal Publishing Details </strong>page, in <strong>Path (optional)</strong> type /* as the path of the folder to be published, and then <strong>select Forward the original host header instead of the one specified in the Internal site name field</strong>.</p>
<p><a href="http://www.zerohoursleep.com/wp-content/uploads/2012/01/rev6.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="rev6" border="0" alt="rev6" src="http://www.zerohoursleep.com/wp-content/uploads/2012/01/rev6_thumb.jpg" width="382" height="220" /></a></p>
<p>On the <strong>Public Name Details</strong> page, do the following:</p>
<ul>
<li>Under <strong>Accept Requests</strong> <strong>for</strong>, select <strong>This domain name</strong>. </li>
<li>In <strong>Public Nam</strong>e, type <strong>lyncdiscover.unibox.me</strong> (the external Autodiscover Service URL). </li>
<li>In <strong>Path</strong>, type /*. </li>
</ul>
<p><a href="http://www.zerohoursleep.com/wp-content/uploads/2012/01/rev7.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="rev7" border="0" alt="rev7" src="http://www.zerohoursleep.com/wp-content/uploads/2012/01/rev7_thumb.jpg" width="381" height="258" /></a></p>
<p>On <strong>Select Web Listener</strong> page, in <strong>Web Listener</strong>, use the <strong>New Web Listener Definition Wizard</strong> to create a new one.</p>
<p><a href="http://www.zerohoursleep.com/wp-content/uploads/2012/01/rev8.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="rev8" border="0" alt="rev8" src="http://www.zerohoursleep.com/wp-content/uploads/2012/01/rev8_thumb.jpg" width="382" height="220" /></a></p>
<p>in the <strong>New Web listener definition wizard</strong>,in the <strong>Client Security</strong> page select <strong>Do not requires SSL Connections with clients.</strong></p>
<p><a href="http://www.zerohoursleep.com/wp-content/uploads/2012/01/rev9.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="rev9" border="0" alt="rev9" src="http://www.zerohoursleep.com/wp-content/uploads/2012/01/rev9_thumb.jpg" width="380" height="220" /></a></p>
<p>in the <strong>New Web listener definition wizard</strong>,in the <strong>Web Listener IP addresses </strong>page select <strong>External Network,</strong> as the network to listen for incoming web requests.</p>
<p><a href="http://www.zerohoursleep.com/wp-content/uploads/2012/01/rev10.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="rev10" border="0" alt="rev10" src="http://www.zerohoursleep.com/wp-content/uploads/2012/01/rev10_thumb.jpg" width="390" height="234" /></a></p>
<p>if there are multiple IP addresses configured on the External Network of the reverse proxy select the appropriate IP address to which &lt;lyncdiscover.sipdomain&gt; is configured in the public DNS. ( we will create the public DNS later )</p>
<p>in the authentication settings, select no authentication </p>
<p><a href="http://www.zerohoursleep.com/wp-content/uploads/2012/01/rev11.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="rev11" border="0" alt="rev11" src="http://www.zerohoursleep.com/wp-content/uploads/2012/01/rev11_thumb.jpg" width="388" height="122" /></a></p>
<p>finish the wizard and select the new web listener as the listener of the new web publishing rule</p>
<p><a href="http://www.zerohoursleep.com/wp-content/uploads/2012/01/rev12.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="rev12" border="0" alt="rev12" src="http://www.zerohoursleep.com/wp-content/uploads/2012/01/rev12_thumb.jpg" width="387" height="213" /></a></p>
<p>On the <strong>Authentication Delegation</strong> page, select<strong> No delegation</strong>, <strong>and client cannot authenticate directly</strong></p>
<p><a href="http://www.zerohoursleep.com/wp-content/uploads/2012/01/rev13.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="rev13" border="0" alt="rev13" src="http://www.zerohoursleep.com/wp-content/uploads/2012/01/rev13_thumb.jpg" width="385" height="171" /></a></p>
<p>On the <strong>User Set</strong> page, select <strong>All Users</strong>. </p>
<p><a href="http://www.zerohoursleep.com/wp-content/uploads/2012/01/rev14.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="rev14" border="0" alt="rev14" src="http://www.zerohoursleep.com/wp-content/uploads/2012/01/rev14_thumb.jpg" width="385" height="174" /></a></p>
<p>On the <strong>Completing the New Web Publishing Rule Wizard</strong> page, verify that the web publishing rule settings are correct, and then click <strong>Finish</strong>.</p>
<p>In the Forefront TMG list of web publishing rules, double-click the new rule you just added to open <strong>Properties</strong>.</p>
<p>On the <strong>Bridging</strong> tab, configure the following:</p>
<ul>
<li>Select <strong>Web serve</strong>r. </li>
<li>Select <strong>Redirect requests to HTTP port</strong>, and type <strong>8080</strong> for the port number. </li>
<li>Verify that Redirect <strong>requests to SSL port</strong> is not selected. </li>
</ul>
<p><a href="http://www.zerohoursleep.com/wp-content/uploads/2012/01/rev15.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="rev15" border="0" alt="rev15" src="http://www.zerohoursleep.com/wp-content/uploads/2012/01/rev15_thumb.jpg" width="387" height="248" /></a></p>
<p>Click <strong>OK</strong></p>
<p>Click <strong>Apply</strong> in the details pane to save the changes and update the configuration.</p>
<p>Click <strong>Test Rule</strong> to verify that your new rule is set up correctly</p>
<p>Verify that the external Autodiscover Service URL is not defined on any other web publishing rule.</p>
<p>E)<strong> Verify Mobility Service Deployment</strong> </p>
<p>1- <font color="#4785c9"><strong>verify autodiscover External URL publishing </strong></font></p>
<p>to verify that the autodiscover service has been successfully published, from a computer that is connected via an external internet connection open <a href="http://lyncautodisocver.&lt;sipdomain">http://lyncautodisocver.&lt;sipdomain</a>&gt; in our case <a href="http://lyncdisocver.unibox.me">http://lyncdisocver.unibox.me</a> </p>
<p><a href="http://www.zerohoursleep.com/wp-content/uploads/2012/01/down.jpg"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="down" border="0" alt="down" src="http://www.zerohoursleep.com/wp-content/uploads/2012/01/down_thumb.jpg" width="545" height="39" /></a></p>
<p>you should receive a file download request, open the file in notepad, this file contains the redirection information to the Lync web Services external website, note that this is the only information sent clear text, since the mobile client will establish a secure connection later with the Lync Server web components</p>
<p>{&quot;Root&quot;:{&quot;Links&quot;:[{&quot;href&quot;:&quot;https:\\/webservices.unibox.me\/Autodiscover\/AutoDiscoverService.svc\/root?sipuri=&quot;,&quot;token&quot;:&quot;Redirect&quot;}]}}</p>
<p>2- To test person-to-person instant messaging using <strong>test-CsMcxP2PIM</strong></p>
<p>After you deploy the Microsoft Lync Server 2010 Mobility Service and Microsoft Lync Server 2010 Autodiscover Service, run a test transaction to verify that your deployment works correctly. You can run Test-CsMcxP2PIM to test sending an instant message between two users. To use this test transaction, you need two actual or test users and their full credentials.</p>
<p>from the Lync management shell run the following command </p>
<div class="code"><font color="#2b91af">$usr1</font><font color="#808080">&#160;</font><font color="#0000ff">=</font><font color="#808080">&#160;</font><font color="#0000ff">Get-Credential</font> </div>
<p>supply the username and password for the first user </p>
<p><a href="http://www.zerohoursleep.com/wp-content/uploads/2012/01/usr1.jpg"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="usr1" border="0" alt="usr1" src="http://www.zerohoursleep.com/wp-content/uploads/2012/01/usr1_thumb.jpg" width="379" height="187" /></a></p>
<p>then run </p>
<div class="code"><font color="#2b91af">$usr2</font><font color="#808080">&#160;</font><font color="#0000ff">=</font><font color="#808080">&#160;</font><font color="#0000ff">Get-Credential</font> </div>
<p>supply the username and password for the second user</p>
<p><a href="http://www.zerohoursleep.com/wp-content/uploads/2012/01/usr2.jpg"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="usr2" border="0" alt="usr2" src="http://www.zerohoursleep.com/wp-content/uploads/2012/01/usr2_thumb.jpg" width="388" height="193" /></a></p>
<p>then run the following command</p>
<div class="code"><font color="#000000">Test-CsMcxP2PIM</font><font color="#808080">&#160;</font><font color="#000000">-TargetFQDN</font><font color="#808080">&#160;</font><font color="#000000">Ucpool01.unibox.me</font><font color="#808080">&#160;</font><font color="#000000">-SenderSipAddress</font><font color="#808080">&#160;</font><font color="#000000">komo@unibox.me</font><font color="#808080">&#160;</font><font color="#000000">-SenderCredential</font><font color="#808080">&#160;</font><font color="#2b91af">$usr1</font><font color="#808080">&#160;</font><font color="#000000">-ReceiverSipAddress</font><font color="#808080">&#160;</font><font color="#000000">sip:hhourany@unibox.me</font><font color="#808080">&#160;</font><font color="#000000">-ReceiverCredential</font><font color="#808080">&#160;</font><font color="#2b91af">$usr2</font> </div>
<hr style="background-color: #808080; height: 1px" />
<p>the receiver should receive an instant message from the sender in addition you can verify the successful web ticket creation from the shell by examining the cmdlet output</p>
<p><a href="http://www.zerohoursleep.com/wp-content/uploads/2012/01/p2pim.jpg"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="p2pim" border="0" alt="p2pim" src="http://www.zerohoursleep.com/wp-content/uploads/2012/01/p2pim_thumb.jpg" width="493" height="128" /></a></p>
<p>F)<strong> Configure Mobility Policy</strong> </p>
<p>Cumulative update for Lync Server 2010: November 2011 introduces a new mobility policy that determines who can use mobility features and who can use the Call via Work feature. Call via Work allows a mobile user to make and receive calls on a mobile phone by using a work phone number instead of the mobile phone number. This feature prevents the called party from seeing the caller's mobile phone number and allows a user to avoid outbound calling charges.</p>
<p>By default, after deploying the mobility service both mobility and Call via Work features are enabled, in order to check the mobility policy</p>
<p>Get-CsMobilityPolicy</p>
<p><a href="http://www.zerohoursleep.com/wp-content/uploads/2012/01/Policy.jpg"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Policy" border="0" alt="Policy" src="http://www.zerohoursleep.com/wp-content/uploads/2012/01/Policy_thumb.jpg" width="392" height="128" /></a></p>
<p><font color="#000000">if desired you can change the policy settings by running the set-MobilityPolicy Command for example the below command set a description for the global mobility policy</font></p>
<p><font color="#000000">Get-CsMobilityPolicy</font>&#160; | Set-MobilityPolicy –Description ‘Default Mobility Policy’</p>
<p>The mobility policy give administrators controls over mobile users, it is quite important to use this policy carefully</p>
<p>Test the Client</p>
<p>now testing from a Lync mobile client for iphone, using only the sign-in name and password </p>
<p><a href="http://www.zerohoursleep.com/wp-content/uploads/2012/01/photo-11.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="photo 1" border="0" alt="photo 1" src="http://www.zerohoursleep.com/wp-content/uploads/2012/01/photo-1_thumb1.png" width="170" height="244" /></a><a href="http://www.zerohoursleep.com/wp-content/uploads/2012/01/photo-21.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="photo 2" border="0" alt="photo 2" src="http://www.zerohoursleep.com/wp-content/uploads/2012/01/photo-2_thumb1.png" width="170" height="244" /></a><a href="http://www.zerohoursleep.com/wp-content/uploads/2012/01/photo-31.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="photo 3" border="0" alt="photo 3" src="http://www.zerohoursleep.com/wp-content/uploads/2012/01/photo-3_thumb1.png" width="170" height="244" /></a><a href="http://www.zerohoursleep.com/wp-content/uploads/2012/01/photo-41.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="photo 4" border="0" alt="photo 4" src="http://www.zerohoursleep.com/wp-content/uploads/2012/01/photo-4_thumb1.png" width="171" height="244" /></a></p>
<p>hope that you enjoy mobile Lyncing! </p>
]]></content:encoded>
			<wfw:commentRss>http://www.zerohoursleep.com/2012/01/step-by-step-deploy-lync-2010-mobility-service/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Microsoft Lync 2010 Mobility Guide</title>
		<link>http://www.zerohoursleep.com/2011/12/microsoft-lync-2010-mobility-guide/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=microsoft-lync-2010-mobility-guide</link>
		<comments>http://www.zerohoursleep.com/2011/12/microsoft-lync-2010-mobility-guide/#comments</comments>
		<pubDate>Sat, 10 Dec 2011 16:20:13 +0000</pubDate>
		<dc:creator>Charbel Hanna</dc:creator>
				<category><![CDATA[Messaging & Collaboration]]></category>
		<category><![CDATA[Lync 2010]]></category>
		<category><![CDATA[Lync 2010 Mobility]]></category>

		<guid isPermaLink="false">http://www.zerohoursleep.com/2011/12/microsoft-lync-2010-mobility-guide/</guid>
		<description><![CDATA[&#160; This document guides you through the process of deploying the Microsoft Lync Server 2010 Mobility Service and the Microsoft Lync Server 2010 Autodiscover Service. When you deploy the Mobility Service, users can use supported iOS, Android, Windows Phone, or Nokia mobile devices to perform such activities as sending and receiving instant messages, viewing contacts, [...]]]></description>
			<content:encoded><![CDATA[<p>&#160;</p>
<p>This document guides you through the process of deploying the Microsoft Lync Server 2010 Mobility Service and the Microsoft Lync Server 2010 Autodiscover Service. When you deploy the Mobility Service, users can use supported iOS, Android, Windows Phone, or Nokia mobile devices to perform such activities as sending and receiving instant messages, viewing contacts, viewing presence. The Mobility Service also enables mobile devices to use some Enterprise Voice features, such as click to join a conference, Call via Work, single number reach, voice mail, and missed calls. </p>
<p>When you use the Microsoft Lync Server 2010 Autodiscover Service along with the Mobility Service, mobile devices can automatically locate the URLs for Lync Server Web Services and the new Mobility Service regardless of network location. </p>
<p>The Mobility Guide is available for download <a href="http://www.microsoft.com/download/en/details.aspx?id=28355" target="_blank">here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.zerohoursleep.com/2011/12/microsoft-lync-2010-mobility-guide/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Boost your Lync Server 2010 with the new Mobility Service and Autodiscover Service</title>
		<link>http://www.zerohoursleep.com/2011/12/boost-your-lync-server-2010-with-the-new-mobility-service-and-autodiscover-service/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=boost-your-lync-server-2010-with-the-new-mobility-service-and-autodiscover-service</link>
		<comments>http://www.zerohoursleep.com/2011/12/boost-your-lync-server-2010-with-the-new-mobility-service-and-autodiscover-service/#comments</comments>
		<pubDate>Sat, 10 Dec 2011 16:17:49 +0000</pubDate>
		<dc:creator>Charbel Hanna</dc:creator>
				<category><![CDATA[Messaging & Collaboration]]></category>
		<category><![CDATA[Lync 2010]]></category>
		<category><![CDATA[Lync 2010 Mobility]]></category>

		<guid isPermaLink="false">http://www.zerohoursleep.com/2011/12/boost-your-lync-server-2010-with-the-new-mobility-service-and-autodiscover-service/</guid>
		<description><![CDATA[When you deploy the Microsoft Lync Server 2010 Mobility Service, users can use supported iPhone, iPad, Android, Windows Phone, or Nokia mobile devices to perform such activities as sending and receiving instant messages, viewing contacts, and viewing presence. In addition, mobile devices support some Enterprise Voice features, such as click to join a conference, Call [...]]]></description>
			<content:encoded><![CDATA[<p>When you deploy the Microsoft Lync Server 2010 Mobility Service, users can use supported iPhone, iPad, Android, Windows Phone, or Nokia mobile devices to perform such activities as sending and receiving instant messages, viewing contacts, and viewing presence. In addition, mobile devices support some Enterprise Voice features, such as click to join a conference, Call via Work, single number reach, voice mail, and missed calls. By using Call via Work, users can maintain their work identity during a call, which means that the call recipient does not see the caller's mobile number, and the caller avoids incurring outbound calling charges. With single number reach, a user receives calls on a mobile phone that were dialed to their work number.</p>
<p>&#160; <br />When you use the Microsoft Lync Server 2010 Autodiscover Service along with the Mobility Service, mobile devices can automatically locate the URLs for Lync Server Web Services and the new Mobility Service regardless of network location. It supports client connections using either HTTP or HTTPS. </p>
<p>The Mobility Service Bits are available for download <a href="http://www.microsoft.com/download/en/details.aspx?id=28356" target="_blank">here</a></p>
<p>Lync server 2010 Cumulative updates 4 November 2011 <a href="http://www.zerohoursleep.com/2011/11/lync-2010-server-cumulative-update-package-cu4-november-2011/" target="_blank">CU4</a>&#160; is a requirement prior deploying the Mobility Service.</p>
<p>Supported Mobile Clients should be released soon, the expected release date is 12-12-2011</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zerohoursleep.com/2011/12/boost-your-lync-server-2010-with-the-new-mobility-service-and-autodiscover-service/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exchange 2010 Hosting Mode dead! Long live Exchange 2010 SP2</title>
		<link>http://www.zerohoursleep.com/2011/12/exchange-2010-hosting-mode-dead-long-live-exchange-2010-sp2/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=exchange-2010-hosting-mode-dead-long-live-exchange-2010-sp2</link>
		<comments>http://www.zerohoursleep.com/2011/12/exchange-2010-hosting-mode-dead-long-live-exchange-2010-sp2/#comments</comments>
		<pubDate>Mon, 05 Dec 2011 12:46:18 +0000</pubDate>
		<dc:creator>Charbel Hanna</dc:creator>
				<category><![CDATA[Messaging & Collaboration]]></category>
		<category><![CDATA[exchange 2010]]></category>
		<category><![CDATA[exchange multi-tenant Exchange server]]></category>
		<category><![CDATA[updates]]></category>

		<guid isPermaLink="false">http://www.zerohoursleep.com/2011/12/exchange-2010-hosting-mode-dead-long-live-exchange-2010-sp2/</guid>
		<description><![CDATA[&#160; Finally the service pack 2 for exchange 2010 has been released to the public you can find it here with this release the exchange multi-talent mode has been eliminated, this&#160; suppose to be a hit in the messaging and collaboration environment.]]></description>
			<content:encoded><![CDATA[<p>&#160;</p>
<p>Finally the service pack 2 for exchange 2010 has been released to the public you can find it <a href="http://www.microsoft.com/download/en/details.aspx?id=28190" target="_blank">here</a></p>
<p>with this release the exchange multi-talent mode has been eliminated, this&#160; suppose to be a hit in the messaging and collaboration environment.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zerohoursleep.com/2011/12/exchange-2010-hosting-mode-dead-long-live-exchange-2010-sp2/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Lync Server 2010 Cumulative update package CU4 November 2011</title>
		<link>http://www.zerohoursleep.com/2011/11/lync-2010-server-cumulative-update-package-cu4-november-2011/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=lync-2010-server-cumulative-update-package-cu4-november-2011</link>
		<comments>http://www.zerohoursleep.com/2011/11/lync-2010-server-cumulative-update-package-cu4-november-2011/#comments</comments>
		<pubDate>Sun, 20 Nov 2011 23:11:33 +0000</pubDate>
		<dc:creator>Charbel Hanna</dc:creator>
				<category><![CDATA[Messaging & Collaboration]]></category>
		<category><![CDATA[CU]]></category>
		<category><![CDATA[cumulitave updates]]></category>
		<category><![CDATA[Lync 2010]]></category>
		<category><![CDATA[updates]]></category>

		<guid isPermaLink="false">http://www.zerohoursleep.com/2011/11/lync-2010-server-cumulative-update-package-cu4-november-2011/</guid>
		<description><![CDATA[Microsoft has released the Cumulative Update package Number 4 for Lync 2010, this update introduce in addition to multiple host fixes to some reported issues, six new cmd-lets, actually they are Four since two of them was included in CU3 but without any help files. these Cmd-lets works with the upcoming Lync mobility services, which [...]]]></description>
			<content:encoded><![CDATA[<p>Microsoft has released the Cumulative Update package Number 4 for Lync 2010, this update introduce in addition to multiple host fixes to some reported issues, six new cmd-lets, actually they are Four since two of them was included in CU3 but without any help files.</p>
<p>these Cmd-lets works with the upcoming Lync mobility services, which we don’t have the full details released yet.</p>
<p>here’s a brief description about the new cmd-lets&#160; thanks to <a href="http://lyncdup.com/" target="_blank">Tom Arbuthnot</a> </p>
<ol>
<li><strong>CsAutodiscoverConfiguration        </p>
<p></strong>Modifies an existing collection of Autodiscover configuration settings. The Autodiscover service provides a way for client applications such as Lync Web Access or Microsoft Lync Mobile to locate key resources such as a user’s home pool or the URL for joining a dial-in conference.       </p>
</li>
<li><strong>New-CsWebLink
<p></strong>Creates a new web link that points to the Autodiscover service. The Autodiscover service provides a way for client applications such as Lync Web Access or Microsoft Lync Mobile to locate key resources such as a user’s home pool or the URL for joining a dial-in conference.       </p>
</li>
<li><strong>Test-CsMcxPushNotification
<p></strong>Verifies that the push notification service is working. The push notification service (Apple Push Notification Service and Microsoft Lync Server 2010 Push Notification Service) provides a way to send notifications about event s such as new instant messages or new voice mail to mobile devices like iPhones and Windows Phones, even if the Microsoft Lync 2010 application on those devices is currently suspended or running in the background.       </p>
</li>
<li><strong>CsMobilityPolicy
<p></strong>Modifies an existing mobility policy. Mobility policies determine whether o r not a user can use Microsoft Lync 2010 Mobile. These policies also manage a user’s ability to employ Call via Work, a feature that enables users to make and receive phone calls on their mobile phone by using their work phone number instead of their mobile phone number.       </p>
</li>
<li><strong>CsMcxConfiguration
<p></strong>Modifies an existing collection of Microsoft Lync Server 2010 Mobility Service configuration settings. The Mobility Service enables users of mobile phones such as iPhones and Windows Phones to do such things as exchange instant messages and presence information; store and retrieve voice mail internally instead of with their wireless provider; and take advantage of Microsoft Lync Server 2010 capabilities such as Call via Work and dial-out conferencing.       </p>
</li>
<li><strong>CsPushNotificationConfiguration
<p></strong>Modifies an existing collection of push notification configuration settings . The push notification service (Apple Push Notification Service and Micros oft Lync Server 2010 Push Notification Service) provides a way to send notifications about events such as new instant messages or new voice mail to mobile devices such as iPhones and Windows Phones, even if the Microsoft Lync 2010 application on those devices is currently suspended or running in the background. </li>
</ol>
<p><span id="more-1428"></span>
<p>it is recommended to use the <a href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=796480cd-daf4-4463-b418-7391cc46a5e1">Cumulative Update installer</a> to install the update package automatically or use the below links for a manual installation.</p>
<p>note that&#160; a server restart is required after applying this update specifically when updating the mediation server.</p>
<p><strong>Server-side updates</strong></p>
<ul>
<li>Lync 2010 Server – KB<a href="http://support.microsoft.com/kb/2514980">2514980</a> – <a href="http://go.microsoft.com/fwlink/?LinkId=208564">download</a> </li>
<li>Lync 2010 Mediation Server – KB<a href="http://support.microsoft.com/kb/2640253">2640253</a> - <a href="http://go.microsoft.com/fwlink/?LinkId=208564">download</a> </li>
<li>Lync 2010 Policy Decision Point – KB<a href="http://support.microsoft.com/kb/2502809">2502809</a> - <a href="http://www.microsoft.com/download/en/details.aspx?id=11551">download</a> </li>
<li>Lync 2010 Administrative Tools – KB<a href="http://support.microsoft.com/kb/2467771">2467771</a> - <a href="http://go.microsoft.com/fwlink/?LinkId=208564">download</a> </li>
<li>Lync 2010 Core Components – KB<a href="http://support.microsoft.com/kb/2514981">2514981</a> - <a href="http://go.microsoft.com/fwlink/?LinkId=208564">download</a> </li>
<li>Lync 2010 Conferencing Attendant – KB<a href="http://support.microsoft.com/kb/2575872">2575872</a> - <a href="http://go.microsoft.com/fwlink/?LinkId=208564">download</a> </li>
<li>Lync 2010 Conferencing Server – KB<a href="http://support.microsoft.com/kb/2514978">2514978</a> - <a href="http://go.microsoft.com/fwlink/?LinkId=208564">download</a> </li>
<li>Lync 2010 Web Components Server – KB<a href="http://support.microsoft.com/kb/2514979">2514979</a> – <a href="http://go.microsoft.com/fwlink/?LinkId=208564">download</a> </li>
<li>Lync 2010 Group Chat Server – KB<a href="http://support.microsoft.com/?kbid=2514984">2514984</a> - <a href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=e0d4b35a-81ca-4f6e-93f5-3aaf482c1399">download</a> </li>
</ul>
<p><strong>Client-side updates</strong></p>
<ul>
<li>Lync 2010 (Communicator) – KB<a href="http://support.microsoft.com/?kbid=2514982">2514982</a> – download (<a href="http://go.microsoft.com/fwlink/?LinkId=208565">x86</a> / <a href="http://go.microsoft.com/fwlink/?LinkId=208566">x64</a>) </li>
<li>Lync 2010 Group Chat Client – KB<a href="http://support.microsoft.com/?kbid=2636065">2636065</a> – <a href="http://go.microsoft.com/fwlink/?LinkId=208568">download</a> </li>
<li>Lync 2010 Group Chat Administration Tool – KB<a href="http://support.microsoft.com/?kbid=2636063">2636063</a> – <a href="http://go.microsoft.com/fwlink/?LinkId=208569">download</a> </li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.zerohoursleep.com/2011/11/lync-2010-server-cumulative-update-package-cu4-november-2011/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bulk Mailbox creating mailboxes in Exchange 2010 multi-tenant</title>
		<link>http://www.zerohoursleep.com/2011/10/bulk-mailbox-creating-mailboxes-in-exchange-2010-multi-tenant/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=bulk-mailbox-creating-mailboxes-in-exchange-2010-multi-tenant</link>
		<comments>http://www.zerohoursleep.com/2011/10/bulk-mailbox-creating-mailboxes-in-exchange-2010-multi-tenant/#comments</comments>
		<pubDate>Thu, 20 Oct 2011 10:00:54 +0000</pubDate>
		<dc:creator>Antoine Khater</dc:creator>
				<category><![CDATA[Messaging & Collaboration]]></category>
		<category><![CDATA[exchange 2010]]></category>
		<category><![CDATA[exchange multi-tenant]]></category>
		<category><![CDATA[Exchange Server]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[tutorials]]></category>

		<guid isPermaLink="false">http://www.zerohoursleep.com/?p=1418</guid>
		<description><![CDATA[I recently received this email in my inbox so I thought it would be a good idea to dedicate a post answering this question. Hi Antoine, First of all, I'd like to thank you for you blog, I used your guide to set up an Exchange 2010 multi tenant set up and it worked like [...]]]></description>
			<content:encoded><![CDATA[<p>I recently received this email in my inbox so I thought it would be a good idea to dedicate a post answering this question.</p>
<blockquote><p>Hi Antoine,</p>
<p>First of all, I'd like to thank you for you blog, I used your guide to set up an Exchange 2010 multi tenant set up and it worked like a dream! Very clear instructions, just what I needed to guide us through the potential minefield!</p>
<p>Do you have any blog posts or examples on how to bulk create mailbox in a multi tenant environment, I'd like to a take a spreadsheet with users name, e-mail address etc. and create multiple mailboxes using a powershell script. I'm a GUI man at heart and I find powershell tricky at the best of times. I saw your blog on how to import PST files which I also think will be very useful.</p>
<p>Any help you can offer would be greatly appreciated.</p></blockquote>
<p>Before getting started, and if you are new to Exchange 2010 multi-tenant mode I suggest you check the list of tutorials I wrote : <a href="http://www.zerohoursleep.com/tag/exchange-multi-tenant/" target="_blank">Exchange 2010 hosting for hosters</a>.</p>
<h2>Lab Setup</h2>
<p>For this tutorial I am using a single exchange server in hosting mode running all the roles, but the number of exchange servers you have in your setup will not change anything. </p>
<p>I have also created 2 test organizations for this tutorial <strong>TestOrg1</strong> and <strong>TestOrg2</strong>.</p>
<h2>A look to the CSV file</h2>
<p><span id="more-1418"></span><br />
We need to build a comma separated value file containing all the info about the mailboxes to be created. Here is what my CSV file looks like</p>
<pre>
First,Last,Organization,Alias,UPN,Password
John,Doe,TestOrg1,jdoe,jdoe@testorg1.com,P@ssw0rd1
Jane,Mcneel,TestOrg1,jmcneel,jmcneel@testorg1.com,P@ssw0rd2
Mark,Seamons,TestOrg2,mseamons,mseamons@testorg2.com,P@ssw0rd3
Tiffany,Michelle,TestOrg2,tmichelle,tmichelle@testorg2.com,P@ssw0rd4
</pre>
<p>As you can see I tried to keep it as minimal as possible you can, of course, add as much information as you need.</p>
<h2>Bulk Importing</h2>
<p>It is now time to use the above created CSV file and populate your organization. Here is the powershell script to run</p>

<div class="wp_syntax"><div class="code"><pre class="powershell" style="font-family:monospace;"><span style="color: #008080; font-weight: bold;">Import-Csv</span> C:\List.csv <span style="color: pink;">|</span> <span style="color: pink;">%</span> <span style="color: #000000;">&#123;</span>
  <span style="color: #800080;">$name</span> <span style="color: pink;">=</span> <span style="color: #000080;">$_</span>.first <span style="color: pink;">+</span> <span style="color: #800000;">&quot; &quot;</span> <span style="color: pink;">+</span> <span style="color: #000080;">$_</span>.last; 
  New<span style="color: pink;">-</span>Mailbox <span style="color: #008080; font-style: italic;">-Name</span> <span style="color: #800080;">$name</span> <span style="color: pink;">-</span>Alias <span style="color: #000080;">$_</span>.Alias <span style="color: pink;">-</span>Organization <span style="color: #000080;">$_</span>.organization <span style="color: pink;">-</span>FirstName <span style="color: #000080;">$_</span>.first <span style="color: pink;">-</span>LastName <span style="color: #000080;">$_</span>.last <span style="color: pink;">-</span>UserPrincipalName <span style="color: #000080;">$_</span>.upn <span style="color: pink;">-</span>password <span style="color: #000000;">&#40;</span><span style="color: #008080; font-weight: bold;">ConvertTo-SecureString</span> <span style="color: #000080;">$_</span>.password <span style="color: #008080; font-style: italic;">-AsPlainText</span> <span style="color: #008080; font-style: italic;">-Force</span><span style="color: #000000;">&#41;</span>
<span style="color: #000000;">&#125;</span></pre></div></div>

<p>Well that's all about it, hope this will be helpful in your deployments</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zerohoursleep.com/2011/10/bulk-mailbox-creating-mailboxes-in-exchange-2010-multi-tenant/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Quick Tip: Fix “Enable Web-based distribution” greyed out in offline address book</title>
		<link>http://www.zerohoursleep.com/2011/09/quick-tip-fix-enable-web-based-distribution-greyed-out-in-offline-address-book/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=quick-tip-fix-enable-web-based-distribution-greyed-out-in-offline-address-book</link>
		<comments>http://www.zerohoursleep.com/2011/09/quick-tip-fix-enable-web-based-distribution-greyed-out-in-offline-address-book/#comments</comments>
		<pubDate>Tue, 13 Sep 2011 10:09:23 +0000</pubDate>
		<dc:creator>Antoine Khater</dc:creator>
				<category><![CDATA[Messaging & Collaboration]]></category>
		<category><![CDATA[exchange 2003]]></category>
		<category><![CDATA[exchange 2007]]></category>
		<category><![CDATA[exchange 2010]]></category>
		<category><![CDATA[Exchange Server]]></category>
		<category><![CDATA[QuickTip]]></category>
		<category><![CDATA[troubleshooting]]></category>

		<guid isPermaLink="false">http://www.zerohoursleep.com/?p=1412</guid>
		<description><![CDATA[After upgrading from Microsoft Exchange 2003 to Exchange 2007 or 2010 you might notice that the "Enable Web-based distribution" option is greyed out. The first thing to check is if you have moved the Offline Address Book generation to an Exchange 2007/2010 server. However if you have already done this and the option is still [...]]]></description>
			<content:encoded><![CDATA[<p>After upgrading from Microsoft Exchange 2003 to Exchange 2007 or 2010 you might notice that the "Enable Web-based distribution" option is greyed out. The first thing to check is if you have moved the Offline Address Book generation to an Exchange 2007/2010 server. </p>
<p><img src="https://lh4.googleusercontent.com/-edSvbFCwsJg/Tm8q3ywBLVI/AAAAAAAAAos/3_TFjCHcncU/s800/OABGrey.PNG" alt="" /></p>
<p>However if you have already done this and the option is still disabled it can easily fixed by running ApplyMandatoryProperties on it. This can be done by running the below powershell command</p>

<div class="wp_syntax"><div class="code"><pre class="powershell" style="font-family:monospace;">Get<span style="color: pink;">-</span>OfflineAddressBook <span style="color: pink;">|</span> Set<span style="color: pink;">-</span>OfflineAddressBook <span style="color: pink;">-</span>ApplyMandatoryProperties</pre></div></div>

<p><a href="https://picasaweb.google.com/lh/photo/xPEOIYpbfRK6ZR_ErUm5RIAEWy_dsejiBJ7ZjEi5KyY?feat=embedwebsite"><img src="https://lh4.googleusercontent.com/-tk1NAyxp1yE/Tm8qphoSnPI/AAAAAAAAAoo/f_J-HlVmV-8/s400/OABGrey1.PNG" height="28" width="400" /></a></p>
<p>Et voila! you can now "Enable Web-based distribution" </p>
]]></content:encoded>
			<wfw:commentRss>http://www.zerohoursleep.com/2011/09/quick-tip-fix-enable-web-based-distribution-greyed-out-in-offline-address-book/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enable end users to manage group membership of distribution groups in Exchange 2010</title>
		<link>http://www.zerohoursleep.com/2011/09/enable-end-users-to-manage-group-membership-of-distribution-groups-in-exchange-2010/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=enable-end-users-to-manage-group-membership-of-distribution-groups-in-exchange-2010</link>
		<comments>http://www.zerohoursleep.com/2011/09/enable-end-users-to-manage-group-membership-of-distribution-groups-in-exchange-2010/#comments</comments>
		<pubDate>Thu, 08 Sep 2011 13:16:08 +0000</pubDate>
		<dc:creator>Antoine Khater</dc:creator>
				<category><![CDATA[Messaging & Collaboration]]></category>
		<category><![CDATA[exchange 2010]]></category>
		<category><![CDATA[Exchange Server]]></category>
		<category><![CDATA[tutorials]]></category>

		<guid isPermaLink="false">http://www.zerohoursleep.com/?p=1396</guid>
		<description><![CDATA[I am often asked how to allow end users, or regular users with no administrative privileges, to change group membership of specific distribution groups in Exchange 2010. This is what I will cover today in this short tutorial. In this post I will show you how to allow to userA to manage group membership of [...]]]></description>
			<content:encoded><![CDATA[<p>I am often asked how to allow end users, or regular users with no administrative privileges, to change group membership of specific distribution groups in Exchange 2010. This is what I will cover today in this short tutorial.</p>
<p>In this post I will show you how to allow to <strong>userA</strong> to manage group membership of <strong>DistGroup</strong></p>
<p>First open Exchange Management Shell -> Recipient Configuration -> Distribution Group</p>
<p>Find the distribution group <strong>DistGroup</strong> and right click properties on it</p>
<p><a href="https://picasaweb.google.com/lh/photo/XyeSg-u58Fh0Sx37hWG1gYAEWy_dsejiBJ7ZjEi5KyY?feat=embedwebsite"><img src="https://lh4.googleusercontent.com/-sirG4ETQoZw/TmiUSrB9PbI/AAAAAAAAAok/NF6qzqI8hvY/s400/DistGroup1.jpg" height="369" width="400" /></a></p>
<p>Go to the Group information and add <strong>UserA</strong> as manager to this group and click OK<br />
<span id="more-1396"></span><br />
<img src="https://lh3.googleusercontent.com/-yo-Nr4juwrU/TmiUSmoUrpI/AAAAAAAAAoE/G3INn_I9FkM/s400/DistGroup2.PNG" height="400" width="347" /></p>
<p>All this till now sounds pretty intuitive right? Well we are not quite there yet.</p>
<p>If you try now to change the group membership of DistGroup logged on as UserA, exchange will fire an error stating that the user does not have sufficient permissions to perform the operation.<br />
<a href="https://picasaweb.google.com/lh/photo/-Ndz0SjU1vuepDqcslsqRYAEWy_dsejiBJ7ZjEi5KyY?feat=embedwebsite"><img src="https://lh3.googleusercontent.com/-8293pbktH34/TmiUSsKkARI/AAAAAAAAAoA/E7N5S2Fvn0I/s400/DistGroup3.PNG" height="228" width="400" /></a></p>
<p>Well that's because the permission was granted to the user just fine but we did not allow, on exchange, for users to manage the groups they own yet, and this is what we are going to do now.</p>
<p>Log-on to the Exchange Control Panel with a user that has administrative permissions on Exchange 2010 and switch to Manage My Organization -> Roles and Auditing -> User Roles<br />
<a href="https://picasaweb.google.com/lh/photo/dj3f5WC16MkkiRxualgivYAEWy_dsejiBJ7ZjEi5KyY?feat=embedwebsite"><img src="https://lh3.googleusercontent.com/-iWB0ZWg_jCo/TmiUTDBuL9I/AAAAAAAAAoM/1zxSDUKQMqE/s400/DistGroup4.PNG" height="169" width="400" /></a></p>
<p>Select "Default Role Assignment Policy" and click Details, in this screen check the MyDistributionGroups role and click Save.<br />
<a href="https://picasaweb.google.com/lh/photo/UKin_UEIxGiOwPp7-8MZoIAEWy_dsejiBJ7ZjEi5KyY?feat=embedwebsite"><img src="https://lh3.googleusercontent.com/-WtNaV_I_vXI/TmiUTQSVpuI/AAAAAAAAAoQ/zhzB7Uw8b-M/s400/DistGroup5.PNG" height="298" width="400" /></a></p>
<p>Well that's it, <strong>UserA</strong> can now add/remove members from <strong>DistGroup</strong> using Microsoft Outlook </p>
<p><a href="https://picasaweb.google.com/lh/photo/0n7Du1KW0quTCfrkVUk0EoAEWy_dsejiBJ7ZjEi5KyY?feat=embedwebsite"><img src="https://lh3.googleusercontent.com/-XZHK4VUuLU0/TmiUTbFBoOI/AAAAAAAAAoU/YZubMpIH6_Y/s400/DistGroup6.PNG" height="262" width="400" /></a></p>
<p>Also when logging on to ECP -> Groups, there is now a "Public Groups I Own" section showing from which users will also be able to manage the group membership of the groups they are assigned to as managers.<br />
<a href="https://picasaweb.google.com/lh/photo/qc2ni2DGGosPvo1IagCgkoAEWy_dsejiBJ7ZjEi5KyY?feat=embedwebsite"><img src="https://lh5.googleusercontent.com/-pvHoFH2QiCw/TmiUTgVOEOI/AAAAAAAAAoY/hZhqGCZwk_k/s400/DistGroup7.PNG" height="193" width="400" /></a><br />
That's it for now, hope you found this helpful </p>
]]></content:encoded>
			<wfw:commentRss>http://www.zerohoursleep.com/2011/09/enable-end-users-to-manage-group-membership-of-distribution-groups-in-exchange-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

