Symptoms
Issue 1:
Consider the following scenario:-
You use the Add Replica to Availability Group wizard to add an Azure replica to your AlwaysOn availability group in Microsoft SQL Server 2014.
-
You have no Affinity Groups that are configured in your Windows Azure subscription.
-
You input your Windows Azure subscription ID in the Add Azure Replica wizard.
In this scenario, the Add Azure Replica wizard cannot enumerate the Azure Virtual Network list under the Virtual Network drop-down box.
Issue 2: Assume that you try to use the Add Replica to Availability Group wizard to add an Azure replica to your AlwaysOn availability group in Microsoft SQL Server 2014. When you provision an Azure virtual machine (VM), you may experience a failure at the beginning of creating a new Azure VM (no VM is actually created in the subscription), and you receive the following error message:Attempting to provision Windows Azure VM 'vmname' resulted in an error. (Microsoft.SQLServer.Management.HadrTasks)
Additional Information: OperationID:1190164893f0120f97861e2cd5c47c8f, Status=Failed, Code=400, Details=The geo-location constraint specified for the hosted service is invalid. (Microsoft.SQLServer.Management.HadrTasks)
Resolution
The issue was first fixed in the following cumulative update of SQL Server.
Cumulative Update 5 for SQL Server 2014 /en-us/help/3011055
Each new cumulative update for SQL Server contains all the hotfixes and all the security fixes that were included with the previous cumulative update. Check out the latest cumulative updates for SQL Server:
Hotfix information
Hotfix for SQL Server 2014 A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem.
If the hotfix is available for download, there is a "Hotfix Download Available" section at the top of this Knowledge Base article. If this section does not appear, submit a request to Microsoft Customer Service and Support to obtain the hotfix. Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft website:http://support.microsoft.com/contactus/?ws=supportNote The "Hotfix Download Available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.
More Information
Allocating a new Azure virtual network is now defined in a region, and no longer defined by using an Affinity Group. The Add Azure Replica wizard enumerates the Azure virtual networks through Affinity Group. Therefore, the wizard cannot display the Azure virtual networks in the Virtual Network drop-down list on the Add Azure Replica dialog box of the Add Azure Replica wizard.
Status
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.