Azure / Test-Drive-Azure-Synapse-with-a-1-click-POC

MIT License
61 stars 459 forks source link

Logic App deployment #13

Open tgpmoraes opened 3 years ago

tgpmoraes commented 3 years ago

Hi,

I got the following error from Logic App

{
  "error": {
    "code": "ResourceNotFound",
    "message": "The Resource 'Microsoft.Synapse/workspaces/mstpocws1/sqlPools/mstpocws1p1' under resource group '1-click-POC' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"
  }
}

As you can see, the workspace name is wrong. I checked the script: https://github.com/tgpmoraes/Test-Drive-Azure-Synapse-with-a-1-click-POC/blob/main/nestedtemplates/pausetemplate.json

I noticed the variable is different from the main script: pausetemplate.json - "synapseName": "[toLower(concat(parameters('companyTla'),parameters('deploymentType')))]" azuredeploy.json - "synapseName": "[toLower(concat(parameters('companyTla'),uniquestring(resourceGroup().id),variables('deploymentType')))]"

After I fixed the name, worked fine.

robert4os commented 3 years ago

+1

fitzyrich commented 2 years ago

+1 Same issue experienced here.