<?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>Getting started with Internet Information Services             - Amol Mehrotra</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/amol/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/amol/feed.xml</link>
    <description />
    <lastBuildDate>Tue, 23 Feb 2016 09:53:42 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>AzurePack: Common errors seen on Websites controller</title>
      <link>https://docs.microsoft.com/archive/blogs/amol/azurepack-common-errors-seen-on-websites-controller</link>
      <pubDate>Wed, 23 Dec 2015 04:12:33 GMT</pubDate>
      <dc:creator><![CDATA[amolmehrotra]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/amol/2015/12/23/azurepack-common-errors-seen-on-websites-controller/</guid>
      <description><![CDATA[&#160;  Error 1: Exercise &quot;FileServer&quot; failed after the maximum number of retries....]]></description>
      <content:encoded><![CDATA[<p>&#160;</p>  <p><font face="Verdana"><font size="2"><strong><font color="#ff0000">Error 1:</font></strong> Exercise &quot;FileServer&quot; failed after the maximum number of retries. Restarting OnStart.        <br /><strong></strong></font></font></p>  <p><font face="Verdana"><font size="2"><strong>Assessment:</strong> The exercise means “health check” and the publisher is checking if it has access to the file server using FileShareOwner credential.        <br /><strong></strong></font></font></p>  <p><font face="Verdana"><font size="2"><strong>Action Plan:</strong> Check connectivity from the management server to the file server and from the publisher to the file server.</font></font></p>  <p><font face="Verdana"><font size="2">To manually check connectivity, you can do the following:       <br /></font><strong><font size="2">runas /user:FileShareOwner /netonly cmd         <br />dir </font><a href="file://\\&lt;file-server-name&gt;\Websites"><font size="2">\Websites&quot;&gt;\\&lt;file-server-name&gt;\Websites</font></a></strong></font></p>  <p><font size="2" face="Verdana"><strong></strong></font></p>  <p><font face="Verdana"><font size="2"><strong><font color="#ff0000">Error 2:</font></strong> Failed to run operation 'Repair'.&#160; Operation failed to complete. Connecting to remote server '&lt;server name&gt;' failed with the following error message : WinRM cannot complete the operation. </font></font></p>  <p><font face="Verdana"><font size="2"><strong>Assessment:</strong> Controller is unable to connect to remote server over port 5985.</font></font></p>  <p><font face="Verdana"><font size="2"><strong>Action Plan:</strong> Check Firewall settings and ports as per given article:</font></font></p>  <p><font face="Verdana"><strong><font size="2"><font color="#0000ff">Ports Used and Network Topology in Windows Azure Pack: Web Sites</font>          <br /></font></strong></font><a href="https://technet.microsoft.com/en-us/library/dn594513.aspx"><font size="2" face="Verdana">https://technet.microsoft.com/en-us/library/dn594513.aspx</font></a></p>  <p><font size="2" face="Verdana"><strong></strong></font></p>  <p><font face="Verdana"><font size="2"><strong><font color="#ff0000">Error 3:</font></strong> Waiting for worker data service credentials. Attempt number is 29220.</font></font></p>  <p><font face="Verdana"><font size="2"><strong>Assessment:</strong> Controller is unable to connect to web worker role server.</font></font>    <p><font size="2"><strong>Action Plan:</strong> Check Firewall settings and ports as per given article:</font></p>    <p><font size="2"><strong><font color="#0000ff">Ports Used and Network Topology in Windows Azure Pack: Web Sites</font></strong>        <br /></font><a href="https://technet.microsoft.com/en-us/library/dn594513.aspx"><font size="2">https://technet.microsoft.com/en-us/library/dn594513.aspx</font></a><font size="2"> </font></p></p>]]></content:encoded>
    </item>
    <item>
      <title>AzurePack: Unable to create database when using SQL High Availability group (AlwaysOn)–Part 2</title>
      <link>https://docs.microsoft.com/archive/blogs/amol/azurepack-unable-to-create-database-when-using-sql-high-availability-group-alwaysonpart-2</link>
      <pubDate>Mon, 21 Dec 2015 07:32:48 GMT</pubDate>
      <dc:creator><![CDATA[amolmehrotra]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/amol/2015/12/21/azurepack-unable-to-create-database-when-using-sql-high-availability-group-alwaysonpart-2/</guid>
      <description><![CDATA[&#160;  The symptoms seen in this scenario also are the same as we had seen in Part 1, but the...]]></description>
      <content:encoded><![CDATA[<p>&#160;</p>  <p><font size="2" face="Verdana">The symptoms seen in this scenario also are the same as we had seen in Part 1, but the underlying issue is different.</font></p>  <p><a href="https://blogs.msdn.com/b/amol/archive/2015/12/11/azurepack-unable-to-create-database-when-using-sql-high-availability-group-alwayson.aspx">AzurePack: Unable to create database when using SQL High Availability group (AlwaysOn)- Part 1</a></p>  <p><font size="2" face="Verdana">We have setup WAP environment and configured a SQL resource provider. WAPSQLCL is the SQL listener that we have added to the AlwaysOn group.      <br />When a tenant is created a new database, it fails with following message logged in tenant portal event logs:</font></p>  <p><font size="2" face="Verdana">Log Name:&#160;&#160;&#160;&#160;&#160; Microsoft-WindowsAzurePack-MgmtSvc-TenantSite/Operational      <br />Source:&#160;&#160;&#160;&#160;&#160;&#160;&#160; Microsoft-WindowsAzurePack-MgmtSvc-TenantSite       <br />Date:&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; xxxx       <br />Event ID:&#160;&#160;&#160;&#160;&#160; 12       <br />Task Category: (65522)       <br />Level:&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Error       <br />Keywords:&#160;&#160;&#160;&#160;&#160; None       <br />User:&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; IIS APPPOOL\MgmtSvc-TenantSite       <br />Computer:&#160;&#160;&#160;&#160;&#160; xxxx       <br />Description:       <br />Error:JsonException: Unable to create the database 'test'. Please try again later. If the problem persists, please contact support.</font></p>  <p><font size="2" face="Verdana"><strong>Assessment:</strong></font></p>  <p><font size="2" face="Verdana">In event logs we could see the detailed error:</font></p>  <p><font style="background-color: #ffff00" size="2" face="Verdana">Database 'test' could not be created on always on listener 'WAPSQLCL' since it restoration failed from network file share '\\Fileshare\Test' on secondary replica: WAPDB02 with following exception: System.Data.SqlClient.SqlException (0x80131904): Login failed for user 'SqlResourceProviderLogin'.</font></p>  <p><font size="2" face="Verdana">&#160;&#160; at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)</font></p>  <p><font size="2" face="Verdana">&#160;&#160; at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)</font></p>  <p><font size="2" face="Verdana">&#160;&#160; at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean&amp; dataReady)</font></p>  <p><font size="2" face="Verdana">In SQL server error logs we could see the error been logged as:</font></p>  <p><font style="background-color: #ffff00" size="2" face="Verdana">Login failed for user “sqlResourceProviderLogin”. Reason: password did not match that for the login provided.</font></p>  <p><font size="2" face="Verdana"><strong>Solution:</strong> </font></p>  <p><font size="2" face="Verdana">To sync the password of sqlResourceProviderLogin on both the SQL server nodes, select &quot;Repair connection&quot; option for SQL listener on Admin portal.</font></p>]]></content:encoded>
    </item>
    <item>
      <title>AzurePack: Creating and configuring a plan using PowerShell</title>
      <link>https://docs.microsoft.com/archive/blogs/amol/azurepack-creating-and-configuring-a-plan-using-powershell</link>
      <pubDate>Fri, 18 Dec 2015 11:07:25 GMT</pubDate>
      <dc:creator><![CDATA[amolmehrotra]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/amol/2015/12/18/azurepack-creating-and-configuring-a-plan-using-powershell/</guid>
      <description><![CDATA[&#160;  Import-Module 'MgmtSvcAdmin'   &#160; # environment settings    $AuthSiteURL=...]]></description>
      <content:encoded><![CDATA[<p>&#160;</p>  <p>Import-Module 'MgmtSvcAdmin'   <br />&#160; <br /># environment settings    <br />$AuthSiteURL= '<a href="https://waptest:30072'">https://waptest:30072'</a>    <br />$AdminSiteURL= '<a href="https://waptest:30004'">https://waptest:30004'</a>    <br />$ClientRealmUrl = '<a href="https://azureservices/AdminSite'">https://azureservices/AdminSite'</a>    <br />&#160; <br /># credentials and token    <br />$password = ConvertTo-SecureString &quot;password&quot; -AsPlainText -Force    <br />$credential = New-Object System.Management.Automation.PSCredential (&quot;domain\username&quot;,$password)    <br />$token = Get-MgmtSvcToken -Type Windows -AuthenticationSite $AuthSiteURL -ClientRealm $ClientRealmUrl -User $credential -DisableCertificateValidation    <br />&#160; <br /># plan / service settings    <br />$PlanDisplayName = 'PlanName'    <br />$planServiceName = 'systemcenter'    <br />$serviceDisplayName = 'Virtual Machine Clouds'    <br />$serviceInstanceDisplayName = 'Virtual Machine Clouds'    <br />&#160; <br /># quota settings (for System Center, these values are complex and depend upon the environment; one example shown for each)    <br />$quotaSettingKey1 = &quot;Actions&quot;    <br />$quotaSettingValue1 = '&lt;Actions&gt;&lt;Stamp Id=&quot;bbb46507-5cdd-4d23-830b-080ca2d5ff29&quot;&gt;&lt;Action&gt;Checkpoint&lt;/Action&gt;&lt;Action&gt;CheckpointRestoreOnly&lt;/Action&gt;&lt;Action&gt;Save&lt;/Action&gt;&lt;Action&gt;Store&lt;/Action&gt;</p>  <p>&lt;Action&gt;RemoteConnect&lt;/Action&gt;&lt;Action&gt;Author&lt;/Action&gt;&lt;Action&gt;Create&lt;/Action&gt;&lt;Action&gt;CreateFromVHDOrTemplate&lt;/Action&gt;</p>  <p>&lt;Action&gt;AllowLocalAdmin&lt;/Action&gt;&lt;Action&gt;Start&lt;/Action&gt;&lt;Action&gt;Stop&lt;/Action&gt;&lt;Action&gt;PauseAndResume&lt;/Action&gt;&lt;Action&gt;Shutdown&lt;/Action&gt;</p>  <p>&lt;Action&gt;Remove&lt;/Action&gt;&lt;Action MaximumNetwork=&quot;&quot; MaximumMemberNetwork=&quot;&quot; MaximumBandwidthIn=&quot;&quot; MaximumBandwidthOut=&quot;&quot; MaximumVPNConnection=&quot;99&quot; MaximumMemberVPNConnection=&quot;99&quot;&gt;AuthorVMNetwork&lt;/Action&gt;&lt;/Stamp&gt;&lt;/Actions&gt;'   <br />&#160; <br />$quotaSettingKey2 = &quot;Clouds&quot;    <br />$quotaSettingValue2 = '&lt;Clouds&gt;&lt;Cloud Id=&quot;2b5cc12d-892b-45af-adcf-8f0f6df6eb35&quot; StampId=&quot;bbb46507-5cdd-4d23-830b-080ca2d5ff29&quot;&gt;&lt;Quota&gt;&lt;RoleVMCount&gt;&lt;/RoleVMCount&gt;&lt;MemberVMCount&gt;&lt;/MemberVMCount&gt;&lt;RoleCPUCount&gt;&lt;/RoleCPUCount&gt;</p>  <p>&lt;MemberCPUCount&gt;&lt;/MemberCPUCount&gt;&lt;RoleMemoryMB&gt;&lt;/RoleMemoryMB&gt;&lt;MemberMemoryMB&gt;&lt;/MemberMemoryMB&gt;</p>  <p>&lt;RoleStorageGB&gt;&lt;/RoleStorageGB&gt;&lt;MemberStorageGB&gt;&lt;/MemberStorageGB&gt;&lt;/Quota&gt;&lt;/Cloud&gt;&lt;/Clouds&gt;'   <br />&#160; <br />$quotaSettingKey3 = &quot;VmResources&quot;    <br />$quotaSettingValue3 = '&lt;Resources&gt;&lt;HardwareProfile Id = &quot;326fbb68-7ee7-4459-bc84-047bff491512&quot; StampId=&quot;bbb46507-5cdd-4d23-830b-080ca2d5ff29&quot;/&gt;&lt;VmTemplate Id = &quot;b88c24e0-06a1-4ed0-bfbc-22e2949002ac&quot; StampId=&quot;bbb46507-5cdd-4d23-830b-080ca2d5ff29&quot;/&gt;&lt;GalleryItem Name = &quot;LarysaResDef&quot; Version = &quot;3.0.0.0&quot; Publisher = &quot;UnspecifiedPublisher&quot; StampId=&quot;bbb46507-5cdd-4d23-830b-080ca2d5ff29&quot;/&gt;&lt;/Resources&gt;'    <br />&#160; <br />$quotaSettingKey4 = &quot;Networks&quot;    <br />$quotaSettingValue4 = '&lt;Networks&gt;&lt;Network Id = &quot;354a27eb-2705-4073-9dbb-52cec271f839&quot; StampId=&quot;bbb46507-5cdd-4d23-830b-080ca2d5ff29&quot;/&gt;&lt;/Networks&gt;'    <br />&#160; <br />$quotaSettingKey4 = &quot;CustomSettings&quot;    <br />$quotaSettingValue4 = '&lt;CustomSettings&gt;&lt;/CustomSettings&gt;'    <br />&#160; <br /># Add a new public Management Service plan    <br />$plan = Add-MgmtSvcPlan $AdminSiteURL $token -DisableCertificateValidation -DisplayName $PlanDisplayName -State Public    <br />&#160; <br /># Retrieve the System Center resource provider config data (the System Center resource provider should already exist in the Management Service node)    <br />$systemCenterRP = Get-MgmtSvcResourceProvider -AdminUri $AdminSiteURL -token $token -disablecertificatevalidation -name $planServiceName    <br />&#160; <br /># Add the System Center service to the plan created    <br />Add-MgmtSvcPlanService $AdminSiteURL $token -DisableCertificateValidation -PlanId $plan.Id -ServiceName $planServiceName -InstanceId $systemCenterRP.InstanceId    <br />&#160; <br /># Add Quotas to the plan created    <br />$QuotaList = New-MgmtSvcQuotaList    <br />&#160; <br />$quota = Add-MgmtSvcListQuota -QuotaList $QuotaList -ServiceName $planServiceName -ServiceInstanceId $systemCenterRP.InstanceId    <br />$quota.ServiceDisplayName = $serviceDisplayName    <br />$quota.ServiceInstanceDisplayName = $serviceInstanceDisplayName    <br />&#160; <br /># add each of the key:value quota settings to the quota (each saved into settings variable for debug inspection or logging)    <br />$setting1 = Add-MgmtSvcQuotaSetting -Quota $quota -Key $quotaSettingKey1 -Value $quotaSettingValue1    <br />$setting2 = Add-MgmtSvcQuotaSetting -Quota $quota -Key $quotaSettingKey2 -Value $quotaSettingValue2    <br />$setting3 = Add-MgmtSvcQuotaSetting -Quota $quota -Key $quotaSettingKey3 -Value $quotaSettingValue3    <br />$setting4 = Add-MgmtSvcQuotaSetting -Quota $quota -Key $quotaSettingKey4 -Value $quotaSettingValue4    <br />&#160; <br />Update-MgmtSvcPlanQuota $AdminSiteURL $token -DisableCertificateValidation -PlanId $plan.Id -QuotaList $QuotaList -Verbose </p>]]></content:encoded>
    </item>
    <item>
      <title>AzurePack: How to change connectionstring in web.config of AzurePack component</title>
      <link>https://docs.microsoft.com/archive/blogs/amol/azurepack-how-to-change-connectionstring-in-web-config-of-azurepack-component</link>
      <pubDate>Fri, 18 Dec 2015 10:20:06 GMT</pubDate>
      <dc:creator><![CDATA[amolmehrotra]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/amol/2015/12/18/azurepack-how-to-change-connectionstring-in-web-config-of-azurepack-component/</guid>
      <description><![CDATA[&#160;  In case you have moved your WAP database to a different server or need to reset password for...]]></description>
      <content:encoded><![CDATA[<p>&#160;</p>  <p><font color="#0000a0" size="2" face="Verdana">In case you have moved your WAP database to a different server or need to reset password for a SQL login, we would need the connection string from web.config of AzuPack components.</font></p>  <p><font color="#0000a0" size="2" face="Verdana">The web.config files are encrypted so they should be decrypted first. You can do this through the following PowerShell code:</font></p>  <p><font color="#0000ff" size="2" face="Verdana">Get-MgmtSvcNamespace | %{     <br />Unprotect-MgmtSvcConfiguration -Namespace $_      <br />}</font></p>  <p><font color="#0000a0" size="2" face="Verdana">This code will unencrypt all web.config files associated with the namespaces installed on the local server. When this has run you can go to IIS manager and reconfigure the connection strings.</font></p>  <p><font size="2" face="Verdana"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/22/21/metablogapi/8304.061814_0712_wapdatabase1_45E21156.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-22-21-metablogapi/8304.061814_5F00_0712_5F00_wapdatabase1_5F00_45E21156.jpg"><img title="061814_0712_wapdatabase1" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="061814_0712_wapdatabase1" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/22/21/metablogapi/1234.061814_0712_wapdatabase1_thumb_6E144A68.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-22-21-metablogapi/1234.061814_5F00_0712_5F00_wapdatabase1_5F00_thumb_5F00_6E144A68.jpg" width="427" height="348" /></a></font></p>  <p><font color="#0000a0" size="2" face="Verdana">When every connection string is adjusted, you can run the following PowerShell code to encrypt the web.config files again:</font></p>  <p><font color="#0000ff" size="2" face="Verdana">Get-MgmtSvcNamespace | %{     <br />Protect-MgmtSvcConfiguration -Namespace $_      <br />}</font></p>]]></content:encoded>
    </item>
    <item>
      <title>AzurePack: How to check if there is version mismatch in WAP components and database schema</title>
      <link>https://docs.microsoft.com/archive/blogs/amol/azurepack-how-to-check-if-there-is-version-mismatch-in-wap-components-and-database-schema</link>
      <pubDate>Fri, 18 Dec 2015 08:16:07 GMT</pubDate>
      <dc:creator><![CDATA[amolmehrotra]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/amol/2015/12/18/azurepack-how-to-check-if-there-is-version-mismatch-in-wap-components-and-database-schema/</guid>
      <description><![CDATA[&#160;  After installing a rollup update on AzurePack, you might sometimes get into an issue where...]]></description>
      <content:encoded><![CDATA[<p>&#160;</p>  <p><font color="#0000a0" size="2" face="Verdana">After installing a rollup update on AzurePack, you might sometimes get into an issue where the version of WAP component doesn’t match for database schema version. Most commonly seen error message or symptom of this behavior as seen in event logs is:</font></p>  <p><strong><font size="2" face="Verdana">System.Data.SqlClient.SqlException (0x80131904): Could not find stored procedure 'mp.UpdatePlan_vx_xx'.</font></strong></p>  <p><font color="#0000a0" size="2" face="Verdana">Stored procedure name in the error message would differ based on what operation you are performing on the portal. But the underlying issue is that database schema is not updated to the version of WAP components that we have on the servers.</font></p>  <p><font color="#0000a0" size="2" face="Verdana">So first we need to verify if there is indeed a version mismatch.</font></p>  <p><font color="#0000a0" size="2" face="Verdana">You can determine the versions of your Windows Azure Pack installations with the </font><a href="https://technet.microsoft.com/library/hh849824.aspx"><font color="#0000a0" size="2" face="Verdana">Get-WmiObject</font></a><font color="#0000a0" size="2" face="Verdana"> Windows PowerShell command. Run the following command on each computer that has a Windows Azure Pack installed, for example:</font></p>  <p><strong><font size="2" face="Verdana">Get-WmiObject -Class Win32_Product | Where-Object { $_.Name -like &quot;Windows Azure Pack *&quot; } | Format-Table -AutoSize</font></strong></p>  <p><font color="#0000a0" size="2" face="Verdana">To determine the versions of your Windows Azure Pack databases, run the following query in <strong>SQL Server Management Studio</strong> on the SQL Server instance that hosts the Windows Azure Pack databases:</font></p>  <p>-- WAP database versions   <br />SELECT SERVERPROPERTY(N'ServerName') AS [Server],    <br />N'Microsoft.MgmtSvc.Config' AS [Database],    <br />N'Config' AS [Schema], *    <br />FROM [Microsoft.MgmtSvc.Config].[Config].[Version]    <br />UNION</p>  <p>SELECT SERVERPROPERTY(N'ServerName') AS [Server],   <br />N'Microsoft.MgmtSvc.PortalConfigStore' AS [Database],    <br />N'Config' AS [Schema],    <br />[Version], [Major], [Minor], [Build], [Revision], [VersionInfo]    <br />FROM [Microsoft.MgmtSvc.PortalConfigStore].[Config].[Version]    <br />UNION    <br />SELECT SERVERPROPERTY(N'ServerName') AS [Server],    <br />N'Microsoft.MgmtSvc.PortalConfigStore' AS [Database],    <br />N'PortalAspNet' AS [Schema],    <br />N'' AS [Version], [CompatibleSchemaVersion] AS [Major], 0 AS [Minor], 0 AS [Build], 0 AS [Revision], N'' AS [VersionInfo]    <br />FROM [Microsoft.MgmtSvc.PortalConfigStore].[dbo].[aspnet_SchemaVersions]    <br />WHERE [Feature] = N'membership'    <br />UNION</p>  <p>SELECT SERVERPROPERTY(N'ServerName') AS [Server],   <br />N'Microsoft.MgmtSvc.Store' AS [Database],    <br />N'Config' AS [Schema],    <br />[Version], [Major], [Minor], [Build], [Revision], [VersionInfo]    <br />FROM [Microsoft.MgmtSvc.Store].[Config].[Version]    <br />UNION    <br />SELECT SERVERPROPERTY(N'ServerName') AS [Server],    <br />N'Microsoft.MgmtSvc.Store' AS [Database],    <br />N'Management' AS [Schema],    <br />[Version], [Major], [Minor], [Build], [Revision], [VersionInfo]    <br />FROM [Microsoft.MgmtSvc.Store].[mp].[Version]    <br />UNION</p>  <p>SELECT SERVERPROPERTY(N'ServerName') AS [Server],   <br />N'Microsoft.MgmtSvc.Usage' AS [Database],    <br />N'Usage' AS [Schema],    <br />[Version], [Major], [Minor], [Build], [Revision], [VersionInfo]    <br />FROM [Microsoft.MgmtSvc.Usage].[usage].[Version]    <br />UNION</p>  <p>SELECT SERVERPROPERTY(N'ServerName') AS [Server],   <br />N'Microsoft.MgmtSvc.WebAppGallery' AS [Database],    <br />N'WebAppGallery' AS [Schema],    <br />[Version], [Major], [Minor], [Build], [Revision], [VersionInfo]    <br />FROM [Microsoft.MgmtSvc.WebAppGallery].[WebAppGallery].[Version]    <br />UNION</p>  <p>SELECT SERVERPROPERTY(N'ServerName') AS [Server],   <br />N'Microsoft.MgmtSvc.SQLServer' AS [Database],    <br />N'SQLServer' AS [Schema],    <br />[Version], [Major], [Minor], [Build], [Revision], [VersionInfo]    <br />FROM [Microsoft.MgmtSvc.SQLServer].[SqlServer].[Version]    <br />UNION</p>  <p>SELECT SERVERPROPERTY(N'ServerName') AS [Server],   <br />N'Microsoft.MgmtSvc.MySQL' AS [Database],    <br />N'MySQL' AS [Schema],    <br />[Version], [Major], [Minor], [Build], [Revision], [VersionInfo]    <br />FROM [Microsoft.MgmtSvc.MySQL].[MySql].[Version]    <br /></p>  <p><font face="Verdana"><font color="#0000a0" size="2">If Windows Azure Pack component version is greater than the database version, r</font></font><font color="#0000a0" size="2" face="Verdana">un the following script as administrator on the servers that contain the <strong>MgmtSvc-PowerShellAPI</strong> module. These servers include the Usage, Web App Gallery, SQL Server, and MySQL extensions. </font></p>  <p><font color="#0000a0" size="2" face="Verdana">Note that this script may need modification for some distributed installations. In particular, the schemas for Usage, WebAppGallery, SQLServer, and MySQL are installed with those components so those portions of the script would need to run on the computers with those components installed.</font></p>  <p><font color="#0000a0" size="2" face="Verdana"><strong>Caution</strong>: Take a backup of your databases before running the script.</font></p>  <p># Update-WapDatabases   <br />Import-Module -Name MgmtSvcConfig</p>  <p>function New-SqlConnectionString([string]$masterConnectionString, [string]$database)   <br />{    <br />&#160;&#160;&#160; $builder = New-Object System.Data.SqlClient.SqlConnectionStringBuilder($masterConnectionString)    <br />&#160;&#160;&#160; $builder.Database = $database    <br />&#160;&#160;&#160; return $builder.ConnectionString    <br />}    <br />function Get-WapSchemas([string]$database)    <br />{    <br />&#160;&#160;&#160; switch ($database)    <br />&#160;&#160;&#160; {    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &quot;Microsoft.MgmtSvc.Config&quot;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { @(&quot;Config&quot;) }    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &quot;Microsoft.MgmtSvc.MySQL&quot;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { @(&quot;MySQL&quot;) }    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &quot;Microsoft.MgmtSvc.PortalConfigStore&quot; { @(&quot;Config&quot;,&quot;PortalAspNet&quot;,&quot;PortalNotification&quot;) }    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &quot;Microsoft.MgmtSvc.SQLServer&quot;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { @(&quot;SQLServer&quot;) }    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &quot;Microsoft.MgmtSvc.Store&quot;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { @(&quot;Config&quot;,&quot;Management&quot;) }    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &quot;Microsoft.MgmtSvc.Usage&quot;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { @(&quot;Usage&quot;) }    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &quot;Microsoft.MgmtSvc.WebAppGallery&quot;&#160;&#160;&#160;&#160; { @(&quot;WebAppGallery&quot;) }    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; default { throw New-Object System.ArgumentOutOfRangeException($database) }    <br />&#160;&#160;&#160; }    <br />}</p>  <p># Prompt for the SQL Server name:    <br />$sName = Read-Host &quot;Specify the name of the SQL Server that hosts the Windows Azure Pack databases.&quot;</p>  <p>$wapMasterConnectionString = &quot;Server=&quot; + $sName + &quot;;Database=master;Integrated Security=True&quot;</p>  <p>$wapDatabaseNames = (Get-MgmtSvcDefaultDatabaseName).DefaultDatabaseName   <br />foreach ($wapDatabaseName in $wapDatabaseNames)    <br />{    <br />&#160;&#160;&#160; $wapConnectionString = New-SqlConnectionString -masterConnectionString $wapMasterConnectionString -database $wapDatabaseName    <br />&#160;&#160;&#160; Write-Verbose -Message &quot;Connection string: $wapConnectionString&quot; -Verbose</p>  <p>&#160;&#160;&#160; $wapSchemas = Get-WapSchemas -database $wapDatabaseName   <br />&#160;&#160;&#160; foreach ($wapSchema in $wapSchemas)    <br />&#160;&#160;&#160; {    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; $wapSchema = Get-MgmtSvcSchema -Schema $wapSchema    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; if ($wapSchema)    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; {    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Write-Verbose -Message &quot;BEGIN UPDATE database '$wapDatabaseName' schema '$wapSchema'.&quot; -Verbose    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Install-MgmtSvcDatabase -ConnectionString $wapConnectionString -Schema $wapSchema    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Write-Verbose -Message &quot;END UPDATE database '$wapDatabaseName' schema '$wapSchema'.&quot; -Verbose    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $version = Test-MgmtSvcDatabase -ConnectionString $wapConnectionString -Schema $wapSchema    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Write-Output &quot;Version: database '$wapDatabaseName' schema '$wapSchema' version $version&quot;    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; }    <br />&#160;&#160;&#160; }    <br />}</p>  <p><strong>Reference: </strong><a title="https://technet.microsoft.com/en-us/library/dn747884.aspx" href="https://technet.microsoft.com/en-us/library/dn747884.aspx">https://technet.microsoft.com/en-us/library/dn747884.aspx</a></p>]]></content:encoded>
    </item>
    <item>
      <title>AzurePack: Admin Portal failing with HTTP 500</title>
      <link>https://docs.microsoft.com/archive/blogs/amol/azurepack-admin-portal-failing-with-http-500</link>
      <pubDate>Wed, 16 Dec 2015 09:17:38 GMT</pubDate>
      <dc:creator><![CDATA[amolmehrotra]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/amol/2015/12/16/azurepack-admin-portal-failing-with-http-500/</guid>
      <description><![CDATA[&#160;  One of the common issues we get after setting up AzurePack is while trying to access Admin...]]></description>
      <content:encoded><![CDATA[<p>&#160;</p>  <p><font size="2" face="Verdana">One of the common issues we get after setting up AzurePack is while trying to access Admin portal and getting HTTP 500. Moreover issue would be limited to admin portal only and tenant portal might work fine.</font></p>  <p><font size="2" face="Verdana">AzurePack admin portal uses Windows authentication whereas tenant portal used forms authentication, hence the difference.</font></p>  <p><font size="2" face="Verdana">The admin user account with which we are trying to access the admin portal might be a system admin or domain admin account that would have large number of group memberships. With the increase in number of group memberships, the size of auth token also increases.</font> </p>  <p><font size="2" face="Verdana">This could be verified by looking at a network trace or simply run fiddler on the client machine and check the header size.</font></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/22/21/metablogapi/7343.clip_image002_3816B04D.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-22-21-metablogapi/7343.clip_5F00_image002_5F00_3816B04D.jpg"><img title="clip_image002" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="clip_image002" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/22/21/metablogapi/3073.clip_image002_thumb_3C8FC1C5.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-22-21-metablogapi/3073.clip_5F00_image002_5F00_thumb_5F00_3C8FC1C5.jpg" width="398" height="203" /></a></p>  <p><font size="2" face="Verdana">Suggested way of fixing such issues is to reduce the number of group memberships. But that might not be always possible.</font></p>  <p><font size="2" face="Verdana">Another way to fix this issue is to increase the allowed limit on the web server. We have to increase <strong>MaxRequestBytes</strong> and <strong>MaxFieldLength</strong> values on all servers where is Windows Authentication Role installed:</font></p>  <p><font size="2" face="Verdana">Key path: SYSTEM\CurrentControlSet\Services\HTTP\Parameters     <br />Value name: MaxRequestBytes       <br />Value type: REG_DWORD       <br />Value data: 65534</font></p>  <p><font size="2" face="Verdana">Key path: SYSTEM\CurrentControlSet\Services\HTTP\Parameters      <br />Value name: MaxFieldLength       <br />Value type: REG_DWORD      <br />Value data: 65534</font></p>  <p><font size="2" face="Verdana">Reference:</font></p>  <p><font size="2" face="Verdana">Problems with Kerberos authentication when a user belongs to many groups     <br /></font><a href="https://support.microsoft.com/en-us/kb/327825"><font size="2" face="Verdana">https://support.microsoft.com/en-us/kb/327825</font></a></p>]]></content:encoded>
    </item>
    <item>
      <title>AzurePack: Unable to create a new website from Web Gallery</title>
      <link>https://docs.microsoft.com/archive/blogs/amol/azurepack-unable-to-create-a-new-website-from-web-gallery</link>
      <pubDate>Tue, 15 Dec 2015 08:14:52 GMT</pubDate>
      <dc:creator><![CDATA[amolmehrotra]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/amol/2015/12/15/azurepack-unable-to-create-a-new-website-from-web-gallery/</guid>
      <description><![CDATA[&#160;  Troubleshooting tricks from my wiki  1. When creating a new website from Gallery, if Gallery...]]></description>
      <content:encoded><![CDATA[<p>&#160;</p>  <p><font size="2" face="Verdana"><strong>Troubleshooting tricks from my wiki</strong></font></p>  <p><font size="2" face="Verdana">1. When creating a new website from Gallery, if Gallery items are not populated, then check if these tables are populated:</font></p>  <blockquote>   <p><font size="2" face="Verdana">[Microsoft.MgmtSvc.WebAppGallery].[WebAppGallery].[MarketplaceItemProperties] </font></p>    <p><font size="2" face="Verdana">[Microsoft.MgmtSvc.WebAppGallery].[WebAppGallery].[MarketplaceItems]</font></p> </blockquote>  <p><font size="2" face="Verdana">2. <font size="2" face="Verdana">Also check the events on the server on which this service is hosted --&gt; MgmtSvc-WebAppGallery</font></font></p>  <p><font size="2" face="Verdana">3. If the gallery items are populated but still unable to publish the website from Gallery, then check if you are able to ping the Publishing server or if Publishing servers are load balanced. Load balancer can be bypassed to rule out any issues with it. </font></p>  <p><font size="2" face="Verdana">4. Try creating a blank website and download its publishing profile. Using this Publishing profile in WebMartrix, try to publish a web site from Gallery items. WebMatrix gives option to deploy using WebDeploy or FTP. Try both options and check the errors.</font></p>  <p><font size="2" face="Verdana">Hope this helps!</font></p>]]></content:encoded>
    </item>
    <item>
      <title>AzurePack: How to re-run ADFS trust settings for AzurePack portal</title>
      <link>https://docs.microsoft.com/archive/blogs/amol/azurepack-how-to-re-run-adfs-trust-settings-for-azurepack-portal</link>
      <pubDate>Mon, 14 Dec 2015 08:55:53 GMT</pubDate>
      <dc:creator><![CDATA[amolmehrotra]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/amol/2015/12/14/azurepack-how-to-re-run-adfs-trust-settings-for-azurepack-portal/</guid>
      <description><![CDATA[&#160;  Quite often I have come across situations where ADFS trust was broken for admin or the...]]></description>
      <content:encoded><![CDATA[<p>&#160;</p>  <p><font size="2" face="Verdana">Quite often I have come across situations where ADFS trust was broken for admin or the tenant portal. And the only option we had was to rerun the trust settings again.</font></p>  <p><font size="2" face="Verdana">To re-run the trust between all components, we will follow the steps mentioned in this article:</font></p>  <p><a href="https://technet.microsoft.com/en-us/library/dn457746.aspx"><font size="2" face="Verdana">https://technet.microsoft.com/en-us/library/dn457746.aspx</font></a></p>  <p><strong><font size="2" face="Verdana">Following steps are from my wiki to perform ADFS re-run:</font></strong></p>  <p><strong><font size="2" face="Verdana">Step 1: Configure the Admin\Tenant management portals to trust AD FS</font></strong></p>  <p><font size="2" face="Verdana">On Admin Portal server:</font></p>  <p><font size="2" face="Verdana">Set-MgmtSvcRelyingPartySettings –Target Admin –MetadataEndpoint </font><a href="https://%3cfqdn%3e/FederationMetadata/2007-06/FederationMetadata.xml"><font size="2" face="Verdana">https://&lt;fqdn&gt;/FederationMetadata/2007-06/FederationMetadata.xml</font></a><font size="2" face="Verdana"> -ConnectionString $ConnectionString</font></p>  <p><font size="2" face="Verdana">On Tenant Portal server:</font></p>  <p><font size="2" face="Verdana">Set-MgmtSvcRelyingPartySettings –Target Tenant –MetadataEndpoint </font><a href="https://%3cfqdn%3e/FederationMetadata/2007-06/FederationMetadata.xml"><font size="2" face="Verdana">https://&lt;fqdn&gt;/FederationMetadata/2007-06/FederationMetadata.xml</font></a><font size="2" face="Verdana"> -ConnectionString $ConnectionString</font></p>  <p><strong><font size="2" face="Verdana">Step 2: Add users to have access to the management portal for administrators</font></strong></p>  <p><font size="2" face="Verdana">On Admin API server:</font></p>  <p><font size="2" face="Verdana">$adminuser = 'domainuser1@mydomain.com'</font></p>  <p><font size="2" face="Verdana">$dbServer = 'AzurePack-sql'</font></p>  <p><font size="2" face="Verdana">$dbUsername = 'sa'</font></p>  <p><font size="2" face="Verdana">$dbPassword = 'SQL_Password'</font></p>  <p><font size="2" face="Verdana">$connectionString = [string]::Format('Server= {0} ;Initial Catalog=Microsoft.MgmtSvc.Store;User Id={1};Password={2};',$dbServer, $dbUsername, $dbPassword)</font></p>  <p><font size="2" face="Verdana">Add-MgmtSvcAdminUser -Principal $adminuser -ConnectionString $connectionstring</font></p>  <p><strong><font size="2" face="Verdana">Step 3: Configure the Admin\Tenant authentication site to trust AD FS</font></strong></p>  <p><font size="2" face="Verdana">On WindowsAuth Server:</font></p>  <p><font size="2" face="Verdana">Set-MgmtSvcIdentityProviderSettings –Target Windows –MetadataEndpoint </font><a href="https://%3cfqdn%3e/federationmetadata/2007-06/federationmetadata.xml"><font size="2" face="Verdana">https://&lt;fqdn&gt;/federationmetadata/2007-06/federationmetadata.xml</font></a><font size="2" face="Verdana"> -ConnectionString $connectionstring</font></p>  <p><font size="2" face="Verdana">On TenantAuth Server:</font></p>  <p><font size="2" face="Verdana">Set-MgmtSvcIdentityProviderSettings -Target Membership -MetadataEndpoint https://&lt; fqdn&gt;/FederationMetadata/2007-06/FederationMetadata.xml -ConnectionString $connectionstring</font></p>  <p><strong><font size="2" face="Verdana">Step 4: Configure AD FS to trust the management portals</font></strong></p>  <p><font size="2" face="Verdana">a. Locate the configure-adfs.ps1 configuration script that is installed with Windows Azure Pack in C:\Program Files\Management Service\MgmtSvc-PowerShellAPI\Samples\Authentication\.</font></p>  <p><font size="2" face="Verdana">b. Run the configure-adfs.ps1 script on the machine where AD FS is installed.</font></p>  <p><font size="2" face="Verdana">$tenantSite = 'tenant-AzurePack.contoso.com:30081'</font></p>  <p><font size="2" face="Verdana">$adminSite = 'admin-AzurePack.contoso.com:30091'</font></p>  <p><font size="2" face="Verdana">$authSite = 'auth-AzurePack.contoso.com:30071'</font></p>  <p><font size="2" face="Verdana">&amp; &quot;C:\Program Files\Management Service\MgmtSvc-PowerShellAPI\Samples\configure-adfs.ps1&quot; ` –identityProviderMetadataEndpoint &quot;</font><a href="https://$authsite/federationmetadata/2007-06/federationmetadata.xml"><font size="2" face="Verdana">https://$authSite/federationmetadata/2007-06/federationmetadata.xml</font></a><font size="2" face="Verdana">&quot; ` -tenantRelyingPartyMetadataEndpoint &quot;</font><a href="https://$tenantsite/federationmetadata/2007-06/federationmetadata.xml"><font size="2" face="Verdana">https://$tenantSite/federationmetadata/2007-06/federationmetadata.xml</font></a><font size="2" face="Verdana">&quot; ` -adminRelyingPartyMetadataEndpoint &quot;</font><a href="https://$adminsite/federationmetadata/2007-06/federationmetadata.xml"><font size="2" face="Verdana">https://$adminSite/federationmetadata/2007-06/federationmetadata.xml</font></a><font size="2" face="Verdana">&quot; `</font></p>  <p><strong><font size="2" face="Verdana">Appendix: How to break ADFS tenant trust</font></strong></p>  <p><font face="Verdana"><font size="2"><strong>Note</strong>: Take a backup of Microsoft.MgmtSvc.Store database before breaking ADFS trust</font></font></p>  <p><font size="2" face="Verdana">Set-MgmtSvcRelyingPartySettings -Target Tenant -MetadataEndpoint </font><a href="https://wapportal:30071/FederationMetadata/2007-06/FederationMetadata.xml"><font size="2" face="Verdana">https://wapportal:30071/FederationMetadata/2007-06/FederationMetadata.xml</font></a><font size="2" face="Verdana"> -ConnectionString $portalConfigStoreConnectionString -DisableCertificateValidation&#160; </font></p>  <p><font size="2" face="Verdana">Set-MgmtSvcIdentityProviderSettings -Target Membership -MetadataEndpoint </font><a href="https://wapportal:30081/FederationMetadata/2007-06/FederationMetadata.xml"><font size="2" face="Verdana">https://wapportal:30081/FederationMetadata/2007-06/FederationMetadata.xml</font></a><font size="2" face="Verdana"> -ConnectionString $portalConfigStoreConnectionString -DisableCertificateVaLidation</font></p>]]></content:encoded>
    </item>
    <item>
      <title>AzurePack: How to register a custom resource provider on AzurePack portal</title>
      <link>https://docs.microsoft.com/archive/blogs/amol/azurepack-how-to-register-a-custom-resource-provider-on-azurepack-portal</link>
      <pubDate>Mon, 14 Dec 2015 08:37:00 GMT</pubDate>
      <dc:creator><![CDATA[amolmehrotra]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/amol/2015/12/14/azurepack-how-to-register-a-custom-resource-provider-on-azurepack-portal/</guid>
      <description><![CDATA[While working on an issue last week, I came across a nice blog with allthe steps to register a...]]></description>
      <content:encoded><![CDATA[<p><span style="font-family: 'Verdana',sans-serif; font-size: 10pt; mso-bidi-font-family: Arial;">While working on an issue last week, I came across a nice blog with all<br />the steps to register a custom resource provider on AzurePack portal:</span></p>
<p><span style="font-family: 'Arial',sans-serif; font-size: 10pt;"><a title="https://blogs.technet.com/b/privatecloud/archive/2014/02/11/custom-resource-providers-in-windows-azure-pack-deploying-the-hello-world-sample.aspx" href="https://na01.safelinks.protection.outlook.com/?url=http%3a%2f%2fblogs.technet.com%2fb%2fprivatecloud%2farchive%2f2014%2f02%2f11%2fcustom-resource-providers-in-windows-azure-pack-deploying-the-hello-world-sample.aspx&amp;data=01%7c01%7cAMEHROT%40064d.mgd.microsoft.com%7c48f53d1f8d6e4d3fca0b08d304a50e2f%7c72f988bf86f141af91ab2d7cd011db47%7c1&amp;sdata=bQRU0m2SKPfBfyY7Ug5ozQCSutf31ngSfFOWbRSMUOg%3d"><span style="font-family: 'Verdana',sans-serif;">https://blogs.technet.com/b/privatecloud/archive/2014/02/11/custom-resource-providers-in-windows-azure-pack-deploying-the-hello-world-sample.aspx</span></a></span></p>
<p><span style="font-family: 'Verdana',sans-serif; font-size: 10pt; mso-bidi-font-family: Arial;">Hope this helps!</span></p>]]></content:encoded>
    </item>
    <item>
      <title>AzurePack: How to remove a resource provider that is already been registered on the admin portal</title>
      <link>https://docs.microsoft.com/archive/blogs/amol/azurepack-how-to-remove-a-resource-provider-that-is-already-been-registered-on-the-admin-portal</link>
      <pubDate>Mon, 14 Dec 2015 08:22:04 GMT</pubDate>
      <dc:creator><![CDATA[amolmehrotra]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/amol/2015/12/14/azurepack-how-to-remove-a-resource-provider-that-is-already-been-registered-on-the-admin-portal/</guid>
      <description><![CDATA[&#160;  To remove a resource provider from WAP portal like websites resource provider or SPF     Go...]]></description>
      <content:encoded><![CDATA[<p>&#160;</p>  <p><font size="2" face="Verdana">To remove a resource provider from WAP portal like websites resource provider or SPF</font></p>  <ol>   <li><font face="Verdana"><font size="2">Go to database to get the instance ID from <strong>[Microsoft.MgmtSvc.Store].[MP].[Resourceproviders]</strong></font></font></li>    <li><font size="2" face="Verdana">Open PowerShell window as Run as administrator</font></li>    <li><font face="Verdana"><font size="2">Run <strong>Get-Help remove-MgmtSvcResourceProviderConfiguration -details</strong></font></font></li>    <li><strong><font face="Verdana"><font size="2">Remove-MgmtSvcResourceProviderConfiguration -Name <em>&lt;string&gt;</em> -Instancename <em>&lt;string&gt;</em></font></font></strong></li> </ol>  <p><font size="2" face="Verdana">Hope this helps!</font></p>]]></content:encoded>
    </item>
  </channel>
</rss>