<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>vinaysingh</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/vinaysingh/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/vinaysingh/feed.xml</link>
    <description />
    <lastBuildDate>Wed, 17 Apr 2019 03:53:04 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Logic Apps SQL Connector – Working with Stored Procedures</title>
      <link>https://docs.microsoft.com/archive/blogs/vinaysingh/logic-apps-sql-connector-working-with-stored-procedures</link>
      <pubDate>Mon, 29 Aug 2016 07:23:00 GMT</pubDate>
      <dc:creator><![CDATA[Vinay Singh [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/vinaysingh/?p=105</guid>
      <description><![CDATA[Handling Input DataLet's start with creating an Employees table with following schema:Create a new...]]></description>
      <content:encoded><![CDATA[<h3>Handling Input Data</h3><p>Let's start with creating an Employees table with following schema:</p><p><a href="https://msdnshared.blob.core.windows.net/media/2016/08/Create-Employee-table.png"><img width="879" height="205" title="Create Employee table" alt="Create Employee table" src="https://msdnshared.blob.core.windows.net/media/2016/08/Create-Employee-table_thumb.png" border="0"></a></p><p>Create a new stored procedure AddEmployee - It takes all the parameters of Employees table as input. It checks for existence of the employee before inserting a new record and returns the number of records inserted as return value.<p><a href="https://msdnshared.blob.core.windows.net/media/2016/08/Add-Employee-sproc.png"><img width="879" height="426" title="Add Employee sproc" alt="Add Employee sproc" src="https://msdnshared.blob.core.windows.net/media/2016/08/Add-Employee-sproc_thumb.png" border="0"></a></p><p>We now move to the Logic Apps Designer on <a href="https://portal.azure.com/">Azure Portal</a> and add a new SQL Stored Procedure action. On selecting a stored procedure, the designer probes its signature and automatically shows all input parameters. Here we add an Add Employee action which takes the employee information as input. Notice that the SQL Connector is able to deal with multiple data types - integer, float, boolean, datetime, string etc.</p><p><a href="https://msdnshared.blob.core.windows.net/media/2016/08/image767.png"><img width="473" height="725" title="image" alt="image" src="https://msdnshared.blob.core.windows.net/media/2016/08/image_thumb596.png" border="0"></a><p>On execution of this Logic App following output is generated for this action. The Return Code is set to 1 in the response body.<p><a href="https://msdnshared.blob.core.windows.net/media/2016/08/image768.png"><img width="879" height="216" title="image" alt="image" src="https://msdnshared.blob.core.windows.net/media/2016/08/image_thumb597.png" border="0"></a><p>And, if we go back to the SQL Azure database, we can see a new record got inserted for this employee.<p><a href="https://msdnshared.blob.core.windows.net/media/2016/08/image769.png"><img width="879" height="117" title="image" alt="image" src="https://msdnshared.blob.core.windows.net/media/2016/08/image_thumb598.png" border="0"></a><h3>Handling Return Data</h3><p>There are a few different ways in which data can be returned from a stored procedure - return code, result sets and output parameters. Following msdn article explains about them - <a href="https://msdn.microsoft.com/en-us/library/ms188655.aspx">Return Data from a Stored Procedure</a>.<h4>Return Code</h4><p>A procedure can return an integer value called a return code to indicate the execution status of a procedure. You specify the return code for a procedure using the RETURN statement. Building upon the previous example, we can use the Return Code output from the Add Employee action in next actions like in a Condition action as shown below. </p><p><a href="https://msdnshared.blob.core.windows.net/media/2016/08/image776.png"><img width="878" height="452" title="image" alt="image" src="https://msdnshared.blob.core.windows.net/media/2016/08/image_thumb604.png" border="0"></a></p><h4>Output Parameters</h4><p>If we specify OUTPUT keyword for a parameter in the stored procedure definition, the procedure can return the value assigned to the parameter to the caller when the procedure exits.</p><p>Let's create a new stored procedure GetManager - It takes employee Id as input and @manager as output parameter. It assigns the employee's manager name to the output parameter.<p><a href="https://msdnshared.blob.core.windows.net/media/2016/08/image777.png"><img width="770" height="119" title="image" alt="image" src="https://msdnshared.blob.core.windows.net/media/2016/08/image_thumb605.png" border="0"></a><p>Inside the Logic App designer, let's add another action for Get Manager stored procedure.<p><a href="https://msdnshared.blob.core.windows.net/media/2016/08/image778.png"><img width="687" height="380" title="image" alt="image" src="https://msdnshared.blob.core.windows.net/media/2016/08/image_thumb606.png" border="0"></a><p>On execution of this Logic App following output is generated for this action. The Output Parameters property contains one entry for manager. If there are more output parameters in the stored procedure, they would also show up under Output Parameters.<p><a href="https://msdnshared.blob.core.windows.net/media/2016/08/image779.png"><img width="818" height="221" title="image" alt="image" src="https://msdnshared.blob.core.windows.net/media/2016/08/image_thumb607.png" border="0"></a><p>The output parameters are available for next steps in the Logic App. In the example below, we have an action Get Employee by Name which takes the manager name obtained from previous action as input.<p><a href="https://msdnshared.blob.core.windows.net/media/2016/08/image780.png"><img width="686" height="374" title="image" alt="image" src="https://msdnshared.blob.core.windows.net/media/2016/08/image_thumb608.png" border="0"></a><p><a href="https://msdnshared.blob.core.windows.net/media/2016/08/image781.png"><img width="872" height="438" title="image" alt="image" src="https://msdnshared.blob.core.windows.net/media/2016/08/image_thumb609.png" border="0"></a><h4>Result Sets</h4><p>Result Sets are a collection of tabular records generated through SELECT statements in a stored procedure.<p>In the below example, we have created a Get Reports procedure - it takes manager as input and returns a result set which consists of all his/her direct reports.<p><a href="https://msdnshared.blob.core.windows.net/media/2016/08/image782.png"><img width="879" height="153" title="image" alt="image" src="https://msdnshared.blob.core.windows.net/media/2016/08/image_thumb610.png" border="0"></a><p><a href="https://msdnshared.blob.core.windows.net/media/2016/08/image783.png"><img width="751" height="415" title="image" alt="image" src="https://msdnshared.blob.core.windows.net/media/2016/08/image_thumb611.png" border="0"></a><p>The Result Sets contains one entry corresponding to each SELECT statement present in the stored procedure. These entries follow the naming convention of Table1, Table2, ... etc.<p><a href="https://msdnshared.blob.core.windows.net/media/2016/08/image784.png"><img width="871" height="315" title="image" alt="image" src="https://msdnshared.blob.core.windows.net/media/2016/08/image_thumb612.png" border="0"></a><p>Each table is a collection of records. We can use the ForEach construct to iterate over each record and take appropriate action(s).<p><a href="https://msdnshared.blob.core.windows.net/media/2016/08/image785.png"><img width="667" height="675" title="image" alt="image" src="https://msdnshared.blob.core.windows.net/media/2016/08/image_thumb613.png" border="0"></a><p><a href="https://msdnshared.blob.core.windows.net/media/2016/08/image786.png"><img width="879" height="526" title="image" alt="image" src="https://msdnshared.blob.core.windows.net/media/2016/08/image_thumb614.png" border="0"></a><p>The complete Logic App definition used during this session can be downloaded from <a href="https://www.dropbox.com/s/pmoamxzeoo3k08e/Employees.json?dl=0">here</a>.]]></content:encoded>
    </item>
    <item>
      <title>Azure Active Directory integration on BizTalk Portal</title>
      <link>https://docs.microsoft.com/archive/blogs/vinaysingh/azure-active-directory-integration-on-biztalk-portal</link>
      <pubDate>Mon, 06 Oct 2014 11:25:00 GMT</pubDate>
      <dc:creator><![CDATA[Vinay Singh [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/vinaysingh/2014/10/06/azure-active-directory-integration-on-biztalk-portal/</guid>
      <description><![CDATA[BizTalk Portal is now integrated with Azure Active Directory. This feature enables few important...]]></description>
      <content:encoded><![CDATA[<p><span style="font-family: arial, helvetica, sans-serif;">BizTalk Portal is now integrated with Azure Active Directory. This feature enables few important scenarios mentioned below -&nbsp;</span><h2><span style="font-family: arial, helvetica, sans-serif;">Login to BizTalk Portal using organizational accounts</span></h2><ul>
<li><span style="font-family: arial, helvetica, sans-serif;">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: arial, helvetica, sans-serif;">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><h2><span style="font-family: arial, helvetica, sans-serif;">Login to BizTalk Portal using your Microsoft accounts</span></h2><ul>
<li><span style="font-family: arial, helvetica, sans-serif;">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.) &nbsp;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: arial, helvetica, sans-serif;">A user logged in to BizTalk Portal using a Microsoft account can add other Microsoft accounts&nbsp;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><h2><span style="font-family: arial, helvetica, sans-serif;">Automatic registration of user who creates the BizTalk Service</span></h2><div>
<ul>
<li><span style="font-family: arial, helvetica, sans-serif;">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: arial, helvetica, sans-serif;">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>
</div><h2><span style="font-family: arial, helvetica, sans-serif;">Gotchas</span></h2><div>
<ul>
<li><span style="font-family: arial, helvetica, sans-serif;"><strong>Microsoft account and Organizational accounts <strong>cannot manage same BizTalk Service</strong></strong>&nbsp;- 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 &nbsp;Microsoft accounts or Organizational accounts.</span></li>
<li><span style="font-family: arial, helvetica, sans-serif;"><strong>Users from different organizations cannot manage same BizTalk Service</strong> - 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>
</div><div><span style="font-family: arial, helvetica, sans-serif;"><span>You will get following error on the register account page in either of the cases mentioned above -&nbsp;</span></span></div><div>
<div class="WordSection1">
<p><strong><em>Microsoft Azure BizTalk Services deployment registration has failed.</em></strong></p>
<p><strong><em>Registration has failed..</em></strong></p>
</div>
</div><h1><span style="font-family: arial, helvetica, sans-serif;">Related Links</span></h1><ul>
<li><span style="font-family: arial, helvetica, sans-serif;"><a title="Azure Active Directory integration on BizTalk Portal on my Blogger website" href="https://biztalkservices.blogspot.in/2014/10/azure-active-directory-integration-on.html">Azure Active Directory integration on BizTalk Portal&nbsp;on my Blogger website</a></span></li>
<li><a title="Registering and Updating a BizTalk Service Deployment on the BizTalk Services Portal" href="https://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 title="Associating Multiple Login IDs with a BizTalk Services Deployment" href="https://msdn.microsoft.com/en-us/library/azure/dn509560.aspx">Associating Multiple Login IDs with a BizTalk Services Deployment</a></li>
</ul><p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p></p>
]]></content:encoded>
    </item>
    <item>
      <title>Restore BizTalk Services</title>
      <link>https://docs.microsoft.com/archive/blogs/vinaysingh/restore-biztalk-services</link>
      <pubDate>Thu, 12 Dec 2013 11:35:00 GMT</pubDate>
      <dc:creator><![CDATA[Vinay Singh [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/vinaysingh/2013/12/12/restore-biztalk-services/</guid>
      <description><![CDATA[In my previous&nbsp;post&nbsp;we covered backup of BizTalk Services. In this post we will cover the...]]></description>
      <content:encoded><![CDATA[<p><span style="font-size: small;">In my previous&nbsp;<a href="https://blogs.msdn.com/b/vinaysingh/archive/2013/12/09/backup-biztalk-services.aspx">post</a>&nbsp;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><ul>
<li><span style="font-size: small;">Disaster Recovery</span></li>
<li><span style="font-size: small;">Service migration from dev to prod</span></li>
<li><span style="font-size: small;">Upgrade service edition (basic to&nbsp;standard, basic to<strong>&nbsp;</strong>premium and standard to&nbsp;premium)</span></li>
</ul><p>&nbsp;<strong><span style="font-size: small;">Note: Backup-restore feature is not provided to Developer edition.</span></strong></p><h1><span style="font-size: large;"><strong>Pre-requisites and Setup</strong></span></h1><p><span style="font-size: small;">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&nbsp;<a href="https://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></p><ol>
<li><span style="font-size: small;">Install Windows Azure PowerShell</span></li>
<li><span style="font-size: small;">Compile the sample application to generate Microsoft.WindowsAzure.Management.BizTalkService.dll</span></li>
<li><span style="font-size: small;">I</span><span style="font-size: small;">mport Microsoft.WindowsAzure.Management.BizTalkService.dll</span></li>
<li><span style="font-size: small;">Set Azure Subscription</span></li>
</ol><h1>&nbsp;<span style="font-size: large;">Perform Restore</span></h1><h2>&nbsp;<span style="font-size: medium;">Set Azure Subscription</span></h2><p><span style="font-size: small;">&nbsp;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:</span></p><table style="width: 772px; height: 115px;">
<tbody>
<tr>
<td>
<pre class="scroll"><span style="font-size: x-small;"><code class="js">C:PS&gt; $subID = &lt;Subscription ID&gt; <br>C:PS&gt; $thumbprint = &lt;Certificate Thumbprint&gt; <br>C:PS&gt; $myCert = Get-Item cert:\LocalMachineMy$thumbprint <br>C:PS&gt; Set-AzureSubscription <br> &ndash;SubscriptionName "MySub" <br> -SubscriptionId $subID <br> -Certificate $myCert</code></span></pre>
</td>
</tr>
</tbody>
</table><p><strong></strong>&nbsp;<strong><span style="font-size: small;">Note: Install the management certificate for your subscription in machine's certificate store under Local Machine.</span></strong>&nbsp;</p><h2><span style="font-size: medium;">Execute Restore Cmdlet</span></h2><p>Execute the Restore-AzureBizTalkService cmdlet to restore a BizTalk Service deployment from a backup. This cmdlet takes following inputs:</p><ol>
<li>ResourceName &ndash; Name of your biztalk service</li>
<li>Location &ndash; Region where you want to restore the service</li>
<li>BackupName &ndash; Container inside storage account where backup is stored</li>
<li>BackupStoreConectionString &ndash; Storage account connection string where backup is stored</li>
<li>Configuration &ndash; Configuration file which contains additional input parameters for service restoration. The&nbsp;<a href="https://code.msdn.microsoft.com/windowsazure/Windows-Azure-BizTalk-91e1bdf3">sample</a>&nbsp;contains couple of configuration files that you can modify. I picked up the&nbsp;<em>sample_create_mandatory.xml</em>&nbsp;file as it only contains the mandatory parameters required to be provided. Another section below covers this configuration file in detail.</li>
</ol><pre class="scroll"><span style="font-size: x-small;"><code class="js">C:PS&gt; Restore-AzureBizTalkService<br> -ResourceName &lt;Biztalk Service name&gt;<br> -Location "&lt;Region&gt;"<br> -BackupName &lt;Backup container name&gt;<br> -BackupStoreConnectionString<br> "BlobEndpoint=https://&lt;account name&gt;.blob.core.windows.net/;<br> QueueEndpoint=https://&lt;account name&gt;.queue.core.windows.net/;<br> TableEndpoint=https://&lt;account name&gt;.table.core.windows.net/;<br> AccountName=&lt;account name&gt;;<br> AccountKey=&lt;account key&gt;;<br> DefaultEndpointsProtocol=https"<br> -ConfigurationFile "Configuration xml file path"</code></span></pre><p class="scroll"><span style="font-size: x-small;"><span style="font: 13px/18px Arial, Tahoma, Helvetica, FreeSans, sans-serif; text-align: left; color: #222222; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;">Or...</span></span></p><pre class="scroll"><span style="font-size: x-small;"><code class="js">C:PS&gt; Restore-AzureBizTalkService<br> -ResourceName &lt;Biztalk Service name&gt;<br> -Location "&lt;Region&gt;"<br> -BackupName &lt;Backup container name&gt;<br> -BackupStoreConnectionString<br> "DefaultEndpointsProtocol=https;<br> AccountName=&lt;your storage account name&gt;;<br> AccountKey=&lt;your storage account key&gt;"<br> -ConfigurationFile "Configuration xml file path"</code></span></pre><p class="scroll">&nbsp;<strong>Note: This may take up around 30 minutes to 1 hour to complete.</strong></p><h3 class="scroll"><span style="font-size: small;">Request submission</span></h3><p class="scroll"><span style="font-size: small;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/69/2063.a.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-69/2063.a.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/69/2063.a.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-69/2063.a.png" alt="" border="0"></a></span></p><h3 class="scroll"><span style="font-size: small;"><span style="font-family: inherit;">Request completion</span></span></h3><p class="scroll"><span style="font-size: small;"><span style="font-family: inherit;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/69/7823.b.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-69/7823.b.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/69/7823.b.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-69/7823.b.png" alt="" border="0"></a></span></span></p><h3 class="scroll"><span style="font-size: small;"><span style="font-family: inherit;"><span style="font-family: inherit;">On Azure Portal</span></span></span></h3><p class="scroll"><span style="font-size: small;"><span style="font-family: inherit;"><span style="font-family: inherit;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/69/2625.c.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-69/2625.c.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/69/2625.c.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-69/2625.c.png" alt="" border="0"></a></span></span></span></p><h2><span style="font-size: medium;">Configuration File</span></h2><p><span style="font-size: small;">&nbsp;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></p><pre class="scroll"><span style="font-size: x-small;"><code class="html">&lt;?xml version="1.0" encoding="utf-8"?&gt;<br> &lt;ServiceSettings xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="https://www.w3.org/2001/XMLSchema"&gt;<br> &lt;ServiceVersion&gt;1.1.0&lt;/ServiceVersion&gt;<br> &lt;Edition&gt;developer&lt;/Edition&gt;<br> &lt;UnitCount&gt;1&lt;/UnitCount&gt;<br> &lt;TrackingStoreConnectionString&gt;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&lt;/TrackingStoreConnectionString&gt;<br> &lt;MonitoringStoreConnectionString&gt;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&lt;/MonitoringStoreConnectionString&gt;<br> &lt;/ServiceSettings&gt;</code></span></pre><p class="scroll"><span style="font-size: small;">You need to provide appropriate values for following parameters in the configuration:</span></p><ol>
<li><span style="font-size: small;">Edition: Possible values for edition are</span></li>
<ol>
<li><span style="font-size: small;">developer</span></li>
<li><span style="font-size: small;">standard</span></li>
<li><span style="font-size: small;">premium</span></li>
<li><span style="font-size: small;">basic</span></li>
</ol>
<li style="margin: 0px 0px 0.25em; padding: 0px; text-indent: 0px;"><span style="text-indent: -0.25in; font-size: small;"><span style="font-family: inherit;">Tracking store connection string</span></span></li>
<li style="margin: 0px 0px 0.25em; padding: 0px; text-indent: 0px;">
<p style="margin: 0px 0px 0.25em; padding: 0px; text-indent: 0px;"><span style="text-indent: -0.25in; font-size: small;"><span style="font-family: inherit;">Monitoring/Archiving store connection string</span></span></p>
</li>
</ol><p style="margin: 0px 0px 0.25em; padding: 0px; text-indent: 0px;">&nbsp;</p><h2 style="margin: 0px 0px 0.25em; padding: 0px; text-indent: 0px;"><span style="font-size: medium;">Execute Resume Cmdlet</span></h2><p style="margin: 0px 0px 0.25em; padding: 0px; text-indent: 0px;"><span style="font-size: small;">BizTalk Service gets restored in a&nbsp;<a href="https://msdn.microsoft.com/en-us/library/windowsazure/dn232419.aspx">suspended</a>&nbsp;state where the service accept only management operations but&nbsp;runtime messages are not processed. Suspended state lets you to change any configuration of the service before message processing can start.</span></p><p style="margin: 0px 0px 0.25em; padding: 0px; text-indent: 0px;"><span style="font-size: small;">Execute the Resume-AzureBizTalkService cmdlet to resume the BizTalk Service. This cmdlet takes following inputs:</span></p><ol>
<li>
<div style="margin: 0px 0px 0.25em; padding: 0px; text-indent: 0px;"><span style="font-size: small;">ResourceName &ndash; Name of your biztalk service</span></div>
</li>
</ol><pre class="scroll"><span style="font-size: x-small;"><code class="js">C:PS&gt; Resume-AzureBizTalkService -ResourceName &lt;Biztalk Service name&gt;</code></span></pre><p style="margin: 0px 0px 0.25em; padding: 0px; text-indent: 0px;">&nbsp;</p><p><span style="font-size: small;"><strong>Note: This may take up around 15 minutes to complete.</strong></span></p><h3><span style="font-size: small;">Request submission</span></h3><p><span style="font-size: small;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/69/0207.d.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-69/0207.d.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/69/0207.d.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-69/0207.d.png" alt="" border="0"></a></span></p><p>&nbsp;</p><h3 style="margin: 0px 0px 0.25em; padding: 0px; text-indent: 0px;"><span style="text-indent: -0.25in; font-size: small;"><span style="font-family: inherit;"><span style="font-family: inherit;">Request completion</span></span></span></h3><p style="margin: 0px 0px 0.25em; padding: 0px; text-indent: 0px;"><span style="text-indent: -0.25in; font-size: small;"><span style="font-family: inherit;"><span style="font-family: inherit;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/69/2620.e.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-69/2620.e.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/69/2620.e.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-69/2620.e.png" alt="" border="0"></a></span></span></span></p><p style="margin: 0px 0px 0.25em; padding: 0px; text-indent: 0px;">&nbsp;</p><p style="margin: 0px 0px 0.25em; padding: 0px; text-indent: 0px;">&nbsp;</p><h3 style="margin: 0px 0px 0.25em; padding: 0px; text-indent: 0px;"><span style="text-indent: -0.25in; font-size: small;"><span style="font-family: inherit;"><span style="font-family: inherit;"><span style="font-family: inherit;">On Azure Portal</span></span></span></span></h3><p style="margin: 0px 0px 0.25em; padding: 0px; text-indent: 0px;"><span style="text-indent: -0.25in; font-size: small;"><span style="font-family: inherit;"><span style="font-family: inherit;"><span style="font-family: inherit;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/69/0513.f.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-69/0513.f.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/69/0513.f.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-69/0513.f.png" alt="" border="0"></a></span></span></span></span></p><p style="margin: 0px 0px 0.25em; padding: 0px; text-indent: 0px;">&nbsp;</p><p style="margin: 0px 0px 0.25em; padding: 0px; text-indent: 0px;">&nbsp;</p><h1 style="font: bold 11px/normal Arial, Tahoma, Helvetica, FreeSans, sans-serif; margin: 0px 0px 1em; text-align: left; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; position: relative; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;"><span style="font-size: large;" lang="EN"><span style="font-family: inherit;">Related Links</span></span></h1><ol>
<li>
<div style="margin: 0px 0px 0.25em; padding: 0px; text-indent: 0px;"><span style="font-size: small;"><a style="color: #888888; text-indent: -0.25in; text-decoration: none;" title="Backup BizTalk Service" href="https://msdn.microsoft.com/en-us/library/windowsazure/dn232427.aspx"><span style="font-family: inherit;">Backup BizTalk Service REST API</span></a></span></div>
</li>
<li>
<div style="margin: 0px 0px 0.25em; padding: 0px; text-indent: 0px;"><span style="font-size: small;"><span style="font-size: small;"><a style="color: #888888; text-decoration: none;" title="Windows Azure BizTalk Services Management Sample" href="https://code.msdn.microsoft.com/windowsazure/Windows-Azure-BizTalk-91e1bdf3"><span style="font-family: inherit;">Windows Azure BizTalk Services Management Sample</span></a></span></span></div>
</li>
<li>
<div style="margin: 0px 0px 0.25em; padding: 0px; text-indent: 0px;"><span style="font-size: small;"><span style="font-size: small;"><span style="font-family: inherit;"><span style="font-size: small;"><a href="https://blogs.msdn.com/b/vinaysingh/archive/2013/12/09/backup-biztalk-services.aspx"><span style="font-family: inherit;">Backup BizTalk Services on my blog</span></a></span></span></span></span></div>
</li>
<li>
<div style="margin: 0px 0px 0.25em; padding: 0px; text-indent: 0px;"><span style="font-size: small;"><span style="font-size: small;"><span style="font-family: inherit;"><span style="font-size: small;"><a href="https://biztalkservices.blogspot.com/2013/12/restore-biztalk-services.html">Restore BizTalk Services on my Blogger website</a></span></span></span></span></div>
</li>
<li>
<div style="margin: 0px 0px 0.25em; padding: 0px; text-indent: 0px;"><span style="font-size: small;"><span style="font-size: small;"><span style="font-family: inherit;"><span style="font-size: small;"><a style="color: #888888; text-decoration: none;" title="BizTalk Services: Backup and Restore" href="https://www.windowsazure.com/en-us/manage/services/biztalk-services/backup-restore/"><span style="font-family: inherit;">BizTalk Services: Backup and Restore</span></a></span></span></span></span></div>
</li>
<li>
<div style="margin: 0px 0px 0.25em; padding: 0px; text-indent: 0px;"><span style="font-size: small;"><span style="font-size: small;"><span style="font-family: inherit;"><span style="font-size: small;"><a style="color: #888888; text-decoration: none;" title="Business Continuity in BizTalk Services" href="https://msdn.microsoft.com/en-us/library/windowsazure/dn509557.aspx"><span style="font-family: inherit;">Business Continuity in BizTalk Services</span></a></span></span></span></span></div>
</li>
</ol><p style="margin: 0px 0px 0.25em; padding: 0px; text-indent: 0px;">&nbsp;</p><p style="margin: 0px 0px 0.25em; padding: 0px; text-indent: 0px;">&nbsp;</p></p>
]]></content:encoded>
    </item>
    <item>
      <title>Backup BizTalk Services</title>
      <link>https://docs.microsoft.com/archive/blogs/vinaysingh/backup-biztalk-services</link>
      <pubDate>Mon, 09 Dec 2013 07:34:00 GMT</pubDate>
      <dc:creator><![CDATA[Vinay Singh [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/vinaysingh/2013/12/09/backup-biztalk-services/</guid>
      <description><![CDATA[BizTalk Services lets you create backup of the service to deal with some of the scenarios...]]></description>
      <content:encoded><![CDATA[<p><span style="font-size: small;">BizTalk Services lets you create backup of the service to deal with some of the scenarios like</span><ul>
<li><span style="font-size: small;">Disaster recovery</span></li>
<li><span style="font-size: small;">Service migration from dev to prod</span></li>
<li><span style="font-size: small;">Upgrade service edition (basic --&gt;&nbsp;standard, basic --&gt; premium and standard -&gt;&nbsp;premium)</span></li>
</ul><p>&nbsp;<span style="font-size: small;"><strong>Note: This feature is not provided to Developer edition. </strong></span></p><h1><span style="font-size: large;">Pre-requisites and Setup</span></h1><p>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="https://code.msdn.microsoft.com/windowsazure/Windows-Azure-BizTalk-91e1bdf3">here</a>. This link contains a sample for management of BizTalk Services through Powershell.&nbsp;Follow the description of this sample to setup your machine. Summarizing the steps needed to be performed:</p><ol>
<li>Install Windows Azure PowerShell</li>
<li>Compile the sample application to generate Microsoft.WindowsAzure.Management.BizTalkService.dll</li>
<li>Import Microsoft.WindowsAzure.Management.BizTalkService.dll</li>
<li>Set Azure Subscription</li>
</ol><h1><span style="font-size: large;">Perform Backup</span></h1><h2><span style="font-size: large;"><span style="font-size: medium;">Set Azure Subscription</span></span></h2><p><span style="font-size: small;">If you followed the steps mentioned in the sample's description you should </span><span style="font-size: small;">have Windows Azure PowerShell command window open with subscription set to the </span><span style="font-size: small;">one where your BizTalk Service is provisioned. Execute following commands to </span><span style="font-size: small;">set Azure subscription:</span></p><table style="width: 772px; height: 115px;">
<tbody>
<tr>
<td>
<pre class="scroll"><span style="font-size: x-small;"><code class="js">C:PS&gt; $subID = &lt;Subscription ID&gt; <br>C:PS&gt; $thumbprint = &lt;Certificate Thumbprint&gt; <br>C:PS&gt; $myCert = Get-Item cert:\LocalMachineMy$thumbprint <br>C:PS&gt; Set-AzureSubscription <br> &ndash;SubscriptionName "MySub" <br> -SubscriptionId $subID <br> -Certificate $myCert</code></span></pre>
</td>
</tr>
</tbody>
</table><p>&nbsp;<span style="font-size: small;"><strong>Note: Install the management certificate for your subscription in machine's certificate store under Local Machine. </strong></span></p><h2><span style="font-size: medium;">Execute Backup Cmdlet</span></h2><p><span style="font-size: small;">Execute the Backup-AzureBizTalkService cmdlet to take backup of the service. This cmdlet takes following inputs:</span></p><ol start="1">
<li><span style="font-size: small;">ResourceName &ndash; Name of your biztalk service</span></li>
<li><span style="font-size: small;">BackupName &ndash; Backup gets created in a storage account with this name as container name. Therefore, naming constraints of a storage container apply here as well.</span></li>
<li><span style="font-size: small;">BackupStoreConectionString &ndash; Storage account connection string where backup gets created</span></li>
</ol><table style="width: 971px; height: 64px;">
<tbody>
<tr>
<td>
<pre class="scroll"><span style="font-size: x-small;"><code class="js">C:PS&gt; Backup-AzureBizTalkService<br> -ResourceName &lt;Biztalk Service name&gt;<br> -BackupName &lt;Backup container name&gt;<br> -BackupStoreConnectionString<br> "BlobEndpoint=https://&lt;account name&gt;.blob.core.windows.net/;<br> QueueEndpoint=https://&lt;account name&gt;.queue.core.windows.net/;<br> TableEndpoint=https://&lt;account name&gt;.table.core.windows.net/;<br> AccountName=&lt;account name&gt;;<br> AccountKey=&lt;account key&gt;;<br> DefaultEndpointsProtocol=https"</code></span></pre>
</td>
</tr>
</tbody>
</table><p><strong></strong>&nbsp;Or</p><table style="width: 972px; height: 1px;">
<tbody>
<tr>
<td>
<pre class="scroll"><span style="font-size: x-small;"><code class="js">C:PS&gt; Backup-AzureBizTalkService<br> -ResourceName &lt;Biztalk Service name&gt;<br> -BackupName &lt;Backup container name&gt;<br> -BackupStoreConnectionString<br> "DefaultEndpointsProtocol=https;<br> AccountName=&lt;your storage account name&gt;;<br> AccountKey=&lt;your storage account key&gt;"</code></span></pre>
</td>
</tr>
</tbody>
</table><p><strong>Note: This may take up around 30 minutes to 1 hour to complete. </strong></p><h3><span style="font-size: small;">Request submission</span></h3><p><em><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/69/6471.a.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-69/6471.a.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/69/6471.a.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-69/6471.a.png" alt="" border="0"></a></em></p><p><em></em>&nbsp;</p><h3><span style="font-size: small;">On Azure Portal</span></h3><p><em><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/69/4130.b.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-69/4130.b.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/69/4130.b.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-69/4130.b.png" alt="" border="0"></a></em></p><p><em></em>&nbsp;</p><h3><span style="font-size: small;">Inside storage container</span></h3><p><em><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/69/4743.c.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-69/4743.c.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/69/4743.c.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-69/4743.c.png" alt="" border="0"></a></em></p><p>&nbsp;</p><p>&nbsp;</p><h1>Related Links</h1><ol>
<li><a title="Backup BizTalk Service" href="https://msdn.microsoft.com/en-us/library/windowsazure/dn232427.aspx">Backup BizTalk Service REST API</a></li>
<li><a title="Windows Azure BizTalk Services Management Sample" href="https://code.msdn.microsoft.com/windowsazure/Windows-Azure-BizTalk-91e1bdf3">Windows Azure BizTalk Services Management Sample</a></li>
<li><a title="Backup BizTalk Services" href="https://biztalkservices.blogspot.in/2013/12/backup-biztalk-services.html">Backup BizTalk Services on my Blogger&nbsp;website</a></li>
<li><a title="BizTalk Services: Backup and Restore" href="https://www.windowsazure.com/en-us/manage/services/biztalk-services/backup-restore/">BizTalk Services: Backup and Restore</a></li>
<li><a title="Business Continuity in BizTalk Services" href="https://msdn.microsoft.com/en-us/library/windowsazure/dn509557.aspx">Business Continuity in BizTalk Services</a></li>
</ol></p>
]]></content:encoded>
    </item>
  </channel>
</rss>