Skip to content

Commit f7fcb35

Browse files
authored
Fix Portal UI Bug (#226)
* Fix Portal UI Bug * updated regex def * updated ui element
1 parent 4fafeea commit f7fcb35

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

docs/reference/portal.dataLandingZone.json

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -395,21 +395,17 @@
395395
"password": "Password",
396396
"confirmPassword": "Confirm password"
397397
},
398-
"type": "Microsoft.Compute.CredentialsCombo",
398+
"type": "Microsoft.Common.PasswordBox",
399399
"visible": true,
400-
"defaultValue": "",
401-
"toolTip": {
402-
"password": "Specify an administrator password for the Synapse workspaces and Self-hosted integration runtimes hosted on VMSS."
403-
},
400+
"toolTip": "Specify an administrator password for the Synapse workspaces and Self-hosted integration runtimes hosted on VMSS.",
404401
"constraints": {
405402
"required": true,
406-
"customPasswordRegex": "^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[#?!@$%^&*-]).{8,128}$",
407-
"customValidationMessage": "The password must be alphanumeric, contain at least 8 characters, and have at least 1 letter, 1 number and one special character."
403+
"regex": "^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[#?!@$%^&*-]).{8,128}$",
404+
"validationMessage": "The password must be alphanumeric, contain at least 8 characters, and have at least 1 letter, 1 number and one special character."
408405
},
409406
"options": {
410407
"hideConfirmation": false
411-
},
412-
"osPlatform": "Windows"
408+
}
413409
}
414410
]
415411
},
@@ -1465,7 +1461,7 @@
14651461
"dataManagementZoneVnetId": "[if(empty(steps('connectivitySettings').dataManagementZoneVnetConfiguration.dataManagementZoneVirtualNetwork), '', steps('connectivitySettings').dataManagementZoneVnetConfiguration.dataManagementZoneVirtualNetwork)]",
14661462
"firewallPrivateIp": "[if(equals(steps('connectivitySettings').sharedNetworkInfrastructureConfiguration.existingFirewallType, 'azureFirewall'), first(map(steps('connectivitySettings').sharedNetworkInfrastructureConfiguration.azureFirewallPrivateIpApi.properties.ipConfigurations, (item) => item.properties.privateIPAddress)), steps('connectivitySettings').sharedNetworkInfrastructureConfiguration.firewallPrivateIp)]",
14671463
"dnsServerAdresses": "[if(equals(steps('connectivitySettings').sharedNetworkInfrastructureConfiguration.existingFirewallType, 'azureFirewall'), map(steps('connectivitySettings').sharedNetworkInfrastructureConfiguration.azureFirewallPrivateIpApi.properties.ipConfigurations, (item) => item.properties.privateIPAddress), split(steps('connectivitySettings').sharedNetworkInfrastructureConfiguration.dnsServerAdresses, ','))]",
1468-
"administratorPassword": "[if(empty(steps('generalSettings').servicesSettings.administratorPassword.password), '', steps('generalSettings').servicesSettings.administratorPassword.password)]",
1464+
"administratorPassword": "[if(empty(steps('generalSettings').servicesSettings.administratorPassword), '', steps('generalSettings').servicesSettings.administratorPassword)]",
14691465
"deploySelfHostedIntegrationRuntimes": "[if(equals(steps('generalSettings').selfhostedIntegrationRuntimeSettings.deploySelfHostedIntegrationRuntimes, 'Yes'), true, false)]",
14701466
"purviewSelfHostedIntegrationRuntimeAuthKey": "[if(empty(steps('generalSettings').selfhostedIntegrationRuntimeSettings.purviewSelfHostedIntegrationRuntimeAuthKey), '', steps('generalSettings').selfhostedIntegrationRuntimeSettings.purviewSelfHostedIntegrationRuntimeAuthKey)]",
14711467
"purviewId": "[if(empty(steps('generalSettings').dataGovernanceSettings.purviewId.id), '', steps('generalSettings').dataGovernanceSettings.purviewId.id)]",

0 commit comments

Comments
 (0)