Following the course in https://learn.microsoft.com/en-us/training/modules/deploy-iot-solution-azure-sql-database/3-exercise-deploy, I get an error when trying to deploy the ARM file. When I execute this command:
az deployment group create -g $resourceGroupName `
--template-file ./azure-sql-iot/azure_deployment/template.json `
--parameters `
iothub_name=$iotHub `
server_sql_name=$serverName `
server_admin_name=$adminSqlLogin `
server_admin_password=$password `
site_iot_name=$iotSite `
serverfarm_iot_name=$iotServerFarm `
virtualmachine_devicesimulator_name=$iotSimulator `
logworkspace_name=$logWorkspace `
storageaccount_iothub_name=$iotStorageAccount `
storageaccount_iothub_container=$storageContainer `
networkinterface_devicesimulator_name=$networkInterface `
virtualnetwork_iot_name=$vNet `
ip_address_name=$ipAddressName `
ssh_public_key=$sshPublicKey
I get this error: Please provide string value for 'location' (? for help): northeurope
{"code": "InvalidTemplateDeployment", "message": "The template deployment 'template' is not valid according to the validation procedure. The tracking id is 'b531b7f9-7ecb-4b81-8e84-ea45b3c18836'. See inner errors for details."}
Inner Errors:
{"code": "ValidationForResourceFailed", "message": "Validation failed for a resource. Check 'Error.Details[0]' for more information."}
Inner Errors:
{"code": "FreeOrSharedFunctionsAppServicePlanNotSupported", "message": "Function apps are not supported in Free or Shared App Service Plans."}
Can someone point me in the right direction? If I am working in my sandbox, how is it possible to get this error? (I confirm the sandbox it still up).
Thanks in advance