Azure-Samples/MyDriving

Resource not found for the segment firewallRules

louisleong opened this issue · 0 comments

I'm getting 2 errors when running deploy1.ps.

New-AzureRmResourceGroupDeployment : 4:53:48 PM - Resource Microsoft.Sql/servers/firewallrules
'mydrivingdbserver-hppotg5wonc36/ARMTemplateRule' failed with message 'Resource not found for the segment
'firewallRules'.'
At C:\Users\admin\Source\Repos\MyDriving\scripts\PowerShell\deploy.ps1:147 char:16

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

New-AzureRmResourceGroupDeployment : 4:56:48 PM - Resource Microsoft.DataFactory/datafactories/linkedservices
'mydriving-dfhppotg5wonc36/MobileAppSqlLinkedService' failed with message 'The resource operation completed with
terminal provisioning state 'Failed'.'
At C:\Users\admin\Source\Repos\MyDriving\scripts\PowerShell\deploy.ps1:147 char:16

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