Im deploying azure storage for a durable function app. The storage has blob, share, table and file storage. Ive tried deploying via DEVOPS & manually in the portal via "deploy a custom template".
Most of the other storage types get created, except for fileServices/Shares Each time i get the same error:
{
"status": "Failed",
"error": {
"code": "InvalidHeaderValue",
"message": "The value for one of the HTTP headers is not in the correct format.\nRequestId:758ffc50-101a-005c-01a6-84927f000000\nTime:2022-06-20T13:05:40.2893940Z"
}
}
The ARM code was exported from a successfully created storage account in azure portal. I changed the API version from 2021-09-01 to 2019-06-01 based on a result of a search of StackOverflow, but this did not help.
Appreciate any advice on what to try next.
code for the fileservice/shares portion of the arm script that keeps failing is below:
{
"type": "Microsoft.Storage/storageAccounts/fileServices/shares",
"apiVersion": "2019-06-01",
"name": "[concat(parameters('storageAccounts_testvalue202206151534_name'), '/default/', parameters('storageAccounts_testvalue202206151534_name'), '04')]",
"dependsOn": [
"[resourceId('Microsoft.Storage/storageAccounts/fileServices', parameters('storageAccounts_testvalue202206151534_name'), 'default')]",
"[resourceId('Microsoft.Storage/storageAccounts', parameters('storageAccounts_testvalue202206151534_name'))]"
],
"properties": {
"accessTier": "TransactionOptimized",
"shareQuota": 5120,
"enabledProtocols": "SMB"
}
}