这可能是由于存储连接字符串格式不正确引起的。确保在模板中使用正确的存储连接字符串格式。以下是一个示例:
"variables": { "storageAccountName": "mystorageaccount", "storageAccountSasToken": "?st=2018-07-18T06%3A24%3A00Z&se=2019-07-19T06%3A24%3A00Z&sp=rwdl&sv=2018-03-28&sr=c", "storageAccountConnectionString": "[concat('DefaultEndpointsProtocol=https;AccountName=', variables('storageAccountName'), ';AccountKey=', variables('storageAccountKey'))]" },
在上述示例中,在模板参数或变量中使用正确的存储帐户名称和帐户密钥。将连接字符串使用concat函数连接。确保将正确的存储帐户名称和密钥传递给该函数。如果使用SAS令牌,请确保格式正确,并且将其传递给连接字符串的正确位置。