tag:blogger.com,1999:blog-68015843951471993822024-03-13T11:55:30.281-07:00Windows Azure BizTalk ServicesAnonymoushttp://www.blogger.com/profile/13241506999804952606noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-6801584395147199382.post-85648919036355065532014-10-06T11:46:00.001-07:002014-10-06T20:03:12.916-07:00Azure Active Directory integration on BizTalk Portal<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="font-family: inherit;">BizTalk Portal is now integrated with Azure Active Directory. This feature enables few important scenarios mentioned below - </span><br />
<span style="font-family: inherit;"><br /></span>
<br />
<h3 style="text-align: left;">
<span style="font-family: inherit;">Login to BizTalk Portal using organizational accounts</span></h3>
<ul style="text-align: left;">
<li><span style="font-family: inherit;">Users can now use their organizational accounts to manage their BizTalk Services through the BizTalk Portal provided their organizational accounts are associated with Azure Active Directory. Consider an organization 'contoso' which is integrated with Azure Active Directory. Any user from this organization (e.g. bob@contoso.com) can login to the BizTalk Portal and manage BizTalk Services he owns.</span></li>
<li><span style="font-family: inherit;">A user logged in to BizTalk Portal using organizational account can add more users from his/her organization using the 'Add User' button in 'Settings' tab to manage the same BizTalk Service. For example, bob@contoso.com can invite mary@contoso.com who is another employee in his organization (i.e. contoso) to manage the same BizTalk Service.</span></li>
</ul>
<br />
<h3 style="text-align: left;">
<span style="font-family: inherit;">Login to BizTalk Portal using your Microsoft accounts</span></h3>
<ul style="text-align: left;">
<li><span style="font-family: inherit;">Users who don't want to use their organizational accounts or who don't have one can continue to use their Microsoft accounts (hotmail.com, live.com, outlook.com etc.) to manage their BizTalk Services through the BizTalk Portal. For example, bob@hotmail.com can manage BizTalk Services created in his personal subscriptions.</span></li>
<li><span style="font-family: inherit;">A user logged in to BizTalk Portal using a Microsoft account can add other Microsoft accounts using the 'Add User' button in 'Settings' tab to manage the same BizTalk Service. For example. bob@hotmail.com can invite mary@outlook.com to manage the BizTalk Service.</span></li>
</ul>
<br />
<h3 style="text-align: left;">
<span style="font-family: inherit;">Automatic registration of user who creates the BizTalk Service</span></h3>
<ul style="text-align: left;">
<li><span style="font-family: inherit;">The user who creates the BizTalk Service on Azure Portal is automatically registered as administrator of the same on BizTalk Portal. He/she doesn't need to go through the (painful ? :)) process of copying the ACS secrets from Azure Portal and pasting them in the user registration page provided on the BizTalk Portal.</span></li>
<li><span style="font-family: inherit;">A user can add more users through the steps mentioned in above sections. Henceforth users probably won't even need to copy the secrets from Azure Portal. A user needs to do this only if he wants to go through explicit user registration flow on BizTalk Portal.</span></li>
</ul>
<br />
<h3 style="text-align: left;">
<span style="font-family: inherit;">Gotchas</span></h3>
<ul style="text-align: left;">
<li><span style="font-family: inherit;">Hybrid of Microsoft account and Organizational accounts won't work - A BizTalk Service can be either associated with Microsoft accounts or Organizational accounts. Therefore, all user accounts managing a particular BizTalk Service should either be Microsoft accounts or Organizational accounts.</span></li>
<li><span style="font-family: inherit;">Users from different organizations cannot manage same BizTalk Service - A BizTalk Service can be associated with only one organization. Therefore, all organzational users accounts managing a particular BizTalk Service should belong to the same organization.</span></li>
</ul>
You will get following error on the register account page in either of the cases mentioned above -<br />
<div>
<i><b>Microsoft Azure BizTalk Services deployment registration has failed.</b></i></div>
<div>
<i><b>Registration has failed..</b></i></div>
<div>
<br /></div>
<h2 style="text-align: left;">
<span style="font-family: inherit;">Related Links</span></h2>
<ul style="text-align: left;">
<li><span style="font-family: inherit;"><a href="http://blogs.msdn.com/b/vinaysingh/archive/2014/10/06/azure-active-directory-integration-on-biztalk-portal.aspx">Azure Active Directory integration on BizTalk Portal on my MSDN blog</a></span></li>
<li><a href="http://msdn.microsoft.com/en-us/library/azure/hh689837.aspx">Registering and Updating a BizTalk Service Deployment on the BizTalk Services Portal</a></li>
<li><a href="http://msdn.microsoft.com/en-us/library/azure/dn509560.aspx">Associating Multiple Login IDs with a BizTalk Services Deployment</a></li>
</ul>
</div>
Anonymoushttp://www.blogger.com/profile/13241506999804952606noreply@blogger.com1tag:blogger.com,1999:blog-6801584395147199382.post-6880725810982728862013-12-12T07:18:00.002-08:002013-12-13T00:12:50.473-08:00Restore BizTalk Services<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="MsoNormal">
<span style="font-family: inherit;">In my previous <a href="http://biztalkservices.blogspot.com/2013/12/backup-biztalk-services.html">post</a>
we covered backup of BizTalk Services. In this post we will cover the other
part of the story, i.e. restore of BizTalk Services. To re-iterate, backup-restore
feature provides solution for following scenarios:</span></div>
<div class="MsoNormal">
</div>
<ul style="text-align: left;">
<li><span style="text-indent: -0.25in;"><span style="font-family: inherit;">Disaster Recovery</span></span></li>
<li><span style="text-indent: -0.25in;"><span style="font-family: inherit;">Service migration from dev to prod</span></span></li>
<li><span style="font-family: inherit;"><span style="text-indent: -0.25in;">Upgrade service edition (basic to </span><span style="text-indent: -0.25in;">standard, basic to</span><b style="text-indent: -0.25in;"> </b><span style="text-indent: -0.25in;">premium and standard to </span><span style="text-indent: -0.25in;">premium)</span></span></li>
</ul>
<br />
<div class="MsoListParagraphCxSpMiddle" style="mso-list: l1 level1 lfo1; text-indent: -.25in;">
<span style="font-family: inherit;"><o:p></o:p></span></div>
<div class="MsoListParagraphCxSpLast">
<o:p><span style="font-family: inherit;"> </span></o:p><b><span style="font-family: inherit;">Note: Backup-restore feature
is not provided to Developer edition.</span></b></div>
<div class="MsoListParagraphCxSpLast">
<b><span style="font-family: inherit;"><br /></span></b></div>
<div class="MsoNormal">
<strong><span style="font-family: inherit;"><br /></span></strong></div>
<h2 style="text-align: left;">
<strong><span style="font-family: inherit; font-size: large;">Pre-requisites and Setup </span></strong></h2>
<div class="MsoNormal">
<span style="font-family: inherit;">You need to install Windows Azure PowerShell on your machine
and download Windows Azure BizTalk Service Management PowerShell Cmdlets.
Details about both of these is available <a href="http://code.msdn.microsoft.com/windowsazure/Windows-Azure-BizTalk-91e1bdf3">here</a>.
This link contains a sample for management of BizTalk Services through PowerShell.
Follow the description of this sample to setup your machine. Summarizing the
steps needed to be performed:</span></div>
<div class="MsoNormal">
</div>
<ol style="text-align: left;">
<li><span style="text-indent: -0.25in;"><span style="font-family: inherit;">Install Windows Azure PowerShell</span></span></li>
<li><span style="text-indent: -0.25in;"><span style="font-family: inherit;">Compile the sample application to generate Microsoft.WindowsAzure.Management.BizTalkService.dll</span></span></li>
<li><span style="text-indent: -0.25in;"><span style="font-family: inherit;">Import Microsoft.WindowsAzure.Management.BizTalkService.dll</span></span></li>
<li><span style="text-indent: -0.25in;"><span style="font-family: inherit;">Set Azure Subscription</span></span></li>
</ol>
<div style="text-indent: -24px;">
<span style="font-family: inherit;"><br /></span></div>
<br />
<div class="MsoListParagraphCxSpLast" style="mso-list: l0 level1 lfo2; text-indent: -.25in;">
<span style="font-family: inherit;"><o:p></o:p></span></div>
<h2 style="text-align: left;">
<span style="font-family: inherit; font-size: large;">Perform Restore</span></h2>
<h1>
<span style="font-family: inherit;"><o:p></o:p></span></h1>
<h3 style="text-align: left;">
<span style="font-family: inherit;">Set Azure Subscription</span></h3>
<h2>
<span style="font-family: inherit;"><o:p></o:p></span></h2>
<div class="MsoNormal">
<span style="font-family: inherit;">If you followed the steps mentioned in the sample's
description you should have Windows Azure PowerShell command window open with
subscription set to the one where your BizTalk Service is provisioned. Execute
following commands to set Azure subscription: <o:p></o:p></span></div>
<table border="0" cellpadding="0" cellspacing="0" class="MsoNormalTable" style="border-collapse: collapse; mso-yfti-tbllook: 1184;">
<colgroup><col style="width: 1031px;"></col></colgroup>
<tbody>
<tr>
<td style="border-bottom: solid #9CC2E5 1.5pt; border: solid #BDD6EE 1.0pt; mso-border-alt: solid #BDD6EE .5pt; mso-border-bottom-alt: solid #9CC2E5 1.5pt; padding: .75pt 5.25pt .75pt 5.25pt; width: 751.1pt;" width="1001"><div style="background: white;">
<span style="font-family: inherit;"><span style="font-size: 10pt;">C:\PS</span><span style="color: grey; font-size: 10pt;">></span><span style="font-size: 10pt;"> </span><span style="color: orangered; font-size: 10pt;">$subID</span><span style="font-size: 10pt;"> </span><span style="color: grey; font-size: 10pt;">=</span><span style="font-size: 10pt;"> <Subscription ID</span><span style="color: grey; font-size: 10pt;">> </span><o:p></o:p></span></div>
<div style="background: white;">
<span style="font-family: inherit;"><span style="font-size: 10pt;">C:\PS</span><span style="color: grey; font-size: 10pt;">> </span><span style="color: orangered; font-size: 10pt;">$thumbprint</span><span style="font-size: 10pt;"> </span><span style="color: grey; font-size: 10pt;">=</span><span style="font-size: 10pt;"> <Certificate Thumbprint</span><span style="color: grey; font-size: 10pt;">></span><span style="font-size: 10pt;"> </span><o:p></o:p></span></div>
<div style="background: white;">
<span style="font-family: inherit;"><span style="font-size: 10pt;">C:\PS</span><span style="color: grey; font-size: 10pt;">> </span><span style="color: orangered; font-size: 10pt;">$myCert</span><span style="font-size: 10pt;"> </span><span style="color: grey; font-size: 10pt;">=</span><span style="font-size: 10pt;"> Get</span><span style="color: grey; font-size: 10pt;">-</span><span style="font-size: 10pt;">Item cert:\\LocalMachine\My\</span><span style="color: orangered; font-size: 10pt;">$thumbprint</span><span style="font-size: 10pt;"> </span><o:p></o:p></span></div>
<div style="background: white;">
<span style="font-family: inherit;"><span style="font-size: 10pt;">C:\PS</span><span style="color: grey; font-size: 10pt;">></span><span style="font-size: 10pt;"> Set</span><span style="color: grey; font-size: 10pt;">-</span><span style="font-size: 10pt;">AzureSubscription –SubscriptionName </span><span style="color: #a31515; font-size: 10pt;">"MySub"</span><span style="font-size: 10pt;"> </span><span style="color: grey; font-size: 10pt;">-</span><span style="font-size: 10pt;">SubscriptionId
</span><span style="color: orangered; font-size: 10pt;">$subID</span><span style="font-size: 10pt;"> </span><span style="color: grey; font-size: 10pt;">-</span><span style="font-size: 10pt;">Certificate </span><span style="color: orangered; font-size: 10pt;">$myCert</span><span style="font-size: 10pt;"> </span><o:p></o:p></span></div>
</td>
</tr>
</tbody></table>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<o:p><span style="font-family: inherit;"><br /></span></o:p></div>
<div style="background: white;">
<span style="font-family: inherit;"><strong>Note: Install the management
certificate for your subscription in machine's certificate store under Local Machine.
</strong><o:p></o:p></span></div>
<div style="background: white;">
<strong><span style="font-family: inherit;"><br /></span></strong></div>
<h3 style="text-align: left;">
<span style="font-family: inherit;">Execute Restore Cmdlet</span></h3>
<h2>
<span style="font-family: inherit;"><o:p></o:p></span></h2>
<div class="MsoNormal">
<span style="font-family: inherit;">Execute the Restore-AzureBizTalkService cmdlet to restore a BizTalk
Service deployment from a backup. This cmdlet takes following inputs:</span></div>
<div class="MsoNormal">
</div>
<ol style="text-align: left;">
<li><span style="text-indent: -0.25in;"><span style="font-family: inherit;">ResourceName – Name of your biztalk service</span></span></li>
<li><span style="text-indent: -0.25in;"><span style="font-family: inherit;">Location – Region where you want to restore the
service</span></span></li>
<li><span style="text-indent: -0.25in;"><span style="font-family: inherit;">BackupName – Container inside storage account
where backup is stored</span></span></li>
<li><span style="text-indent: -0.25in;"><span style="font-family: inherit;">BackupStoreConectionString
– Storage account connection string where backup is stored</span></span></li>
<li><span style="font-family: inherit;"><span style="text-indent: -0.25in;">Configuration
– Configuration file which contains additional input parameters for service
restoration. The </span><a href="http://code.msdn.microsoft.com/windowsazure/Windows-Azure-BizTalk-91e1bdf3" style="text-indent: -0.25in;">sample</a><span style="text-indent: -0.25in;">
contains couple of configuration files that you can modify. I picked up the </span><em style="text-indent: -0.25in;">sample_create_mandatory.xml</em><span style="text-indent: -0.25in;"> file as it only contains the
mandatory parameters required to be provided. Another section below covers this
configuration file in detail.</span></span></li>
</ol>
<br />
<div class="MsoListParagraphCxSpMiddle" style="mso-list: l2 level1 lfo3; text-indent: -.25in;">
<span style="font-family: inherit;"><o:p></o:p></span></div>
<div class="MsoListParagraphCxSpLast">
<br /></div>
<table border="0" cellpadding="0" cellspacing="0" class="MsoNormalTable" style="border-collapse: collapse; mso-yfti-tbllook: 1184;">
<tbody>
<tr style="height: 12.75pt; mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border-bottom: solid #9CC2E5 1.5pt; border: solid #BDD6EE 1.0pt; height: 12.75pt; mso-border-alt: solid #BDD6EE .5pt; mso-border-bottom-alt: solid #9CC2E5 1.5pt; padding: .75pt 5.25pt .75pt 5.25pt;"><span style="font-family: inherit;"><span style="font-size: 10pt;">C:\PS</span><span style="color: grey; font-size: 10pt;">></span><span style="font-size: 10pt;"> Restore-AzureBizTalkService
-ResourceName <Biztalk Service name> -Location "<Region>"
-BackupName <Backup container name> -BackupStoreConnectionString "</span><strong> </strong><span style="font-size: 10pt;">BlobEndpoint=https://<account
name>.blob.core.windows.net/;QueueEndpoint=https://<account
name>.queue.core.windows.net/;TableEndpoint=https://<account
name>.table.core.windows.net/;AccountName=<account
name>;AccountKey=<account key>;DefaultEndpointsProtocol=https" -ConfigurationFile
"Configuration xml file path"</span><o:p></o:p></span></td>
</tr>
</tbody></table>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: inherit;">Or...<o:p></o:p></span></div>
<table border="0" cellpadding="0" cellspacing="0" class="MsoNormalTable" style="border-collapse: collapse; mso-yfti-tbllook: 1184;">
<tbody>
<tr>
<td style="border-bottom: solid #9CC2E5 1.5pt; border: solid #BDD6EE 1.0pt; mso-border-alt: solid #BDD6EE .5pt; mso-border-bottom-alt: solid #9CC2E5 1.5pt; padding: .75pt 5.25pt .75pt 5.25pt;"><span style="font-family: inherit;"><span style="font-size: 10pt;">C:\PS</span><span style="color: grey; font-size: 10pt;">></span><span style="font-size: 10pt;"> Restore-AzureBizTalkService
-ResourceName <Biztalk Service name> -Location "<Region>"
-BackupName <Backup container name> -BackupStoreConnectionString "</span><strong> </strong><span style="font-size: 10pt;">DefaultEndpointsProtocol=https;AccountName=<your
storage account name>;AccountKey=<your storage account key>" -ConfigurationFile
"Configuration xml file path"</span><o:p></o:p></span></td>
</tr>
</tbody></table>
<div class="MsoNormal">
<br /></div>
<br />
<div class="MsoNormal">
<strong><span style="font-family: inherit;">Note: This may take up around
30 minutes to 1 hour to complete.<o:p></o:p></span></strong></div>
<div class="MsoNormal">
<strong><span style="font-family: inherit;"><br /></span></strong></div>
<div class="MsoNormal">
<br /></div>
<span style="font-family: inherit;"><em>Request submission… </em><o:p></o:p></span><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiY69j3xRd7RbmshmxwdXaHoXj59hyAUty0OTUiDVtib8PrhtsIKuykA9Xm5z9jyiXWXJWl8WqguFTNnJVbscwgN1pBYKpoBvUMfzRGigI9iqnwyCAH-3LkenIEfeN2EvTP8n-hUIgA3j0/s1600/a.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><span style="font-family: inherit;"><img border="0" height="99" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiY69j3xRd7RbmshmxwdXaHoXj59hyAUty0OTUiDVtib8PrhtsIKuykA9Xm5z9jyiXWXJWl8WqguFTNnJVbscwgN1pBYKpoBvUMfzRGigI9iqnwyCAH-3LkenIEfeN2EvTP8n-hUIgA3j0/s640/a.png" width="640" /></span></a></div>
<em><span style="font-family: inherit;"><br /></span></em>
<em><span style="font-family: inherit;"><br /></span></em>
<br />
<div class="MsoNormal">
<span style="font-family: inherit;"><strong><!--[if gte vml 1]><v:shapetype id="_x0000_t75" coordsize="21600,21600"
o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f"
stroked="f">
<v:stroke joinstyle="miter"/>
<v:formulas>
<v:f eqn="if lineDrawn pixelLineWidth 0"/>
<v:f eqn="sum @0 1 0"/>
<v:f eqn="sum 0 0 @1"/>
<v:f eqn="prod @2 1 2"/>
<v:f eqn="prod @3 21600 pixelWidth"/>
<v:f eqn="prod @3 21600 pixelHeight"/>
<v:f eqn="sum @0 0 1"/>
<v:f eqn="prod @6 1 2"/>
<v:f eqn="prod @7 21600 pixelWidth"/>
<v:f eqn="sum @8 21600 0"/>
<v:f eqn="prod @7 21600 pixelHeight"/>
<v:f eqn="sum @10 21600 0"/>
</v:formulas>
<v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"/>
<o:lock v:ext="edit" aspectratio="t"/>
</v:shapetype><v:shape id="Picture_x0020_3" o:spid="_x0000_i1027" type="#_x0000_t75"
style='width:645pt;height:100.5pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\vinaysin\AppData\Local\Temp\msohtmlclip1\01\clip_image001.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></strong><strong><o:p></o:p></strong></span></div>
<em><span style="font-family: inherit;">Request completion…<o:p></o:p></span></em><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDQgtLXUy_1IN1GDF0fKPFu2Uzrbbat0d66ZnDyJuKfWkGL3bEVByj2x7vJZe3SVzCCmNu9hxJJDxvuFVhuGTW6VX_Zkm_FZq6WLm9bm3KWJ3L5z6UKOi-YsxQT99ZHAxnlb3HXAbByO0/s1600/b.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><span style="font-family: inherit;"><img border="0" height="42" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDQgtLXUy_1IN1GDF0fKPFu2Uzrbbat0d66ZnDyJuKfWkGL3bEVByj2x7vJZe3SVzCCmNu9hxJJDxvuFVhuGTW6VX_Zkm_FZq6WLm9bm3KWJ3L5z6UKOi-YsxQT99ZHAxnlb3HXAbByO0/s640/b.png" width="640" /></span></a></div>
<div class="MsoNormal">
<span style="font-family: inherit;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: inherit;"><br /></span></div>
<div class="MsoNormal">
<em><span style="font-family: inherit;">On Azure Portal…<o:p></o:p></span></em></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoy4c0Uyv9t6pJRRTl4QQiGYqOhdOCD23V-Y5D4I1sMzsFIGtxCaMBABVegBIYqbESElGhi-InII4l4kxOx3lHQO0dTW3zEKvRwxKWmCwsN1f9QhwTjySSPPXqqAixNdtAiVr6Z0eQLAY/s1600/c.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><span style="font-family: inherit;"><img border="0" height="132" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoy4c0Uyv9t6pJRRTl4QQiGYqOhdOCD23V-Y5D4I1sMzsFIGtxCaMBABVegBIYqbESElGhi-InII4l4kxOx3lHQO0dTW3zEKvRwxKWmCwsN1f9QhwTjySSPPXqqAixNdtAiVr6Z0eQLAY/s640/c.png" width="640" /></span></a></div>
<div class="MsoNormal">
<span style="font-family: inherit;"><br /></span></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<br /></div>
<h3 style="text-align: left;">
<span style="font-family: inherit;">Configuration File</span></h3>
<h2>
<span style="font-family: inherit;"><o:p></o:p></span></h2>
<div class="MsoNormal">
<span style="font-family: inherit;">Configuration file contains the input parameters required by
various management operations like New, Restore, Update etc. Here is a sample
configuration file with mandatory parameters:</span></div>
<div class="MsoNormal">
<span style="font-family: inherit;"><br /></span></div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTable15Grid6ColorfulAccent1" style="border-collapse: collapse; border: none; mso-border-alt: solid #9CC2E5 .5pt; mso-border-themecolor: accent1; mso-border-themetint: 153; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184; width: 725px;">
<tbody>
<tr>
<td style="border-bottom: solid #9CC2E5 1.5pt; border: solid #9CC2E5 1.0pt; mso-border-alt: solid #9CC2E5 .5pt; mso-border-bottom-alt: solid #9CC2E5 1.5pt; mso-border-bottom-themecolor: accent1; mso-border-bottom-themecolor: accent1; mso-border-bottom-themetint: 153; mso-border-bottom-themetint: 153; mso-border-themecolor: accent1; mso-border-themecolor: accent1; mso-border-themetint: 153; mso-border-themetint: 153; padding: 0in 5.4pt 0in 5.4pt; width: 544.1pt;" valign="top" width="725"><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-yfti-cnfc: 5; text-autospace: none;">
<span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold;"><?</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold;">xml</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold;"> </span><span style="color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold;">version</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold;">=</span><span style="color: #2e74b5; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold; mso-themecolor: accent1; mso-themeshade: 191;">"</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold;">1.0</span><span style="color: #2e74b5; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold; mso-themecolor: accent1; mso-themeshade: 191;">"</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold;"> </span><span style="color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold;">encoding</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold;">=</span><span style="color: #2e74b5; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold; mso-themecolor: accent1; mso-themeshade: 191;">"</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold;">utf-8</span><span style="color: #2e74b5; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold; mso-themecolor: accent1; mso-themeshade: 191;">"</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold;">?></span><span style="color: #2e74b5; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold; mso-themecolor: accent1; mso-themeshade: 191;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-yfti-cnfc: 5; text-autospace: none;">
<span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold;"><</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold;">ServiceSettings</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold;"> </span><span style="color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold;">xmlns:xsi</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold;">=</span><span style="color: #2e74b5; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold; mso-themecolor: accent1; mso-themeshade: 191;">"</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold;">http://www.w3.org/2001/XMLSchema-instance</span><span style="color: #2e74b5; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold; mso-themecolor: accent1; mso-themeshade: 191;">"</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold;"> </span><span style="color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold;">xmlns:xsd</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold;">=</span><span style="color: #2e74b5; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold; mso-themecolor: accent1; mso-themeshade: 191;">"</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold;">http://www.w3.org/2001/XMLSchema</span><span style="color: #2e74b5; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold; mso-themecolor: accent1; mso-themeshade: 191;">"</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold;">></span><span style="color: #2e74b5; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold; mso-themecolor: accent1; mso-themeshade: 191;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-yfti-cnfc: 5; text-autospace: none;">
<span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold;"> <</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold;">ServiceVersion</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold;">></span><span style="color: #2e74b5; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold; mso-themecolor: accent1; mso-themeshade: 191;">1.1.0</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold;"></</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold;">ServiceVersion</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold;">></span><span style="color: #2e74b5; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold; mso-themecolor: accent1; mso-themeshade: 191;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-yfti-cnfc: 5; text-autospace: none;">
<span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold;"> <</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold;">Edition</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold;">></span><span style="color: #2e74b5; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold; mso-themecolor: accent1; mso-themeshade: 191;">developer</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold;"></</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold;">Edition</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold;">></span><span style="color: #2e74b5; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold; mso-themecolor: accent1; mso-themeshade: 191;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-yfti-cnfc: 5; text-autospace: none;">
<span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold;"> <</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold;">UnitCount</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold;">></span><span style="color: #2e74b5; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold; mso-themecolor: accent1; mso-themeshade: 191;">1</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold;"></</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold;">UnitCount</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold;">></span><span style="color: #2e74b5; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold; mso-themecolor: accent1; mso-themeshade: 191;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-yfti-cnfc: 5; text-autospace: none;">
<span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold;"> <</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold;">TrackingStoreConnectionString</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold;">></span><span style="color: #2e74b5; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold; mso-themecolor: accent1; mso-themeshade: 191;">Data Source=tcp:{server name}.database.windows.net;Initial
Catalog={database name};Integrated Security=False;User ID={user name}@{server
name};Password={password};Asynchronous Processing=True;Encrypt=True;TrustServerCertificate=False</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold;"></</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold;">TrackingStoreConnectionString</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold;">></span><span style="color: #2e74b5; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold; mso-themecolor: accent1; mso-themeshade: 191;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-yfti-cnfc: 5; text-autospace: none;">
<span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold;"> <</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold;">MonitoringStoreConnectionString</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold;">></span><span style="color: #2e74b5; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold; mso-themecolor: accent1; mso-themeshade: 191;">BlobEndpoint=https://{storage account
name}.blob.core.windows.net/;QueueEndpoint=https://{storage account
name}.queue.core.windows.net/;TableEndpoint=https://{storage account
name}.table.core.windows.net/;AccountName={storage account
name};AccountKey={storage account key};DefaultEndpointsProtocol=https</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold;"></</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold;">MonitoringStoreConnectionString</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold;">></span><span style="color: #2e74b5; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold; mso-themecolor: accent1; mso-themeshade: 191;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-yfti-cnfc: 5; text-autospace: none;">
<span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold;"></</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold;">ServiceSettings</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-weight: bold;">></span><b><span style="color: #2e74b5; font-family: Consolas; font-size: 9.5pt; mso-themecolor: accent1; mso-themeshade: 191;"><o:p></o:p></span></b></div>
</td>
</tr>
</tbody></table>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: inherit;">You need to provide appropriate values for following
parameters in the configuration:</span></div>
<div class="MsoNormal">
</div>
<ol style="text-align: left;">
<li><span style="text-indent: -0.25in;"><span style="font-family: inherit;">Edition: Possible values for edition are</span></span></li>
<ul>
<li><span style="text-indent: -0.25in;"><span style="font-family: inherit;">developer</span></span></li>
<li><span style="text-indent: -0.25in;"><span style="font-family: inherit;">standard</span></span></li>
<li><span style="text-indent: -0.25in;"><span style="font-family: inherit;">premium</span></span></li>
<li><span style="text-indent: -0.25in;"><span style="font-family: inherit;">basic</span></span></li>
</ul>
<li><span style="text-indent: -0.25in;"><span style="font-family: inherit;">Tracking store connection string</span></span></li>
<li><span style="text-indent: -0.25in;"><span style="font-family: inherit;">Monitoring/Archiving store connection string</span></span></li>
</ol>
<div class="MsoListParagraphCxSpLast">
<br /></div>
<h3 style="text-align: left;">
<span style="font-family: inherit;">Execute Resume Cmdlet</span></h3>
<h2>
<span style="font-family: inherit;"><o:p></o:p></span></h2>
<div class="MsoNormal">
<span style="font-family: inherit;">BizTalk Service gets restored in a <a href="http://msdn.microsoft.com/en-us/library/windowsazure/dn232419.aspx">suspended</a>
state where the service accept only management operations but <span lang="EN">runtime messages are not processed. Suspended
state lets you to change any configuration of the service before message
processing can start.<o:p></o:p></span></span></div>
<div class="MsoNormal">
<span style="font-family: inherit;">Execute the Resume-AzureBizTalkService cmdlet to resume the BizTalk
Service. This cmdlet takes following inputs:</span></div>
<div class="MsoNormal">
</div>
<ol style="text-align: left;">
<li><span style="text-indent: -0.25in;"><span style="font-family: inherit;">ResourceName – Name of your biztalk service</span></span></li>
</ol>
<table border="0" cellpadding="0" cellspacing="0" class="MsoNormalTable" style="border-collapse: collapse; mso-yfti-tbllook: 1184; width: 798px;">
<tbody>
<tr style="height: 13.9pt; mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border-bottom: solid #9CC2E5 1.5pt; border: solid #BDD6EE 1.0pt; height: 13.9pt; mso-border-alt: solid #BDD6EE .5pt; mso-border-bottom-alt: solid #9CC2E5 1.5pt; padding: .75pt 5.25pt .75pt 5.25pt;"><span style="font-family: inherit;"><span style="font-size: 10pt;">C:\PS</span><span style="color: grey; font-size: 10pt;">></span><span style="font-size: 10pt;"> Resume-AzureBizTalkService
-ResourceName <Biztalk Service name></span><o:p></o:p></span></td>
</tr>
</tbody></table>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<strong><span style="font-family: inherit;">Note: This may take up around
15 minutes to complete.<o:p></o:p></span></strong></div>
<div class="MsoNormal">
<strong><span style="font-family: inherit;"><br /></span></strong></div>
<div class="MsoNormal">
<strong><span style="font-family: inherit;"><br /></span></strong></div>
<div class="MsoNormal">
<em><span style="font-family: inherit;">Request submission…<o:p></o:p></span></em></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEht89Aic9wvg6820jFLKkVu3xEo61Da2qIfP-BBe4NSEWL_c81eG_XHxnJXPXxoJ97tjUlkMHGCo33PewL-C_j4bOgthxZtKgK0F3ZfsRtnhOo9446Q9bf1qzll-Win7dEr19VHD28OqCs/s1600/d.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><span style="font-family: inherit;"><img border="0" height="44" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEht89Aic9wvg6820jFLKkVu3xEo61Da2qIfP-BBe4NSEWL_c81eG_XHxnJXPXxoJ97tjUlkMHGCo33PewL-C_j4bOgthxZtKgK0F3ZfsRtnhOo9446Q9bf1qzll-Win7dEr19VHD28OqCs/s640/d.png" width="640" /></span></a></div>
<br />
<em><span style="font-family: inherit;">Request completion…</span></em><br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhajXnVWalvrTnHkvUAZBes1YQpIJn1TRiDW5mBYr3YRiEEdvnzdFaBcKfP5yldwCTg8KKKJna7hL8IaeTAgnCG3S2eCYtOJu5K5RWWiCZm1OASZxoGT_ifmt-u-Q6S7gIMimtOXcNPoiI/s1600/e.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><span style="font-family: inherit;"><img border="0" height="36" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhajXnVWalvrTnHkvUAZBes1YQpIJn1TRiDW5mBYr3YRiEEdvnzdFaBcKfP5yldwCTg8KKKJna7hL8IaeTAgnCG3S2eCYtOJu5K5RWWiCZm1OASZxoGT_ifmt-u-Q6S7gIMimtOXcNPoiI/s640/e.png" width="640" /></span></a><em><span style="font-family: inherit;"><br /></span></em><br />
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;"><br /></span>
<br />
<div class="MsoNormal">
<em><span style="font-family: inherit;">On Azure Portal…<o:p></o:p></span></em></div>
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjPGpPzeQXaBePZK76ax7TSkzHDaNWWnIvmeAaouwVOvnSfU9nxkPAabpVE90sTNxy86ni3e8nEww0LiA4E-t96AjvpATNPFts2B1d2icvJZR6Mm6bES7RQsEh5RIbZBaxsNIF526upyY/s1600/f.png" imageanchor="1" style="clear: left; display: inline !important; margin-bottom: 1em; margin-right: 1em;"><span style="font-family: inherit;"><img border="0" height="94" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjPGpPzeQXaBePZK76ax7TSkzHDaNWWnIvmeAaouwVOvnSfU9nxkPAabpVE90sTNxy86ni3e8nEww0LiA4E-t96AjvpATNPFts2B1d2icvJZR6Mm6bES7RQsEh5RIbZBaxsNIF526upyY/s640/f.png" width="640" /></span></a><br />
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;"><br /></span>
<br />
<h2 style="text-align: left;">
<span lang="EN"><span style="font-family: inherit;">Related Links</span></span></h2>
<div>
<ol style="text-align: left;">
<li><a href="http://msdn.microsoft.com/en-us/library/windowsazure/dn232427.aspx" style="text-indent: -0.25in;" title="Backup BizTalk Service"><span style="font-family: inherit;">Backup BizTalk Service REST API</span></a></li>
<li><a href="http://code.msdn.microsoft.com/windowsazure/Windows-Azure-BizTalk-91e1bdf3" title="Windows Azure BizTalk Services Management Sample"><span style="font-family: inherit;">Windows Azure
BizTalk Services Management Sample</span></a></li>
<li><a href="http://biztalkservices.blogspot.com/2013/12/backup-biztalk-services.html" title="Backup BizTalk Services"><span style="font-family: inherit;">Backup BizTalk Services on my blog</span></a></li>
<li><a href="http://www.windowsazure.com/en-us/manage/services/biztalk-services/backup-restore/" title="BizTalk Services: Backup and Restore"><span style="font-family: inherit;">BizTalk Services: Backup and
Restore</span></a></li>
<li><a href="http://msdn.microsoft.com/en-us/library/windowsazure/dn509557.aspx" title="Business Continuity in BizTalk Services"><span style="font-family: inherit;">Business Continuity in
BizTalk Services</span></a></li>
</ol>
</div>
</div>
Anonymoushttp://www.blogger.com/profile/13241506999804952606noreply@blogger.com0tag:blogger.com,1999:blog-6801584395147199382.post-44461734702652224862013-12-09T06:39:00.000-08:002013-12-09T08:58:26.596-08:00Backup BizTalk Services<div dir="ltr" style="text-align: left;" trbidi="on">
BizTalk Services lets you create backup of the service to deal with some of
the scenarios like <o:p></o:p><br />
<ul type="disc">
<li class="MsoNormal">Disaster recovery <o:p></o:p></li>
<li class="MsoNormal">Service migration from dev to prod <o:p></o:p></li>
<li class="MsoNormal">Upgrade service edition (basic <span style="font-family: Wingdings; mso-char-type: symbol; mso-fareast-font-family: "Times New Roman"; mso-symbol-font-family: Wingdings;">à</span> standard, basic <span style="font-family: Wingdings; mso-char-type: symbol; mso-fareast-font-family: "Times New Roman"; mso-symbol-font-family: Wingdings;">à</span>premium and standard <span style="font-family: Wingdings; mso-char-type: symbol; mso-fareast-font-family: "Times New Roman"; mso-symbol-font-family: Wingdings;">à</span> premium)</li>
</ul>
<div>
<br /></div>
<div>
<strong>Note: This feature is not provided to Developer edition.</strong></div>
<div>
<strong><br /></strong></div>
<o:p></o:p><br />
<h2 style="text-align: left;">
<span style="font-size: large;">Pre-requisites and
Setup </span></h2>
<h1>
<o:p></o:p></h1>
You need to install Windows Azure Powershell on your machine and download
Windows Azure BizTalk Service Management PowerShell Cmdlets. Details about both
of these is available <a href="http://code.msdn.microsoft.com/windowsazure/Windows-Azure-BizTalk-91e1bdf3">here</a>.
This link contains a sample for management of BizTalk Services through
Powershell. Follow the description of this sample to setup your machine.
Summarizing the steps needed to be performed: <o:p></o:p><br />
<ol start="1" type="1">
<li class="MsoNormal">Install Windows Azure PowerShell <o:p></o:p></li>
<li class="MsoNormal">Compile the sample application to generate
Microsoft.WindowsAzure.Management.BizTalkService.dll <o:p></o:p></li>
<li class="MsoNormal">Import
Microsoft.WindowsAzure.Management.BizTalkService.dll <o:p></o:p></li>
<li class="MsoNormal">Set Azure Subscription</li>
</ol>
<div>
<br /></div>
<h2 style="text-align: left;">
<span style="font-size: large;">Perform Backup </span></h2>
<h1>
<o:p></o:p></h1>
<h3 style="text-align: left;">
<span style="font-size: small;">Set Azure
Subscription </span></h3>
<h2>
<o:p></o:p></h2>
If you followed the steps mentioned in the sample's description you should
have Windows Azure PowerShell command window open with subscription set to the
one where your BizTalk Service is provisioned. Execute following commands to
set Azure subscription: <o:p></o:p><br />
<table border="0" cellpadding="0" cellspacing="0" class="MsoNormalTable" style="border-collapse: collapse; mso-yfti-tbllook: 1184;">
<colgroup><col style="width: 917px;"></col></colgroup>
<tbody>
<tr>
<td style="border-bottom: solid #9CC2E5 1.5pt; border: solid #BDD6EE 1.0pt; mso-border-alt: solid #BDD6EE .5pt; mso-border-bottom-alt: solid #9CC2E5 1.5pt; padding: .75pt 5.25pt .75pt 5.25pt; width: 773.6pt;" width="1031"><div style="background: white;">
<span style="font-family: 'Courier New'; font-size: 10pt;">C:\PS</span><span style="color: grey; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: 'Courier New'; font-size: 10pt;"> </span><span style="color: orangered; font-family: "Courier New"; font-size: 10.0pt;">$subID</span><span style="font-family: 'Courier New'; font-size: 10pt;"> </span><span style="color: grey; font-family: "Courier New"; font-size: 10.0pt;">=</span><span style="font-family: 'Courier New'; font-size: 10pt;"> <Subscription ID</span><span style="color: grey; font-family: "Courier New"; font-size: 10.0pt;">> </span><o:p></o:p></div>
<div style="background: white;">
<span style="font-family: 'Courier New'; font-size: 10pt;">C:\PS</span><span style="color: grey; font-family: "Courier New"; font-size: 10.0pt;">> </span><span style="color: orangered; font-family: "Courier New"; font-size: 10.0pt;">$thumbprint</span><span style="font-family: 'Courier New'; font-size: 10pt;"> </span><span style="color: grey; font-family: "Courier New"; font-size: 10.0pt;">=</span><span style="font-family: 'Courier New'; font-size: 10pt;"> <Certificate Thumbprint</span><span style="color: grey; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: 'Courier New'; font-size: 10pt;"> </span><o:p></o:p></div>
<div style="background: white;">
<span style="font-family: 'Courier New'; font-size: 10pt;">C:\PS</span><span style="color: grey; font-family: "Courier New"; font-size: 10.0pt;">> </span><span style="color: orangered; font-family: "Courier New"; font-size: 10.0pt;">$myCert</span><span style="font-family: 'Courier New'; font-size: 10pt;"> </span><span style="color: grey; font-family: "Courier New"; font-size: 10.0pt;">=</span><span style="font-family: 'Courier New'; font-size: 10pt;"> Get</span><span style="color: grey; font-family: "Courier New"; font-size: 10.0pt;">-</span><span style="font-family: 'Courier New'; font-size: 10pt;">Item cert:\\LocalMachine\My\</span><span style="color: orangered; font-family: "Courier New"; font-size: 10.0pt;">$thumbprint</span><span style="font-family: 'Courier New'; font-size: 10pt;"> </span><o:p></o:p></div>
<div style="background: white;">
<span style="font-family: 'Courier New'; font-size: 10pt;">C:\PS</span><span style="color: grey; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: 'Courier New'; font-size: 10pt;"> Set</span><span style="color: grey; font-family: "Courier New"; font-size: 10.0pt;">-</span><span style="font-family: 'Courier New'; font-size: 10pt;">AzureSubscription –SubscriptionName </span><span style="color: #a31515; font-family: "Courier New"; font-size: 10.0pt;">"MySub"</span><span style="font-family: 'Courier New'; font-size: 10pt;"> </span><span style="color: grey; font-family: "Courier New"; font-size: 10.0pt;">-</span><span style="font-family: 'Courier New'; font-size: 10pt;">SubscriptionId
</span><span style="color: orangered; font-family: "Courier New"; font-size: 10.0pt;">$subID</span><span style="font-family: 'Courier New'; font-size: 10pt;"> </span><span style="color: grey; font-family: "Courier New"; font-size: 10.0pt;">-</span><span style="font-family: 'Courier New'; font-size: 10pt;">Certificate </span><span style="color: orangered; font-family: "Courier New"; font-size: 10.0pt;">$myCert</span><span style="font-family: 'Courier New'; font-size: 10pt;"> </span><o:p></o:p></div>
</td>
</tr>
</tbody></table>
<br />
<div style="background: white;">
<strong><br /></strong></div>
<div style="background: white;">
<strong>Note: Install the management
certificate for your subscription in machine's certificate store under Local
Machine. </strong><o:p></o:p></div>
<div style="background: white;">
<strong><br /></strong></div>
<h3 style="text-align: left;">
<span style="font-size: small;">Execute Backup
Cmdlet </span></h3>
<h2>
<o:p></o:p></h2>
Execute the Backup-AzureBizTalkService cmdlet to take backup of the service.
This cmdlet takes following inputs: <o:p></o:p><br />
<ol start="1" type="1">
<li class="MsoNormal">ResourceName – Name of your biztalk service <o:p></o:p></li>
<li class="MsoNormal">BackupName – Backup gets created in a storage account
with this name as container name. Therefore, naming constraints of a
storage container apply here as well. <o:p></o:p></li>
<li class="MsoNormal">BackupStoreConectionString – Storage account connection
string where backup gets created <o:p></o:p></li>
</ol>
<div style="margin-left: .5in;">
<br /></div>
<table border="0" cellpadding="0" cellspacing="0" class="MsoNormalTable" style="border-collapse: collapse; mso-yfti-tbllook: 1184;">
<colgroup><col style="width: 917px;"></col></colgroup>
<tbody>
<tr style="height: 12.75pt; mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border-bottom: solid #9CC2E5 1.5pt; border: solid #BDD6EE 1.0pt; height: 12.75pt; mso-border-alt: solid #BDD6EE .5pt; mso-border-bottom-alt: solid #9CC2E5 1.5pt; padding: .75pt 5.25pt .75pt 5.25pt; width: 773.6pt;" width="1031"><span style="font-family: 'Courier New'; font-size: 10pt;">C:\PS</span><span style="color: grey; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: 'Courier New'; font-size: 10pt;">
Backup-AzureBizTalkService -ResourceName <Biztalk Service name>
-BackupName <Backup container name> -BackupStoreConnectionString "</span><strong> </strong><span style="font-family: 'Courier New'; font-size: 10pt;">BlobEndpoint=https://<account
name>.blob.core.windows.net/;QueueEndpoint=https://<account
name>.queue.core.windows.net/;TableEndpoint=https://<account
name>.table.core.windows.net/;AccountName=<account
name>;AccountKey=<account key>;DefaultEndpointsProtocol=https "</span><o:p></o:p></td>
</tr>
</tbody></table>
<br />
Or...<o:p></o:p><br />
<table border="0" cellpadding="0" cellspacing="0" class="MsoNormalTable" style="border-collapse: collapse; mso-yfti-tbllook: 1184;">
<colgroup><col style="width: 917px;"></col></colgroup>
<tbody>
<tr>
<td style="border-bottom: solid #9CC2E5 1.5pt; border: solid #BDD6EE 1.0pt; mso-border-alt: solid #BDD6EE .5pt; mso-border-bottom-alt: solid #9CC2E5 1.5pt; padding: .75pt 5.25pt .75pt 5.25pt; width: 773.6pt;" width="1031"><span style="font-family: 'Courier New'; font-size: 10pt;">C:\PS</span><span style="color: grey; font-family: "Courier New"; font-size: 10.0pt;">></span><span style="font-family: 'Courier New'; font-size: 10pt;">
Backup-AzureBizTalkService -ResourceName <Biztalk Service name>
-BackupName <Backup container name> -BackupStoreConnectionString "</span><strong> </strong><span style="font-family: 'Courier New'; font-size: 10pt;">DefaultEndpointsProtocol=https;AccountName=<your
storage account name>;AccountKey=<your storage account key>"</span><o:p></o:p></td>
</tr>
</tbody></table>
<br />
<strong>Note: This may take up around 30 minutes to 1 hour to complete. </strong><o:p></o:p><br />
<strong><br /></strong>
<strong><br /></strong>
<em>Request submission… </em><o:p></o:p><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6XQRSwFzYBvLk_3wH_Y-2L_nHL4HRWlTBa9QJU4ryYSOCqq5Pb_rHK5-pQOcrtejDcxwD6tfjLlY4F5TNZPTE5tYu4F7_W-dYDyMEZ9HY0Q0IymBKI_8miFI5sGpck_oXHVMsWEf4ntQ/s1600/a.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="64" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6XQRSwFzYBvLk_3wH_Y-2L_nHL4HRWlTBa9QJU4ryYSOCqq5Pb_rHK5-pQOcrtejDcxwD6tfjLlY4F5TNZPTE5tYu4F7_W-dYDyMEZ9HY0Q0IymBKI_8miFI5sGpck_oXHVMsWEf4ntQ/s640/a.png" width="640" /></a></div>
<em>On Azure Portal… </em><o:p></o:p><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjIAEyiBumriscuwsMauT1mOrDJ-xcjO1a-trdJuDIG4NaNoA-FFJBhB0VDtTtGHg6oC0YBVXQOzV-8m00_raoqePnO1JumvRfFRYBDjhq40wrmKQVm0UkNglA36BhDp4PZ4CmA-ES3QF0/s1600/b.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="192" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjIAEyiBumriscuwsMauT1mOrDJ-xcjO1a-trdJuDIG4NaNoA-FFJBhB0VDtTtGHg6oC0YBVXQOzV-8m00_raoqePnO1JumvRfFRYBDjhq40wrmKQVm0UkNglA36BhDp4PZ4CmA-ES3QF0/s640/b.png" width="640" /></a></div>
<br />
<div>
<em><br /></em>
<em>Inside storage container…</em></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnc97Aa_oFIJwxXd56xSK8OFQoqedTPqaruUVUPyhO8E3psx383w2LRCZCdBNxojTaohYTPeQFyF6-6ohfhPuHIJ_tdOd7M9zpc67j9YPw_y3TkGC3fWRPIgm0bt53kXhMMofkCP7OULk/s1600/c.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="152" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnc97Aa_oFIJwxXd56xSK8OFQoqedTPqaruUVUPyhO8E3psx383w2LRCZCdBNxojTaohYTPeQFyF6-6ohfhPuHIJ_tdOd7M9zpc67j9YPw_y3TkGC3fWRPIgm0bt53kXhMMofkCP7OULk/s640/c.png" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<h2>
<span style="font-size: large;">Related Links</span></h2>
<div style="text-align: left;">
<ol style="text-align: left;">
<li><a href="http://msdn.microsoft.com/en-us/library/windowsazure/dn232427.aspx"><span id="goog_1589125030"></span>Backup BizTalk Service REST API</a></li>
<li><a href="http://code.msdn.microsoft.com/windowsazure/Windows-Azure-BizTalk-91e1bdf3">Windows Azure BizTalk Services Management Sample</a></li>
<li><a href="http://blogs.msdn.com/b/vinaysingh/archive/2013/12/09/backup-biztalk-services.aspx">Backup BizTalk Services on my MSDN blog</a></li>
<li><a href="http://www.windowsazure.com/en-us/manage/services/biztalk-services/backup-restore/">BizTalk Services: Backup and Restore</a></li>
<li><a href="http://msdn.microsoft.com/en-us/library/windowsazure/dn509557.aspx">Business Continuity in BizTalk Services<span id="goog_1589125031"></span></a></li>
</ol>
</div>
</div>
Anonymoushttp://www.blogger.com/profile/13241506999804952606noreply@blogger.com0