You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Deploy azure automation variables using arm template, got following errors:Status Message: {"Message":"Invalid JSON - Kindly check the value of the variable."} (Code:BadRequest)
#137
Open
hsszlll opened this issue
Jul 20, 2023
· 0 comments
My arm template content:
{
"name": "[variables('automationAccountName')]",
"type": "Microsoft.Automation/automationAccounts",
"apiVersion": "2022-08-08",
"location": "[variables('location')]",
"identity": {
"type": "UserAssigned",
"userAssignedIdentities": {
"[variables('userAssignedIdentityResourceId')]": {}
}
},
"properties": {
"sku": {
"name": "Basic"
}
},
"dependsOn": [
"[resourceId('Microsoft.ManagedIdentity/userAssignedIdentities', variables('userAssignedIdentityName'))]"
]
},
{
"type": "Microsoft.Automation/automationAccounts/variables",
"apiVersion": "2022-08-08",
"name": "[concat(variables('automationAccountName'), '/', 'test')]",
"properties": {
"description": "test",
"isEncrypted": false,
"value": "test"
},
"dependsOn": [
"[resourceId('Microsoft.Automation/automationAccounts/', variables('automationAccountName'))]"
]
}
Errors:
The text was updated successfully, but these errors were encountered: