Skip to content
This repository has been archived by the owner on Oct 8, 2019. It is now read-only.

.\deploy.ps1 "CentralUS" smhdinsight1234567 - always fails #609

Open
shmisra opened this issue Apr 17, 2019 · 0 comments
Open

.\deploy.ps1 "CentralUS" smhdinsight1234567 - always fails #609

shmisra opened this issue Apr 17, 2019 · 0 comments

Comments

@shmisra
Copy link

shmisra commented Apr 17, 2019

PS D:\IOT\MyDriving-master\scripts\PowerShell> .\deploy.ps1 "CentralUS" smhdinsight12345678

New-AzureRmResourceGroupDeployment : 5:12:46 PM - Error: Code=LocationNotAvailableForResourceType; Message=The provided location 'centralus' is not available for resource type
'Microsoft.DataFactory/dataFactories'. List of available regions for the resource type is 'westus,northeurope,eastus,westcentralus'.
At D:\IOT\MyDriving-master\scripts\PowerShell\deploy.ps1:147 char:16

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

New-AzureRmResourceGroupDeployment : The deployment validation failed
At D:\IOT\MyDriving-master\scripts\PowerShell\deploy.ps1:147 char:16

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

WARNING: Skipping the storage and database initialization...
D:\IOT\MyDriving-master\scripts\PowerShell\deploy.ps1 : At least one resource could not be provisioned successfully. Review the output above to correct any errors and then run the deployment script again.
At line:1 char:1

  • .\deploy.ps1 "CentralUS" smhdinsight12345678
  •   + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
      + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,deploy.ps1
    
    
    

For other regions that I tried, it always fails. Is there a new version of the PowerShell script that should process without any errors? Please clarify,

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant