Azure-Samples/MyDriving

Azure service deployment fails with Visual Studio Enterprise - MPN subscription

macimauro opened this issue · 0 comments

Hi to all,
we have an Azure subscription Visual Studio Enterprise - MPN.
When we tried to deploy in powershell we found always the same error:

New-AzureRmResourceGroupDeployment : 19:45:42 - Resource Microsoft.Sql/servers 'mydrivingdbserver-jrmghenra43sg' failed with message '{
"code": "45122",
"message": "'MSDN subscriptions are restricted from provisioning in this region. Please choose a different region. For exceptions to this rule please contact Microsoft
Support.'",
"target": null,
"details": [
{
"code": "45122",
"message": "'MSDN subscriptions are restricted from provisioning in this region. Please choose a different region. For exceptions to this rule please contact
Microsoft Support.'",
"target": null,
"severity": "16"
}
],
"innererror": []
}'
In C:\TFS\macim\MyDriving-master\scripts\PowerShell\deploy.ps1:147 car:16

  • ... ployment2 = New-AzureRmResourceGroupDeployment -Name "$DeploymentName ...
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:) [New-AzureRmResourceGroupDeployment], Exception
    • FullyQualifiedErrorId : Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.NewAzureResourceGroupDeploymentCmdlet

Any ideas?