<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-US"><title type="html">Windows Azure Connect Team Blog</title><subtitle type="html" /><id>http://blogs.msdn.com/b/windows_azure_connect_team_blog/atom.aspx</id><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b/windows_azure_connect_team_blog/" /><link rel="self" type="application/atom+xml" href="http://blogs.msdn.com/b/windows_azure_connect_team_blog/atom.aspx" /><generator uri="http://telligent.com" version="5.6.50428.7875">Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><updated>2010-12-08T14:13:00Z</updated><entry><title>Upgrade to the latest Connect endpoint software now</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b/windows_azure_connect_team_blog/archive/2012/08/31/upgrade-to-the-latest-connect-endpoint-software-now.aspx" /><id>http://blogs.msdn.com/b/windows_azure_connect_team_blog/archive/2012/08/31/upgrade-to-the-latest-connect-endpoint-software-now.aspx</id><published>2012-08-31T23:08:00Z</published><updated>2012-08-31T23:08:00Z</updated><content type="html">&lt;p&gt;On 10/28/2012, the current CA certificate used by Windows Azure Connect endpoint software will expire. To continue to use Windows Azure Connect after this date, Connect endpoint software on your Windows Azure roles and on-premises machines must be upgraded to the latest version. Depends on your environment and configuration, you may or may not need to take any action.&lt;/p&gt;
&lt;p&gt;For your Web and Worker roles, if they are configured to upgrade to the new guest OS automatically, then you don&amp;rsquo;t need to take any action. When the new OS is rolled out later this month Connect endpoint software will be automatically refreshed to the new version. To upgrade endpoint software manually, you can set below to true in your .cscfg and &amp;ldquo;Upgrade&amp;rdquo;.&lt;/p&gt;
&lt;p&gt;&amp;lt;Setting name="Microsoft.WindowsAzure.Plugins.Connect.Upgrade" value="true" /&amp;gt;&lt;/p&gt;
&lt;p&gt;For PaaS VM role, the on-premise VHD image can be either updated via Windows Update or manually updated, and then re-uploaded.&lt;/p&gt;
&lt;p&gt;For the new IaaS roles and on-premise machines, you can use Windows Update to upgrade or manually install.&lt;/p&gt;
&lt;p&gt;To verify that upgrade worked, in the Silverlight portal, go to &amp;ldquo;Virtual Network&amp;rdquo; &amp;ndash;&amp;gt; &amp;ldquo;Activated Endpoints&amp;rdquo; &amp;ndash;&amp;gt; &amp;ldquo;Properties&amp;rdquo; to make sure the version is 1.0.0960.2.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-42-28-metablogapi/7484.image_5F00_1FBE9CF5.png"&gt;&lt;img width="268" height="170" title="image" style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-42-28-metablogapi/8055.image_5F00_thumb_5F00_065699BB.png" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If you plan to do manual upgrade, below is Microsoft Update Catalog upgrade link for manual install.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://catalog.update.microsoft.com/v7/site/ScopedViewInline.aspx?updateid=f100960b-3ba9-4463-8efd-b0ae86c4dfd5"&gt;http://catalog.update.microsoft.com/v7/site/ScopedViewInline.aspx?updateid=f100960b-3ba9-4463-8efd-b0ae86c4dfd5&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-42-28-metablogapi/3757.image_5F00_663B8CFD.png"&gt;&lt;img width="644" height="254" title="image" style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-42-28-metablogapi/1614.image_5F00_thumb_5F00_26057383.png" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Place the &amp;ldquo;update&amp;rdquo; in the &amp;ldquo;basket&amp;rdquo;, click &amp;ldquo;download&amp;rdquo; to a temp folder, and run either the x86 or the amd64 upgrade package.&lt;/p&gt;
&lt;p&gt;Directory of C:\temp\Update for Windows Azure Connect Endpoint Upgrade (1.0.0960.2)&lt;/p&gt;
&lt;p&gt;08/24/2012&amp;nbsp; 10:05 AM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2,948,720 AMD64-en-wacendpointupg_prod_d0e8b5df2bdf2587cdbb75fdfdef1946de7f5f56.exe&lt;/p&gt;
&lt;p&gt;08/24/2012&amp;nbsp; 10:05 AM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2,316,424 X86-en-wacendpointupg_prod_f2f3fe266e7a3399691042ce8eb4606dc82a6925.exe&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;--Jason Chen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10345519" width="1" height="1"&gt;</content><author><name>Windows Azure Connect Team</name><uri>http://blogs.msdn.com/Windows-Azure-Connect-Team/ProfileUrlRedirect.ashx</uri></author></entry><entry><title>Windows Azure Connect is now open CTP</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b/windows_azure_connect_team_blog/archive/2011/11/15/windows-azure-connect-is-now-open-ctp.aspx" /><id>http://blogs.msdn.com/b/windows_azure_connect_team_blog/archive/2011/11/15/windows-azure-connect-is-now-open-ctp.aspx</id><published>2011-11-15T20:36:00Z</published><updated>2011-11-15T20:36:00Z</updated><content type="html">&lt;p&gt;Windows Azure Connect CTP is now open to everyone. In the past, you needed to request CTP access and be approved before you could use Connect. Starting today, no approval is needed. You can use Windows Azure Connect as long as you have a Windows Azure subscription. To start using it, go to the &lt;a href="http://windows.azure.com/"&gt;Windows Azure Connect portal&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;--Jason Chen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10237442" width="1" height="1"&gt;</content><author><name>Windows Azure Connect Team</name><uri>http://blogs.msdn.com/Windows-Azure-Connect-Team/ProfileUrlRedirect.ashx</uri></author></entry><entry><title>Windows Azure Connect Endpoint Upgrade also available from Microsoft Update</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b/windows_azure_connect_team_blog/archive/2011/07/22/windows-azure-connect-endpoint-upgrade-also-available-from-microsoft-update.aspx" /><id>http://blogs.msdn.com/b/windows_azure_connect_team_blog/archive/2011/07/22/windows-azure-connect-endpoint-upgrade-also-available-from-microsoft-update.aspx</id><published>2011-07-23T03:19:00Z</published><updated>2011-07-23T03:19:00Z</updated><content type="html">&lt;p&gt;As part of the &lt;a href="http://blogs.msdn.com/b/windowsazure/archive/2011/07/18/windows-azure-platform-management-portal-updates-now-available.aspx"&gt;Windows Azure Management Portal update&lt;/a&gt;, a new release of the Windows Azure Connect (&lt;a href="http://www.microsoft.com/windowsazure/features/virtualnetwork/"&gt;which is in CTP&lt;/a&gt;) endpoint software (1.0.0952.2) is available.&amp;nbsp; In addition to bug fixes, the Connect endpoint is localized into 11 languages, with a language choice selection at the beginning of the interactive client install.&lt;/p&gt;
&lt;p&gt;For corporate machines distributing updates with WSUS (Windows Server Update Services) or SCCM (System Center Configuration Manager), the endpoint update can be imported into WSUS from the Microsoft Update Catalog &lt;a href="http://catalog.update.microsoft.com/v7/site/Search.aspx?q=windows%20azure%20connect"&gt;http://catalog.update.microsoft.com/v7/site/Search.aspx?q=windows%20azure%20connect&lt;/a&gt; .&lt;/p&gt;
&lt;p&gt;For machines not receiving updates from WSUS (Windows Server Update Services), just start Windows Update, Check for updates, and select Windows Azure Connect Endpoint Upgrade.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-42-28-metablogapi/0257.clip_5F00_image0024_5F00_77240CA6.jpg"&gt;&lt;img width="816" height="124" title="clip_image002[4]" style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" alt="clip_image002[4]" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-42-28-metablogapi/1738.clip_5F00_image0024_5F00_thumb_5F00_15FA8085.jpg" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-42-28-metablogapi/1727.clip_5F00_image0044_5F00_26927B73.jpg"&gt;&lt;img width="508" height="135" title="clip_image004[4]" style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" alt="clip_image004[4]" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-42-28-metablogapi/3487.clip_5F00_image0044_5F00_thumb_5F00_53A76841.jpg" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-42-28-metablogapi/2311.clip_5F00_image0064_5F00_39D33212.jpg"&gt;&lt;img width="369" height="110" title="clip_image006[4]" style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" alt="clip_image006[4]" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-42-28-metablogapi/8168.clip_5F00_image0064_5F00_thumb_5F00_5D2026B7.jpg" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;--Jason Chen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10189104" width="1" height="1"&gt;</content><author><name>Windows Azure Connect Team</name><uri>http://blogs.msdn.com/Windows-Azure-Connect-Team/ProfileUrlRedirect.ashx</uri></author></entry><entry><title>HPC Pack 2008 R2 SP2 uses Windows Azure Connect for hybrid Cloud</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b/windows_azure_connect_team_blog/archive/2011/07/01/hpc-pack-2008-r2-sp2-uses-windows-azure-connect-for-hybrid-cloud.aspx" /><id>http://blogs.msdn.com/b/windows_azure_connect_team_blog/archive/2011/07/01/hpc-pack-2008-r2-sp2-uses-windows-azure-connect-for-hybrid-cloud.aspx</id><published>2011-07-02T00:06:00Z</published><updated>2011-07-02T00:06:00Z</updated><content type="html">&lt;p&gt;The recent &lt;a href="http://blogs.msdn.com/b/windowsazure/archive/2011/06/29/hpc-pack-2008-r2-service-pack-2-sp2-released.aspx"&gt;released HPC Pack 2008 R2 SP2&lt;/a&gt; is focused on providing customers with a great experience when expanding their on-premises clusters to Windows Azure. One of new features include a tuned MPI stack for the Windows Azure network, support for Windows Azure VM role (currently in beta), and automatic configuration of the Windows Azure Connect preview to allow Windows Azure based applications to reach back to enterprise file server and license servers via virtual private networks.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;--Jason Chen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10182528" width="1" height="1"&gt;</content><author><name>Windows Azure Connect Team</name><uri>http://blogs.msdn.com/Windows-Azure-Connect-Team/ProfileUrlRedirect.ashx</uri></author></entry><entry><title>Speeding Up SQL Server Connections</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b/windows_azure_connect_team_blog/archive/2011/06/03/speeding-up-sql-server-connections.aspx" /><id>http://blogs.msdn.com/b/windows_azure_connect_team_blog/archive/2011/06/03/speeding-up-sql-server-connections.aspx</id><published>2011-06-03T20:57:00Z</published><updated>2011-06-03T20:57:00Z</updated><content type="html">&lt;p&gt;We&amp;rsquo;ve heard from some customers that initial connections to on-premise SQL servers using Windows Azure Connect sometimes takes a long time if the Azure machines are domain-joined. On investigating the issue, we&amp;rsquo;ve found out that all current versions of SQL Client attempt to connect via IPv4 before IPv6 regardless of system settings (more details &lt;a href="http://msdn.microsoft.com/en-us/library/ms345359.aspx"&gt;here&lt;/a&gt;). Normally, when you connect to a machine using Windows Azure Connect, the Connect endpoint looks up the name and returns an IPv6 address. However, when your Azure VM is domain joined, it can look up the name in your on-premise DNS server as well, which returns an IPv4 address. When that happens, SQL client chooses to use IPv4 address first and needs to time out the IPv4 connection attempt before it can connect through IPv6.&lt;/p&gt;
&lt;p&gt;We&amp;rsquo;ve identified a simple workaround to avoid the timeout and speed up connections: create a firewall rule on your Azure roles to block outbound connections to SQL over IPv4. That causes the incorrect IPv4 connection to fail immediately instead of timeout. The easiest way to accomplish that is to add a startup task to your role that runs a command like:&lt;/p&gt;
&lt;p&gt;netsh advfirewall firewall add rule name="BlockIPv4SQL" dir=out action=block protocol=tcp remoteport=1433 remoteip=(your on-premise IPv4 range)&lt;/p&gt;
&lt;p&gt;Note that if you use SQL Azure in addition to SQL over Windows Azure Connect, you will need to ensure the the remoteip range in the rule exempts traffic to your SQL Azure servers.&lt;/p&gt;
&lt;p&gt;If you&amp;rsquo;re looking for other performance improvements, make sure you&amp;rsquo;re &lt;a href="http://blogs.msdn.com/b/windows_azure_connect_team_blog/archive/2011/05/05/choose-relays-close-to-you.aspx"&gt;using a relay close to you&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;--Morgan Brown&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10171237" width="1" height="1"&gt;</content><author><name>Windows Azure Connect Team</name><uri>http://blogs.msdn.com/Windows-Azure-Connect-Team/ProfileUrlRedirect.ashx</uri></author></entry><entry><title>Windows Azure Connect–Certificate Based Endpoint Activation</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b/windows_azure_connect_team_blog/archive/2011/05/06/windows-azure-connect-certificate-based-endpoint-activation.aspx" /><id>http://blogs.msdn.com/b/windows_azure_connect_team_blog/archive/2011/05/06/windows-azure-connect-certificate-based-endpoint-activation.aspx</id><published>2011-05-06T22:08:34Z</published><updated>2011-05-06T22:08:34Z</updated><content type="html">&lt;p&gt;If you have &lt;a href="http://blogs.msdn.com/b/windows_azure_connect_team_blog/archive/2011/03/30/deploy-windows-azure-connect-endpoint-software-automatically.aspx"&gt;deployed Windows Azure Connect endpoint&lt;/a&gt; before, you know that the endpoint will be required to present an activation token (which you can get from Windows Azure Management Portal) for activation. This activation token can be specified in the .cscfg file for Windows Azure Roles (this can also be done via Visual Studio). For the endpoints that live on your corporate network (local endpoints), the activation token is part of the install link. We are happy that you like the ease of use and simplicity of this approach. We also heard some of you request an option for secure activation.&lt;/p&gt;  &lt;p&gt;To address this feedback, we introduced certificate based activation in our latest CTP Refresh. You can now choose to use existing activation model (token based only - this is the default) or certificate based activation (token + certificate). In this refresh, certificate based activation is only available for local endpoints.&lt;/p&gt;  &lt;p&gt;If you already have PKI and/or have a mechanism to securely distribute X509 certificates (private + public key pairs) to your endpoints within your organization, you are just few steps away from benefiting from this new feature:&lt;/p&gt;  &lt;p&gt;1. On your corporate network, pick a Certificate Issuer that issues certificates to endpoints via manual/auto-enrollment policies. &lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-42-28-metablogapi/0640.secactivationcert_5F00_55FF8BBE.jpg"&gt;&lt;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="secactivationcert" border="0" alt="secactivationcert" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-42-28-metablogapi/6320.secactivationcert_5F00_thumb_5F00_74D5FF9C.jpg" width="423" height="525" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;For example, the above snapshot shows that a machine that receives certificate from the issuer with CN=SecIssuer. In this case, the public key (.cer file) of CN=SecIssuer will need to be exported and saved for step 3 below. &lt;/p&gt;  &lt;p&gt;Note: If you have deeper PKI hierarchy (example: CN=RootIssuer -&amp;gt; CN=SecIssuer -&amp;gt; CN=myendpoint), make sure you export the public key of the direct/immediate issuer i.e., CN=SecIssuer.&lt;/p&gt;  &lt;p&gt;2. From the Windows Azure Management Portal, Click on the “Activation Options” as shown in the snapshot below.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-42-28-metablogapi/0045.image_5F00_0CF969F8.png"&gt;&lt;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="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-42-28-metablogapi/1538.image_5F00_thumb_5F00_32EF1A4E.png" width="627" height="499" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;3. This will bring up the certificate endpoint activation dialog (shown in the snapshot below):&lt;/p&gt;  &lt;p&gt;a. Check the box that says “Require endpoints to use trusted certificate for activation”.&lt;/p&gt;  &lt;p&gt;b. Click on “Add” button and choose the certificate (.cer file with public key only) file from Step 1 above.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-42-28-metablogapi/0045.image_5F00_6A552B7C.png"&gt;&lt;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="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-42-28-metablogapi/6428.image_5F00_thumb_5F00_145529A5.png" width="627" height="499" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;4. At this point, all the new endpoints (excluding Azure roles) in this subscription will be required to prove their strong identity via the possession of a certificate issued by the issuer in step 1 above. The endpoint must have private keys for this certificate, but there is no requirement for the subject name to match the endpoint’s FQDN or hostname (example: CN=myendpoint can be used on a machine with name ContosoHost.Corp.AdventureWorks.com).&lt;/p&gt;  &lt;p&gt;5. If you run into activation issues with this model, you can troubleshoot by checking the event viewer for any error messages such as below:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-42-28-metablogapi/6013.image_5F00_5346AA40.png"&gt;&lt;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="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-42-28-metablogapi/1538.image_5F00_thumb_5F00_19576754.png" width="533" height="305" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;a. Verify that you have a certificate in the Local Computer\Personal\Certificates store. This certificate should have been &lt;b&gt;directly issued&lt;/b&gt; by the issuer in step 1 above.&lt;/p&gt;  &lt;p&gt;b. Verify that there is a private key for this certificate.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10161969" width="1" height="1"&gt;</content><author><name>Windows Azure Connect Team</name><uri>http://blogs.msdn.com/Windows-Azure-Connect-Team/ProfileUrlRedirect.ashx</uri></author></entry><entry><title>Choose Relays Close to You</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b/windows_azure_connect_team_blog/archive/2011/05/05/choose-relays-close-to-you.aspx" /><id>http://blogs.msdn.com/b/windows_azure_connect_team_blog/archive/2011/05/05/choose-relays-close-to-you.aspx</id><published>2011-05-05T22:59:00Z</published><updated>2011-05-05T22:59:00Z</updated><content type="html">&lt;p&gt;Throughout Windows Azure Connect CTP, many customers have asked for Windows Azure Connect relay presence in geographic locations outside US. Today we are very happy to announce that we have added new relays in Europe and Asia, with the launch of Windows Azure Connect CTP refresh, you can now choose a relay region that is close to your own geographic location to optimize network performance.&lt;/p&gt;
&lt;p&gt;To change the relay location, click on &amp;ldquo;Relay Region&amp;rdquo; (the new button added in CTP refresh) and pick the relay location you desire, by default USA is chosen for you.&lt;/p&gt;
&lt;p&gt;Please be aware that if you change your relay location, there will be a transition period of up to 5 minutes while your existing endpoints refresh their policy (which contains the relay location information), close their existing relay connections, and re-establish connections with the new relay location.&amp;nbsp; During this time period, endpoints may not be able to communicate with each other until they have completed the transition to the new relay location.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-42-28-metablogapi/8233.image_5F00_1BD6BA82.png"&gt;&lt;img width="1028" height="557" title="image" style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-42-28-metablogapi/6082.image_5F00_thumb_5F00_3104C02A.png" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;--Jason Chen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10161589" width="1" height="1"&gt;</content><author><name>Windows Azure Connect Team</name><uri>http://blogs.msdn.com/Windows-Azure-Connect-Team/ProfileUrlRedirect.ashx</uri></author></entry><entry><title>Windows Azure SDK 1.4 refresh</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b/windows_azure_connect_team_blog/archive/2011/04/25/windows-azure-sdk-1-4-refresh.aspx" /><id>http://blogs.msdn.com/b/windows_azure_connect_team_blog/archive/2011/04/25/windows-azure-sdk-1-4-refresh.aspx</id><published>2011-04-25T23:25:00Z</published><updated>2011-04-25T23:25:00Z</updated><content type="html">&lt;p&gt;We have found an issue with the new Windows Azure SDK 1.4 refresh which causes Windows Azure Connect endpoints to fail to deploy on Windows Azure Roles built using this SDK release. We have since fixed the issue and updated the Web Platform Installer feed.&lt;/p&gt;
&lt;p&gt;If you downloaded and installed the Windows Azure SDK 1.4 refresh from the &lt;a href="http://www.microsoft.com/windowsazure/getstarted/default.aspx"&gt;Windows Azure web site&lt;/a&gt; before 4pm PST 4/25/2011, you will have to uninstall and reinstall it.&lt;/p&gt;
&lt;p&gt;1. Go to Control Panel\Programs\Programs and Features, uninstall SDK 1.4 refresh.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-42-28-metablogapi/4643.image_5F00_098576C3.png"&gt;&lt;img width="668" height="22" title="image" style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-42-28-metablogapi/0456.image_5F00_thumb_5F00_00B56E77.png" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;2. Install Windows Azure SDK 1.4 refresh from the &lt;a href="http://www.microsoft.com/windowsazure/getstarted/default.aspx"&gt;Windows Azure web site&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;We apologize for any inconvenience this issue may have caused. Thank you.&lt;/p&gt;
&lt;p&gt;--Jason Chen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10157907" width="1" height="1"&gt;</content><author><name>Windows Azure Connect Team</name><uri>http://blogs.msdn.com/Windows-Azure-Connect-Team/ProfileUrlRedirect.ashx</uri></author></entry><entry><title>Easy VPN with Windows Azure Connect</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b/windows_azure_connect_team_blog/archive/2011/04/19/easy-vpn-with-windows-azure-connect.aspx" /><id>http://blogs.msdn.com/b/windows_azure_connect_team_blog/archive/2011/04/19/easy-vpn-with-windows-azure-connect.aspx</id><published>2011-04-19T19:30:00Z</published><updated>2011-04-19T19:30:00Z</updated><content type="html">&lt;p&gt;Windows Azure and Windows Azure Connect are like chocolate and peanut butter &amp;ndash; awesome together, but pretty good on their own as well. &lt;a&gt;&lt;/a&gt;As many blogs (e.g. &lt;a href="http://blog.maartenballiauw.be/post/2010/12/24/The-quickest-way-to-a-VPN-Windows-Azure-Connect.aspx"&gt;Maarten's blog&lt;/a&gt; and &lt;a href="http://thinkfirstcodelater.com/blog/?p=616"&gt;Adam's blog&lt;/a&gt;) have pointed out, you can use Windows Azure Connect to create a secure network connection between your own machines, regardless of where they are. Let&amp;rsquo;s say you have an on-premise line-of-business (LoB) server and roaming users who want to access it from the field. Without network configuration or expensive VPN hardware, you can install the Windows Azure Connect Endpoint on your machines and configure them to connect in a matter of 5 minutes. The easiest way to set this up is to follow the below steps:&lt;/p&gt;
&lt;p&gt;1. Install the Windows Azure Connect Endpoint software on the LoB server and laptop using the install link from the Windows Azure Management Portal. Full instructions are at &lt;a href="http://msdn.microsoft.com/en-us/library/gg432964.aspx"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-42-28-metablogapi/6840.clip_5F00_image001_5F00_08CB46A2.png"&gt;&lt;img width="635" height="298" title="clip_image001" style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" alt="clip_image001" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-42-28-metablogapi/1731.clip_5F00_image001_5F00_thumb_5F00_4EDC03B5.png" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;2. Create an endpoint group containing all of the machines you would like connect. In the &amp;ldquo;Create a New Endpoint Group&amp;rdquo; dialog, check the &amp;ldquo;Interconnected&amp;rdquo; checkbox. This checkbox allows all of the machines in the group to connect to each other.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-42-28-metablogapi/6114.clip_5F00_image003_5F00_47509448.jpg"&gt;&lt;img width="628" height="430" title="clip_image003" style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" alt="clip_image003" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-42-28-metablogapi/3301.clip_5F00_image003_5F00_thumb_5F00_7FFB3E55.jpg" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;3. Wait up to 5 minutes for the endpoints to implement the new connectivity. At this point, your machines can connect. (If you&amp;rsquo;re in a hurry, you can also manually refresh on your machines if you follow the instructions &lt;a href="http://msdn.microsoft.com/en-us/library/gg508836.aspx#Configure"&gt;here&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;One caveat worth noting: in certain networks, if both Windows Azure Connect endpoints are in the same LAN, connections will go through Windows Azure Connect instead of the local LAN connection. If some of your machines are always on the same network, consider putting them in a separate, non-interconnected group and following the next set of instructions.&lt;/p&gt;
&lt;p&gt;Using the &amp;ldquo;Interconnected&amp;rdquo; checkbox works well if you&amp;rsquo;re ok with having all of your machines connect to each other, but sometimes you want a little more control. For instance, say you have two roaming laptops that you want to connect to your LoB server, but you don&amp;rsquo;t want them to connect to each other. Maybe they belong to customers or outside contractors, or maybe you&amp;rsquo;re connecting branch offices to the central office. Instead of using interconnection, you can create endpoint groups and connect them to each other. Machines in the first group will be able to connect to machines in the second, but not to each other. To set this up, follow the steps below.&lt;/p&gt;
&lt;p&gt;1. Install the Windows Azure Connect Endpoint on the LoB server and both laptops.&lt;/p&gt;
&lt;p&gt;2. Create an endpoint group for the LoB server.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-42-28-metablogapi/3884.clip_5F00_image005_5F00_265D21A1.jpg"&gt;&lt;img width="628" height="430" title="clip_image005" style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" alt="clip_image005" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-42-28-metablogapi/2311.clip_5F00_image005_5F00_thumb_5F00_2D102B24.jpg" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;3. Create another endpoint group for the roaming laptops and connect it to the LoB group.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-42-28-metablogapi/6518.clip_5F00_image007_5F00_1AC76462.jpg"&gt;&lt;img width="628" height="432" title="clip_image007" style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" alt="clip_image007" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-42-28-metablogapi/3487.clip_5F00_image007_5F00_thumb_5F00_5E9B98B9.jpg" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;4. Wait up to 5 minutes for the endpoints to implement the new connectivity. At this point your laptops can connect to your LoB server, but not to each other.&lt;/p&gt;
&lt;p&gt;You can mix and match interconnection and connecting endpoint groups and Windows Azure roles to build whatever kind of connectivity suits your needs.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;--Morgan Brown&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10155317" width="1" height="1"&gt;</content><author><name>Windows Azure Connect Team</name><uri>http://blogs.msdn.com/Windows-Azure-Connect-Team/ProfileUrlRedirect.ashx</uri></author></entry><entry><title>Options for Deploying Windows Azure Connect Endpoint Software</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b/windows_azure_connect_team_blog/archive/2011/03/30/deploy-windows-azure-connect-endpoint-software-automatically.aspx" /><id>http://blogs.msdn.com/b/windows_azure_connect_team_blog/archive/2011/03/30/deploy-windows-azure-connect-endpoint-software-automatically.aspx</id><published>2011-03-30T22:20:00Z</published><updated>2011-03-30T22:20:00Z</updated><content type="html">&lt;p&gt;Installing Windows Azure Connect endpoint software is a one-click process &amp;ndash; you get the install link from the Windows Azure portal and launch it to start the install. No questions are asked during installation except accepting the EULA. Pretty simple, right? But what if you have a handful of machines you would like to install the endpoint software in an automatic fashion? In this blog we show you how to do this.&lt;/p&gt;
&lt;p&gt;1. Sign in to Windows Azure portal, click &amp;ldquo;Virtual Network,&amp;rdquo; and select the Windows Azure subscription that you use Connect for.&lt;/p&gt;
&lt;p&gt;2. Click on &amp;ldquo;Install Local Endpoint&amp;rdquo; on the toolbar, copy the install link and launch it in the browser.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-42-28-metablogapi/2860.clip_5F00_image002_5F00_1F0F044F.jpg"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="clip_image002" border="0" alt="clip_image002" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-42-28-metablogapi/8738.clip_5F00_image002_5F00_thumb_5F00_5E6CB7DF.jpg" width="312" height="265" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;3. Choose &amp;ldquo;Save&amp;rdquo; instead of &amp;ldquo;Run&amp;rdquo; when prompted by the browser. You can save the installer in a network share (e.g. &lt;a href="file://\\myshare\wacendpointpackage.exe"&gt;\\myshare\wacendpointpackage.exe&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;4. Click on &amp;ldquo;Get Activation Token&amp;rdquo; on the toolbar, copy the activation token, you will use it in the next step.&lt;/p&gt;
&lt;p&gt;6. Run below command on all the machines you want to the install endpoint software:&lt;/p&gt;
&lt;p&gt;&lt;a href="file://\\myshare\wacendpointpackage.exe"&gt;\\myshare\wacendpointpackage.exe&lt;/a&gt; /i&amp;nbsp; /s /m en-us /token &lt;span style="background-color: #ffff00;"&gt;aa684278-ff75-4c85-bbd3-aa9b337cd9af&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;where /i is for install, /s is for silent, /m is for language and /token is for activation token. You need to replace the highlighted with your own activation token. You can use popular deployment tools such as SCCM (System Center Configuration Manager) and GP (Group Policy) to carry out this step. Note, the targeted machine group can include Windows Vista SP1, Windows 7, Windows Server 2008, and Windows Server 2008 R2, the installer does not run on Windows XP or Windows Server 2003.&lt;/p&gt;
&lt;p&gt;Alternatively, you can also setup the activation token in the target machines&amp;rsquo; registry first and then install the endpoint software.&lt;/p&gt;
&lt;p&gt;6a. Set below registry value (type REG_SZ) using SCCM or GP, replace the highlighted with your own activation token.&lt;/p&gt;
&lt;p&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Azure Connect\Endpoint]&lt;/p&gt;
&lt;p&gt;"ClientActivationToken"="&lt;span style="background-color: #ffff00;"&gt;aa684278-ff75-4c85-bbd3-aa9b337cd9af&lt;/span&gt;"&lt;/p&gt;
&lt;p&gt;6b. Run wacendpointpackage.exe.&lt;/p&gt;
&lt;p&gt;After installation, the endpoint software will retrieve the activation token and use it to activate itself with the Windows Azure Connect services. Once successfully activated, you will be above to see the newly activated endpoint in the Windows Azure portal, remember to move it to a local machine groups to connect to Azure roles or another local machine group.&lt;/p&gt;
&lt;p&gt;.--Jason Chen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10147947" width="1" height="1"&gt;</content><author><name>Windows Azure Connect Team</name><uri>http://blogs.msdn.com/Windows-Azure-Connect-Team/ProfileUrlRedirect.ashx</uri></author></entry><entry><title>Windows Azure Connect Use Case: Web Role / Application Pool Access SQL Server using Windows Authentication</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b/windows_azure_connect_team_blog/archive/2011/03/16/windows-azure-connect-use-case-enable-windows-authentication-to-sql-server-using-application-pool-credentials.aspx" /><id>http://blogs.msdn.com/b/windows_azure_connect_team_blog/archive/2011/03/16/windows-azure-connect-use-case-enable-windows-authentication-to-sql-server-using-application-pool-credentials.aspx</id><published>2011-03-16T20:20:00Z</published><updated>2011-03-16T20:20:00Z</updated><content type="html">&lt;p&gt;We showed you &lt;a href="http://blogs.msdn.com/b/windows_azure_connect_team_blog/archive/2010/12/10/domain-joining-windows-azure-roles.aspx" target="_blank"&gt;how to domain join Windows Azure roles to on-premises Active Directory&lt;/a&gt; in an &lt;a href="http://blogs.msdn.com/b/windows_azure_connect_team_blog/archive/2010/12/10/domain-joining-windows-azure-roles.aspx" target="_blank"&gt;earlier post&lt;/a&gt;. Once the Azure roles are domain joined, it is easy to enable a very common use case &amp;ndash; application pool uses domain credential to access SQL server on-premises.&lt;/p&gt;
&lt;p&gt;The steps below assume that you have already configured your on-premises SQL server to use Windows Authentication, and you have set Integrated Security=true in your connection string. &lt;span style="color: blue;"&gt; &lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;0. First follow the instruction to &lt;a href="http://blogs.msdn.com/b/windows_azure_connect_team_blog/archive/2010/12/10/domain-joining-windows-azure-roles.aspx" target="_blank"&gt;enable domain join for your Windows Azure roles&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;1. Specify the credential that your application pool will use in the .cscfg file.&lt;/p&gt;
&lt;p&gt;a) To do that, you would need to define the settings in the .csdef first. Also it is important that you set executionContext to &amp;ldquo;elevated&amp;rdquo; because we would need to have sufficient rights to run appcmd.exe to set the identity for the application pool.&lt;/p&gt;
&lt;pre class="code"&gt;&lt;span style="color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #a31515;"&gt;ConfigurationSettings&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt; &amp;lt;&lt;/span&gt;&lt;span style="color: #a31515;"&gt;Setting &lt;/span&gt;&lt;span style="color: red;"&gt;name&lt;/span&gt;&lt;span style="color: blue;"&gt;=&lt;/span&gt;"&lt;span style="color: blue;"&gt;AppPoolUserName&lt;/span&gt;" &lt;span style="color: blue;"&gt;/&amp;gt; &amp;lt;&lt;/span&gt;&lt;span style="color: #a31515;"&gt;Setting &lt;/span&gt;&lt;span style="color: red;"&gt;name&lt;/span&gt;&lt;span style="color: blue;"&gt;=&lt;/span&gt;"&lt;span style="color: blue;"&gt;AppPoolUserPassword&lt;/span&gt;" &lt;span style="color: blue;"&gt;/&amp;gt; &amp;lt;/&lt;/span&gt;&lt;span style="color: #a31515;"&gt;ConfigurationSettings&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt; &amp;lt;&lt;/span&gt;&lt;span style="color: #a31515;"&gt;Runtime &lt;/span&gt;&lt;span style="color: red;"&gt;executionContext&lt;/span&gt;&lt;span style="color: blue;"&gt;=&lt;/span&gt;"&lt;span style="color: blue;"&gt;elevated&lt;/span&gt;" &lt;span style="color: blue;"&gt;/&amp;gt; &lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;b) Then specify the value of the credential for your application pool in the .cscfg file. You need to encrypt the user password using a certificate (the same way you did for encrypting user password used for &lt;a href="http://blogs.msdn.com/b/windows_azure_connect_team_blog/archive/2010/12/10/domain-joining-windows-azure-roles.aspx" target="_blank"&gt;domain join&lt;/a&gt;). Here is an example:&lt;/p&gt;
&lt;pre class="code"&gt;&lt;span style="color: blue;"&gt;&amp;lt;!-- &lt;/span&gt;&lt;span style="color: green;"&gt;Specify the user name for the Application Pool &lt;/span&gt;&lt;span style="color: blue;"&gt;--&amp;gt; &amp;lt;&lt;/span&gt;&lt;span style="color: #a31515;"&gt;Setting &lt;/span&gt;&lt;span style="color: red;"&gt;name&lt;/span&gt;&lt;span style="color: blue;"&gt;=&lt;/span&gt;"&lt;span style="color: blue;"&gt;AppPoolUserName&lt;/span&gt;" &lt;span style="color: red;"&gt;value&lt;/span&gt;&lt;span style="color: blue;"&gt;=&lt;/span&gt;"&lt;span style="color: blue;"&gt;corp4\jason&lt;/span&gt;" &lt;span style="color: blue;"&gt;/&amp;gt; &amp;lt;!-- &lt;/span&gt;&lt;span style="color: green;"&gt;Insert encrypted password for the user specified above &lt;/span&gt;&lt;span style="color: blue;"&gt;--&amp;gt; &amp;lt;&lt;/span&gt;&lt;span style="color: #a31515;"&gt;Setting &lt;/span&gt;&lt;span style="color: red;"&gt;name&lt;/span&gt;&lt;span style="color: blue;"&gt;=&lt;/span&gt;"&lt;span style="color: blue;"&gt;AppPoolUserPassword&lt;/span&gt;" &lt;span style="color: red;"&gt;value&lt;/span&gt;&lt;span style="color: blue;"&gt;=&lt;/span&gt;"&lt;span style="color: blue;"&gt;MIIBFwYJKoZIhvcNAQcDoIIBCDCCAQQCAQAxgckwgcYCAQAwLzAbMRkwFwYDVQQDExBNeUVuY3J5cHRpb25DZXJ0AhCTEsiJ0zzrjktvASTLQh7qMA0GCSqGSIb3DQEBAQUABIGABGQW6efUv3fpewvgCcqxqfzJu5gmlUqXPg60aggvDeBYwyPL6xVqZ9DZYiYxbBmHSjJgzrIrLY+rP3EMtV/8G4f6hvyewasWvJgMe2vzwcMGSKqixcIRnCLuLov7zLgCsYylzZ1h4j/SIf0gUBtwC1leW4C07z+KtQb8fdDbi5wwMwYJKoZIhvcNAQcBMBQGCCqGSIb3DQMHBAiyEoiHBP8V8YAQ2PN+j2uY07qpS93N15uQkA==&lt;/span&gt;" &lt;span style="color: blue;"&gt;/&amp;gt; &lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;2. Set up your application pool to use the credential specified above when the role starts up. This can be done with one line of code in OnStartup() if you include our &lt;a href="http://bit.ly/eMwlNw" target="_blank"&gt;WAConnectUtils class&lt;/a&gt; in your project.&lt;/p&gt;
&lt;p&gt;a) Download &lt;a href="http://bit.ly/eMwlNw" target="_blank"&gt;WAConnectUtils class (WAConnectUtils.cs)&lt;/a&gt;. We have created this utility class to help you do a few chores including:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Detecting if the role&amp;rsquo;s Connect connection is up&lt;/li&gt;
&lt;li&gt;Detecting if the role is domain joined&lt;/li&gt;
&lt;li&gt;Configuring IIS application pool&lt;/li&gt;
&lt;li&gt;Decrypting password encrypted using a cert&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;b) Add WAConnectUtils.cs to your web role project.&lt;/p&gt;
&lt;p&gt;c) Add necessary references to assemblies.&lt;/p&gt;
&lt;p&gt;For Microsoft.Web.Administration, the component path is %windir%\system32\inetsrv\Microsoft.Web.Administration.dll&lt;/p&gt;
&lt;p&gt;d) Add one line of code in OnStartup() as show in the highlighted below. ConfigureIISAppPoolAfterDomainJoin waits for the role to be domain joined and then launches appcmd.exe to set IIS application pool to use the credential you specified in the .cscfg file.&lt;/p&gt;
&lt;pre class="code"&gt;&lt;span style="color: blue;"&gt;public override bool &lt;/span&gt;OnStart()
{
    &lt;span style="color: #2b91af;"&gt;RoleEnvironment&lt;/span&gt;.Changing += RoleEnvironmentChanging;

    &lt;span style="color: blue;"&gt;try &lt;/span&gt;{
        &lt;span style="color: green;"&gt;// Use the name of site from your .csdef, in this case it is called "Web" &lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;&lt;span style="background-color: #ffff00;"&gt;WAConnectHelpers.&lt;span style="color: #2b91af;"&gt;WAConnectUtils&lt;/span&gt;.ConfigureIISAppPoolAfterDomainJoin(&lt;span style="color: #a31515;"&gt;"Web"&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;pre class="code"&gt;);
    }
    &lt;span style="color: blue;"&gt;catch &lt;/span&gt;(&lt;span style="color: #2b91af;"&gt;Exception&lt;/span&gt;)
    {
        &lt;span style="color: green;"&gt;// Catch all exceptions here, else the role will get recycled. // Trace Exception information here &lt;/span&gt;}

    &lt;span style="color: blue;"&gt;return base&lt;/span&gt;.OnStart();
}&lt;/pre&gt;
&lt;p&gt;3. Build, publish and deploy your role to Windows Azure. Once the role is up and domain joined, you can remote desktop into a role instance (using existing domain credential if you wish) and verify that the application pool is set to use the credential specified.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-42-28-metablogapi/2476.image_5F00_109F937C.png"&gt;&lt;img width="795" height="209" title="image" style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-42-28-metablogapi/4024.image_5F00_thumb_5F00_1A37DBE5.png" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;4. Now your web roles will be using the specified domain credential to perform windows authentication when accessing SQL server.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;--Jason Chen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10142276" width="1" height="1"&gt;</content><author><name>Windows Azure Connect Team</name><uri>http://blogs.msdn.com/Windows-Azure-Connect-Team/ProfileUrlRedirect.ashx</uri></author></entry><entry><title>Windows Azure Connect CTP refresh</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b/windows_azure_connect_team_blog/archive/2011/03/10/windows-azure-connect-ctp-refresh.aspx" /><id>http://blogs.msdn.com/b/windows_azure_connect_team_blog/archive/2011/03/10/windows-azure-connect-ctp-refresh.aspx</id><published>2011-03-10T22:16:00Z</published><updated>2011-03-10T22:16:00Z</updated><content type="html">&lt;p&gt;We are pleased to announce that the first CTP Refresh for Windows Azure Connect is now live.&amp;nbsp; Here are some of the enhancements included in this release:&lt;/p&gt;
&lt;p&gt;&amp;middot; Co-administrators of a Windows Azure subscription can now manage Windows Azure Connect functionality for that subscription through the Windows Azure portal.&lt;/p&gt;
&lt;p&gt;&amp;middot; An updated Windows Azure Connect Endpoint UI, including improved and more accurate status notifications, as well as built-in diagnostic capabilities.&lt;/p&gt;
&lt;p&gt;&amp;middot; Support for installing Windows Azure Connect endpoints on non-English versions of Windows.&lt;/p&gt;
&lt;p&gt;&amp;middot; &amp;ldquo;Under the cover&amp;rdquo; improvements including bug fixes and performance enhancements.&lt;/p&gt;
&lt;p&gt;To take full advantage of the CTP Refresh, you will need to upgrade your Windows Azure Connect endpoints. For your on-premises Connect endpoints this will happen automatically over the next day if your machine is connected to the internet.&amp;nbsp; You can verify that your Connect endpoint has been upgraded by accessing the &amp;lsquo;About&amp;rsquo; UI from the Connect tray icon as shown below.&amp;nbsp; (You can also confirm this by checking if the &amp;ldquo;Diagnostics&amp;rdquo; option is available from the Connect tray icon, as this is a new feature for CTP Refresh.)&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-42-28-metablogapi/3823.image_5F00_20BBF9A6.png"&gt;&lt;img width="213" height="98" title="image" style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-42-28-metablogapi/7635.image_5F00_thumb_5F00_5966A3B3.png" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-42-28-metablogapi/3581.image_5F00_471DDCF1.png"&gt;&lt;img width="487" height="231" title="image" style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-42-28-metablogapi/8132.image_5F00_thumb_5F00_66CCB6B9.png" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;For your Windows Azure roles that have been enabled for Connect, you will need to manually trigger an upgrade to the CTP Refresh version.&amp;nbsp; This can done in the following ways:&lt;/p&gt;
&lt;p&gt;&amp;middot; Re-deploying your Windows Azure service.&lt;/p&gt;
&lt;p&gt;&amp;middot; Deploying a new copy of the service and performing a VIP-swap operation (we recommend this option if you need to ensure no service downtime).&lt;/p&gt;
&lt;p&gt;In both cases, as your Windows Azure role instances are brought online, they will be automatically updated to the CTP Refresh version of the Connect endpoint.&lt;/p&gt;
&lt;p&gt;The current CTP Connect endpoints will continue to work fine and interoperate with upgraded Connect endpoints.&amp;nbsp; For the best experience, we recommend&amp;nbsp; that everyone upgrade all of their Connect endpoints to the CTP Refresh version.&lt;/p&gt;
&lt;p&gt;We hope you find the CTP Refresh enhancements to be useful.&amp;nbsp; If you have questions or run into any problems, you can post your issue to the Windows Azure Connectivity support forum - &lt;a href="http://social.msdn.microsoft.com/Forums/en/windowsazureconnectivity"&gt;http://social.msdn.microsoft.com/Forums/en/windowsazureconnectivity&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;--Jason Chen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10139526" width="1" height="1"&gt;</content><author><name>Windows Azure Connect Team</name><uri>http://blogs.msdn.com/Windows-Azure-Connect-Team/ProfileUrlRedirect.ashx</uri></author></entry><entry><title>Windows Azure Connect Use Case: Enable File Sharing on Windows Azure VM</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b/windows_azure_connect_team_blog/archive/2011/01/20/windows-azure-connect-use-case-enable-file-share-on-windows-azure-vm.aspx" /><id>http://blogs.msdn.com/b/windows_azure_connect_team_blog/archive/2011/01/20/windows-azure-connect-use-case-enable-file-share-on-windows-azure-vm.aspx</id><published>2011-01-20T18:07:00Z</published><updated>2011-01-20T18:07:00Z</updated><content type="html">&lt;p&gt;&lt;meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type" /&gt;&lt;/p&gt;
&lt;p&gt;Once Windows Azure VMs are connected with your local machines using Connect (see &lt;a href="http://blogs.msdn.com/b/windows_azure_connect_team_blog/archive/2010/12/08/getting-started-with-windows-azure-connect.aspx" target="_blank"&gt;this blog&lt;/a&gt; if you are new to Connect), there are many interesting use cases you can enable.&lt;/p&gt;
&lt;p&gt;As we mentioned in &lt;a href="http://msdn.microsoft.com/en-us/library/gg508836.aspx" target="_blank"&gt;an earlier blog&lt;/a&gt;, application connectivity in Connect is governed by Windows firewall policy, just as within a normal network. If your application requires specific firewall settings to work, you will need to set appropriate firewall rules manually. But sometimes these firewall settings are not so obvious, so we thought we would save you some time by showing you the steps required to enable some common use cases.&lt;/p&gt;
&lt;p&gt;In this blog, we will show you how to enable file sharing on Windows Azure VMs. The steps below assume that you have enabled Remote Desktop for your Windows Azure role and have created an user account for it, and that you will be using this account to access file shares on your Windows Azure VMs. (Note, it is important to point out that any changes made during a Remote Desktop session don&amp;rsquo;t persist, so it should be for temporary use only. If you would like to create persistent file shares, you should use &lt;a href="http://blogs.msdn.com/b/windowsazurestorage/archive/2010/03/29/windows-azure-drive-demo-at-mix-2010.aspx" target="_blank"&gt;Windows Azure xdrive&lt;/a&gt; and skip step 4 through 7 below.)&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;0. First make sure the Windows Azure Connect connection is established. e.g. make sure you can ping your Azure VM from local machine and vice versa.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;1. Remote Desktop to your Windows Azure VM instance using the user account you set up. (In this example we assume that you created an user account "my_account".)&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;2. Run "wf.msc" to open the "Windows Firewall and Advanced Security" UI.&lt;/p&gt;
&lt;p&gt;3. Create a new inbound rule to allow file share:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Right click "Inbound Rules", choose "New Rule ...".&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-42-28-metablogapi/4466.image_5F00_3068EEFC.png"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-42-28-metablogapi/6521.image_5F00_thumb_5F00_0FE1AF4A.png" width="490" height="310" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Select "Predefined", choose "File and Printer sharing" from the drop down list.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-42-28-metablogapi/1346.image_5F00_6188299C.png"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-42-28-metablogapi/3225.image_5F00_thumb_5F00_5D11A8D5.png" width="723" height="580" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;In the &amp;ldquo;Predefined Rules&amp;rdquo; page, select &amp;ldquo;File and Printer Sharing (SMB-in) from the predefined rules list.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-42-28-metablogapi/7750.image_5F00_2ABD2BC1.png"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-42-28-metablogapi/8322.image_5F00_thumb_5F00_4B0495E6.png" width="720" height="578" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;In the next page, select &amp;ldquo;Allow the connection" and click &amp;ldquo;Finish&amp;rdquo;.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-42-28-metablogapi/8267.image_5F00_7BE81CB3.png"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-42-28-metablogapi/2313.image_5F00_thumb_5F00_2D738A49.png" width="725" height="581" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;4. Create a folder on the VM machine, e.g. d:\share.&lt;/p&gt;
&lt;p&gt;5. Create a network share&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Right click on the folder, select &amp;ldquo;Share&amp;hellip;&amp;rdquo;.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-42-28-metablogapi/6675.image_5F00_6EDD4773.png"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-42-28-metablogapi/1488.image_5F00_thumb_5F00_0A15A075.png" width="333" height="287" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;In the &amp;ldquo;File Sharing&amp;rdquo; dialog, add users you would like to give access to this share.&lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote&gt;
&lt;p&gt;When done, click on the &amp;ldquo;Share&amp;rdquo; button.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-42-28-metablogapi/0312.image_5F00_7B6AF48F.png"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-42-28-metablogapi/3630.image_5F00_thumb_5F00_6196BE60.png" width="622" height="442" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-42-28-metablogapi/0334.image_5F00_6BE7E2C0.png"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-42-28-metablogapi/3157.image_5F00_thumb_5F00_0B2A8994.png" width="622" height="440" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If you prefer command line, you can accomplish the task by running command:&lt;/p&gt;
&lt;p&gt;net share MyShare=d:\share /grant:my_account,FULL&lt;/p&gt;
&lt;p&gt;8. Now you should be able to connect to this share from your local machine. e.g. Run "net use * &lt;a href="file://\\RD00155D328928\MyShare"&gt;\\RD00155D328928\MyShare&lt;/a&gt;", where RD00155D328928 is the hostname of your Azure VM.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;--Jason Chen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10118265" width="1" height="1"&gt;</content><author><name>Windows Azure Connect Team</name><uri>http://blogs.msdn.com/Windows-Azure-Connect-Team/ProfileUrlRedirect.ashx</uri></author></entry><entry><title>Domain Joining Windows Azure roles</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b/windows_azure_connect_team_blog/archive/2010/12/10/domain-joining-windows-azure-roles.aspx" /><id>http://blogs.msdn.com/b/windows_azure_connect_team_blog/archive/2010/12/10/domain-joining-windows-azure-roles.aspx</id><published>2010-12-10T21:23:00Z</published><updated>2010-12-10T21:23:00Z</updated><content type="html">&lt;p&gt;&lt;meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type" /&gt;&lt;/p&gt;
&lt;p&gt;Windows Azure Connect supports domain joining Windows Azure role instances (i.e. the Virtual Machines on which your role runs) to an on-premises Active Directory. This opens up many scenarios such as logging in to Windows Azure role instances using domain accounts, connecting to an on-premises SQL server using Windows Integrated Auth, and migrating Line of Business (LOB) applications to the cloud that assume a domain-joined environment. This blog post provides a step-by-step walk through of how to domain join Windows Azure roles using Windows Azure Connect.&lt;/p&gt;
&lt;p&gt;0. If you are new to Windows Azure Connect and haven&amp;rsquo;t used it before, please read &lt;a href="http://msdn.microsoft.com/en-us/library/gg508836.aspx"&gt;this tutorial&lt;/a&gt; to learn the basics about Connect.&lt;/p&gt;
&lt;p&gt;1. First you need to prepare your domain for Connect.&lt;/p&gt;
&lt;p&gt;a) In the current CTP release, Connect requires a domain controller with an AD-integrated DNS server running on the same machine&lt;/p&gt;
&lt;p&gt;b) The DNS server should be configured to listen on all IP address. You can verify this by going to DNS Manager, right click on your server -&amp;gt; Properties, as shown in the below dialog.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-42-28-metablogapi/4377.clip_5F00_image001_5F00_49BAF6B2.png"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="clip_image001" border="0" alt="clip_image001" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-42-28-metablogapi/7827.clip_5F00_image001_5F00_thumb_5F00_04A2297C.png" width="413" height="473" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;c) We recommend you create a separate Organization Unit (OU) in Active Directory for your Windows Azure Role instances so that they can be easily managed. This step is optional, if you don&amp;rsquo;t specify an OU in the Connect plug-in settings, Azure Role instances will join the default computers container in AD.&lt;/p&gt;
&lt;p&gt;d) In the Connect plug-in settings, you will need to specify a domain user account with permission to join machines to the domain and (optionally) the OU described above.&lt;/p&gt;
&lt;p&gt;e) You will need to encrypt the password for this user account.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Start the Visual Studio Command Prompt as Administrator&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-42-28-metablogapi/5850.clip_5F00_image002_5F00_6F447413.png"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="clip_image002" border="0" alt="clip_image002" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-42-28-metablogapi/7827.clip_5F00_image002_5F00_thumb_5F00_479DF7E9.png" width="414" height="372" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Create a certificate by typing the following command, provide your own CN value and certificate file name in the highlighted area.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;makecert -sky exchange -r -n "CN=&lt;span style="background-color: #ffff00;"&gt;MyEncryptionCert&lt;/span&gt;" -pe -a sha1 -len 2048 -ss My -sr localMachine "&lt;span style="background-color: #ffff00;"&gt;MyEncryptionCert&lt;/span&gt;.cer"&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;After creating the certificate, you will need to export it. Open mmc snap-in for certificates -&amp;gt; Computer Account -&amp;gt; Personal -&amp;gt; Certificates. Find the certificate you just created, right click on the certificate -&amp;gt; All tasks -&amp;gt; Export -&amp;gt; Check Export private key -&amp;gt; enter a password -&amp;gt; follow through the wizard&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-42-28-metablogapi/8004.clip_5F00_image003_5F00_62D650EA.png"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="clip_image003" border="0" alt="clip_image003" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-42-28-metablogapi/8562.clip_5F00_image003_5F00_thumb_5F00_5B4AE17D.png" width="284" height="178" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Sign in to the Windows Azure portal, click on &amp;ldquo;Hosted Services, Storage account and CDN&amp;rdquo; on the left side, then select the &amp;ldquo;Hosted Services (n)&amp;rdquo; node. Under your Azure subscription, select the Azure service you are working on, select &amp;ldquo;Certificates&amp;rdquo;, then click &amp;ldquo;Add Certificate&amp;rdquo; on the tool bar. In the pop-up, select the certificate you just exported, provide the password for the certificate, and click on &amp;ldquo;Create&amp;rdquo;.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-42-28-metablogapi/3782.clip_5F00_image004_5F00_73DA7ECD.png"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="clip_image004" border="0" alt="clip_image004" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-42-28-metablogapi/7024.clip_5F00_image004_5F00_thumb_5F00_397F08EC.png" width="1028" height="558" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;In Visual Studio, go to the Property page of the Role you are domain joining. Click the &amp;ldquo;Certificate&amp;rdquo; tab, then &amp;ldquo;Add Certificate&amp;rdquo;. Select &amp;ldquo;LocalMachine&amp;rdquo; as the Store Location, and &amp;ldquo;My&amp;rdquo; as Store Name, and choose the certificate you created in the previous step.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-42-28-metablogapi/6431.clip_5F00_image005_5F00_311B3395.png"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="clip_image005" border="0" alt="clip_image005" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-42-28-metablogapi/0574.clip_5F00_image005_5F00_thumb_5F00_1DFA06E9.png" width="1028" height="218" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Now that you have prepared a certificate for encrypting your domain password, the next step is to actually encrypt it. Open notepad.exe, copy the script below into the notepad, change my_password (highlighted below) to the password you want to use.&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style="border-bottom: #ccc 1px solid; border-left: #ccc 1px solid; line-height: 12px; overflow-y: auto; margin: 0px; width: 600px; background: #f0f0f0; font-size: 12px; overflow: auto; padding: 0px;"&gt;$password = "&lt;/pre&gt;
&lt;p&gt;&lt;span style="background-color: #ffff00;"&gt;my_password&lt;/span&gt;&lt;/p&gt;
&lt;pre style="border-bottom: #ccc 1px solid; border-left: #ccc 1px solid; line-height: 12px; overflow-y: auto; margin: 0px; width: 600px; background: #f0f0f0; font-size: 12px; overflow: auto; padding: 0px;"&gt;"
$certs = dir cert:\LocalMachine\My
[System.Reflection.Assembly]::LoadWithPartialName("System.Security") | Out-Null
$collection = New-Object System.Security.Cryptography.X509Certificates.X509Certificate2Collection
$certs | ForEach-Object { $collection.Add($_) } | Out-Null
$cert = [System.Security.Cryptography.x509Certificates.X509Certificate2UI]::SelectFromCollection($collection, "", "Select a certifciate", 0)
$thumbprint = $cert[0].thumbprint
$pass = [Text.Encoding]::UTF8.GetBytes($password)
$content = new-object Security.Cryptography.Pkcs.ContentInfo -argumentList (,$pass)
$env = new-object Security.Cryptography.Pkcs.EnvelopedCms $content
$env.Encrypt((new-object System.Security.Cryptography.Pkcs.CmsRecipient(gi cert:\LocalMachine\My\$thumbprint)))
write-host "Writing encrypted password, cut/paste the text below the line to CSCFG file"
[Convert]::ToBase64String($env.Encode()) | Out-File .\encrypted_password.txt
Invoke-Item ".\encrypted_password.txt"&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;Launch a Windows Powershell console, copy and paste the modified script to the Powershell window and run it. Choose the certificate you just created when prompted. This script will output your encrypted password, for example:&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;MIIBDQYJKoZIhvcNAQcDoIH/MIH8AgEAMYHBMIG+AgEAMCcwEzERMA8GA1UEAxMIUFJBU0hBTlQCEJ00PIqEIdO0TksyqpDloL4wDQYJKoZIhvcNAQEBBQAEgYCPLv216vYMWnf/y1Q2jfGxopRwwSscpYlpvfH92c8S2MQ1JRUEe+urhZ9+GLmtuinUSlCu3gfov+NyNdaTLNps+7NO+y1uHd9qqhGB4tDqoDvxN5yyQa7pfAs8QiVL3lPWZhW0fO2VAmTPNuv5Q0JiJcXUSENngDxMm8+0EMubZjAzBgkqhkiG9w0BBwEwFAYIKoZIhvcNAwcECI2FhKjyfBKBgBDh89w0B7z6zEQp/bhRGMw2&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;You will use the encrypted password in the next step.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;2. Next you need to enable your Windows Azure role for Connect (see steps listed in &lt;a href="http://msdn.microsoft.com/en-us/library/gg508836.aspx"&gt;this tutorial&lt;/a&gt;) and configure it for domain-joining, by providing the domain join settings in your ServiceConfiguration.cscfg file. These settings are listed below.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;table style="table-layout: fixed; overflow: auto; word-break: break-all; width: 586px;" border="1" cellspacing="0" cellpadding="2"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td valign="top" width="320"&gt;
&lt;p&gt;&lt;strong&gt;Settings&lt;/strong&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="word-break: normal;" valign="top" width="198"&gt;
&lt;p&gt;&lt;strong&gt;Description&lt;/strong&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td valign="top" width="66"&gt;
&lt;p&gt;&lt;strong&gt;Required&lt;/strong&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td valign="top" width="320"&gt;
&lt;p&gt;&amp;lt;Setting name="Microsoft.WindowsAzure.Plugins.Connect.EnableDomainJoin" value="true" /&amp;gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="word-break: normal;" valign="top" width="198"&gt;
&lt;p&gt;Set &amp;ldquo;EnableDomainJoin&amp;rdquo; to true if you would like domain join Windows Azure role instances to on-premise AD.&lt;/p&gt;
&lt;/td&gt;
&lt;td valign="top" width="66"&gt;
&lt;p&gt;Yes&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td valign="top" width="320"&gt;
&lt;p&gt;&amp;lt;Setting name="Microsoft.WindowsAzure.Plugins.Connect.DomainFQDN" value="&lt;span style="background-color: #ffff00;"&gt;corp.contoso.com&lt;/span&gt;" /&amp;gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="word-break: normal;" valign="top" width="198"&gt;
&lt;p&gt;Set &amp;ldquo;DomainFQDN&amp;rdquo; to the fully qualified domain name of which your role instances need to join (see highlighted example).&lt;/p&gt;
&lt;/td&gt;
&lt;td valign="top" width="66"&gt;
&lt;p&gt;Yes&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td valign="top" width="320"&gt;
&lt;p&gt;&amp;lt;Setting name="Microsoft.WindowsAzure.Plugins.Connect.DomainControllerFQDN" value="&lt;span style="background-color: #ffff00;"&gt;myDC.corp.contoso.com&lt;/span&gt;" /&amp;gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="word-break: normal;" valign="top" width="198"&gt;
&lt;p&gt;Optionally, you can set &amp;ldquo;DomainControllerFQDN&amp;rdquo; to the fully qualified domain name of the domain controller (see highlighted example).&lt;/p&gt;
&lt;/td&gt;
&lt;td valign="top" width="66"&gt;
&lt;p&gt;No&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td valign="top" width="320"&gt;
&lt;p&gt;&amp;lt;Setting name="Microsoft.WindowsAzure.Plugins.Connect.DomainAccountName" value="&lt;span style="background-color: #ffff00;"&gt;corp\testuser&lt;/span&gt;" /&amp;gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="word-break: normal;" valign="top" width="198"&gt;
&lt;p&gt;Set &amp;ldquo;DomainAccountName&amp;rdquo; to the domain account that has permission to domain join Windows Azure role instances (see highlighted example).&lt;/p&gt;
&lt;/td&gt;
&lt;td valign="top" width="66"&gt;
&lt;p&gt;Yes&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td valign="top" width="320"&gt;
&lt;p&gt;&amp;lt;Setting name="Microsoft.WindowsAzure.Plugins.Connect.DomainPassword" value="&lt;span style="background-color: #ffff00;"&gt;MIIBFwYJKoZIhvcNAQcDoIIBCDCCAQQCAQAxgckwgcYCAQAwLzAbMRkwFwYDVQQDExBNeUVuY3J5cHRpb25DZXJ0AhCTEsiJ0zzrjktvASTLQh7qMA0GCSqGSIb3DQEBAQUABIGABGQW6efUv3fpewvgCcqxqfzJu5gmlUqXPg60aggvDeBYwyPL6xVqZ9DZYiYxbBmHSjJgzrIrLY+rP3EMtV/8G4f6hvyewasWvJgMe2vzwcMGSKqixcIRnCLuLov7zLgCsYylzZ1h4j/SIf0gUBtwC1leW4C07z+KtQb8fdDbi5wwMwYJKoZIhvcNAQcBMBQGCCqGSIb3DQMHBAiyEoiHBP8V8YAQ2PN+j2uY07qpS93N15uQkA==&lt;/span&gt;" /&amp;gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="word-break: normal;" valign="top" width="198"&gt;
&lt;p&gt;Set &amp;ldquo;DomainPassword&amp;rdquo; to the encrypted password you got in previous step (see highlighted example).&lt;/p&gt;
&lt;/td&gt;
&lt;td valign="top" width="66"&gt;
&lt;p&gt;Yes&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td valign="top" width="320"&gt;
&lt;p&gt;&amp;lt;Setting name="Microsoft.WindowsAzure.Plugins.Connect.DNSServers" value="&lt;span style="background-color: #ffff00;"&gt;myDC.corp.contoso.com&lt;/span&gt;" /&amp;gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="word-break: normal;" valign="top" width="198"&gt;
&lt;p&gt;Set &amp;ldquo;DNSServers&amp;rdquo; to the fully qualified domain name of the domain controller (see highlighted example).&lt;/p&gt;
&lt;/td&gt;
&lt;td valign="top" width="66"&gt;
&lt;p&gt;Yes&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td valign="top" width="320"&gt;
&lt;p&gt;&amp;lt;Setting name="Microsoft.WindowsAzure.Plugins.Connect.DomainOU" value="&lt;span style="background-color: #ffff00;"&gt;OU=AzureMachines,DC=corp,DC=contoso,DC=com&lt;/span&gt;" /&amp;gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="word-break: normal;" valign="top" width="198"&gt;
&lt;p&gt;Optionally, you can specify an OU container for your Azure role instances to join (see highlighted example).&lt;/p&gt;
&lt;/td&gt;
&lt;td valign="top" width="66"&gt;
&lt;p&gt;No&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td valign="top" width="320"&gt;
&lt;p&gt;&amp;lt;Setting name="&lt;span style="background-color: #ffff00;"&gt;Microsoft.WindowsAzure.Plugins.Connect.Administrators" value="corp\user1, corp\group1&lt;/span&gt;" /&amp;gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="word-break: normal;" valign="top" width="198"&gt;
&lt;p&gt;Optionally, you can specify existing on-premise AD users and groups (as a comma separated list) to add to the local Administrators group for your Azure role instances (see highlighted example).&lt;/p&gt;
&lt;/td&gt;
&lt;td valign="top" width="66"&gt;
&lt;p&gt;No&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td valign="top" width="320"&gt;
&lt;p&gt;&amp;lt;Setting name="Microsoft.WindowsAzure.Plugins.Connect.DomainSiteName" value="" /&amp;gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="word-break: normal;" valign="top" width="198"&gt;
&lt;p&gt;Reserved for future use. Leave the value as an empty string.&lt;/p&gt;
&lt;/td&gt;
&lt;td valign="top" width="66"&gt;
&lt;p&gt;No&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;Now that your Windows Azure roles is enabled for domain join, you can deploy it to Windows Azure. Once your Windows Azure role is successfully deployed and they are running in a &amp;ldquo;Ready&amp;rdquo; state, you should be able to see the role instances in the Connect portal (To enter the Connect portal, click the &amp;ldquo;Virtual Network&amp;rdquo; tab in the Azure portal, and then select the Windows Azure subscription that you want to use for Connect)&lt;/p&gt;
&lt;p&gt;3. Next install the Connect endpoint software on the Domain Controller (see steps listed in &lt;a href="http://msdn.microsoft.com/en-us/library/gg508836.aspx"&gt;this tutorial&lt;/a&gt; if this is new to you).&lt;/p&gt;
&lt;p&gt;4. Using the Connect portal, create a local machine group, which is connected to the Windows Azure Roles that you wish to domain join and has the Domain Controller as a member (see steps listed in &lt;a href="http://msdn.microsoft.com/en-us/library/gg508836.aspx"&gt;this tutorial&lt;/a&gt; if this is new to you).&lt;/p&gt;
&lt;p&gt;Once the &amp;ldquo;connection&amp;rdquo; is created between the Windows Azure role and the local group with the Domain Controller, within a few minutes you should see that the Windows Azure role instances are domain joined. You can tell if this has happened because the role instance names in the Connect portal will have domain suffixes (e.g. RD00155D3292FC.corp.mydomain.com).&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-42-28-metablogapi/6355.image_5F00_16248664.png"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-42-28-metablogapi/8831.image_5F00_thumb_5F00_6A440CA7.png" width="766" height="278" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;You should also see that the Windows Azure instances have been added as new computers in your Active Directory. In the screenshot below the Windows Azure instances were configured to join an OU &amp;ldquo;AzureMachines&amp;rdquo; in Active Directory.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-42-28-metablogapi/7838.image_5F00_0986B37B.png"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-42-28-metablogapi/0083.image_5F00_thumb_5F00_051032B4.png" width="472" height="169" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;You can verify that your role instances are actually domain-joined. For example, using the Remote Access feature in the Windows Azure portal, you can log into a role instance using a domain user account that was added to the Administrators group for your role. You can then view Computer Properties to confirm that the role instance is indeed domain-joined, as shown in the screenshot below.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-42-28-metablogapi/8546.image_5F00_0E437C47.png"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-42-28-metablogapi/4657.image_5F00_thumb_5F00_1B3D5C58.png" width="644" height="368" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Note: if you configured&amp;nbsp; Active Directory to apply Group Policy to your domain-joined Windows Azure instances, please make sure that the Group Policy does not configure a proxy server that is not reachable by Windows Azure.&amp;nbsp;&amp;nbsp; This will ensure that your domain-joined role instances continue to work with Windows Azure Connect; otherwise they may lose connectivity.&lt;/p&gt;
&lt;p&gt;--Jason Chen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10103409" width="1" height="1"&gt;</content><author><name>Windows Azure Connect Team</name><uri>http://blogs.msdn.com/Windows-Azure-Connect-Team/ProfileUrlRedirect.ashx</uri></author></entry><entry><title>Getting Started with Windows Azure Connect</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b/windows_azure_connect_team_blog/archive/2010/12/08/getting-started-with-windows-azure-connect.aspx" /><id>http://blogs.msdn.com/b/windows_azure_connect_team_blog/archive/2010/12/08/getting-started-with-windows-azure-connect.aspx</id><published>2010-12-08T22:13:00Z</published><updated>2010-12-08T22:13:00Z</updated><content type="html">&lt;p&gt;Windows Azure Connect (previously known as Project codename Sydney) is a new feature that enables Windows Azure users to setup secure, IP-level network connectivity between their Windows Azure services and on-premises resources. Windows Azure Connect is currently available as a CTP (invite-only, so if you are interested in trying out you will need to request access through the new &lt;a href="http://windows.azure.com"&gt;Windows Azure portal&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;In this first post, we wanted to provide a few links to help you get started with Windows Azure Connect.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://www.microsoft.com/windowsazure/virtualnetwork/default.aspx"&gt;Overview of Windows Azure Connect&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://bit.ly/cSXOaC"&gt;PDC 2010 presentation&lt;/a&gt; on &amp;ldquo;Understanding Windows Azure Connect&amp;rdquo;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/gg508836.aspx"&gt;Step-by-step tutorial&lt;/a&gt; that walks through how to setup Windows Azure Connect&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If you have questions or feedback, you can post them to the &lt;a href="http://social.msdn.microsoft.com/Forums/en-US/windowsazureconnectivity/threads"&gt;Connectivity forum&lt;/a&gt;.&amp;nbsp;&amp;nbsp; You can of course leave comments on the blog as well. We look forward to hearing from you!&lt;/p&gt;
&lt;p&gt;--Jason Chen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10102305" width="1" height="1"&gt;</content><author><name>Windows Azure Connect Team</name><uri>http://blogs.msdn.com/Windows-Azure-Connect-Team/ProfileUrlRedirect.ashx</uri></author></entry></feed>