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
When creating an environment from an ARM template using the DevTest Labs portal, I get error The value must not be empty if I pass an empty value for a string parameter.
This example allows to reproduce the issue:
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"incomingIPAllowedForRDP": {
"type": "string",
"defaultValue": "*",
"minLength": 0,
"metadata": {
"description": "Specify which IP addresses are allowed to use RDP to connect to the VMs:<br>- If empty: Firewall denies all incoming RDP traffic from Internet.<br>- If '*' (default): Firewall accepts all incoming RDP traffic from Internet.<br>- If 'IPAddress': Firewall accepts incoming RDP traffic only from the specified 'IPAddress'."
}
}
},
"variables": {
},
"resources": [
],
"outputs": {
}
}
When creating an environment from an ARM template using the DevTest Labs portal, I get error
The value must not be empty
if I pass an empty value for a string parameter.This example allows to reproduce the issue:
More info:
New-AzResourceGroupDeployment
works fineThe text was updated successfully, but these errors were encountered: