Azure / ng-deploy-azure

Deploy Angular apps to Azure using the Angular CLI
MIT License
79 stars 37 forks source link

The Resource was not found. #81

Closed Githamza closed 4 years ago

Githamza commented 4 years ago

I get this error when trying to deploy after login to azure on console: The Resource 'Microsoft.Storage/storageAccounts/appstatic' under resource group 'app-static-deploy' was not found.

here's my azure.json config


{
  "hosting": [
    {
      "app": {
        "project": "app",
        "target": "build",
        "configuration": "production",
        "path": "dist"
      },
      "azureHosting": {
        "subscription": "xxxxxxxx",
        "resourceGroupName": "app-static-deploy",
        "account": "appstatic"
      }
    }
  ]
}```
Githamza commented 4 years ago

I get the solution I was creating a web app service but I should create a storage container service