When I create a Azure Function with premium plan I get the following error:
The template deployment 'Microsoft.Web-FunctionApp-Portal-73-9764' is not valid according to the validation procedure. The tracking id is '848a-39-42a0-9a04-7bc7c4'. See inner errors for details.
( I removed some characters, since I am not sure if this information is sensitive).
This does not happen when I create it with a consumption plan.
When I click on the error, I get a more specific message:
{"code":"InvalidTemplateDeployment","message":"The template deployment 'Microsoft.Web-FunctionApp-Portal-... is not valid according to the validation procedure. The tracking id is '...'. See inner errors for details.","details":[{"message":"Index (zero based) must be greater than or equal to zero and less than the size of the argument list."}]}
What is causing this problem?
I have the template.json
and parameter.json
to share, but I am not sure if it has sensitive information, so I decided not to put it here.
I am not using a template btw. I used the UI on azure portal to click everything together.