Skip to content

Commit

Permalink
Merge pull request Azure#10005 from kingwil/wiking-ppinv-ui-fix
Browse files Browse the repository at this point in the history
CreateUi fix for manual role assignment
  • Loading branch information
v-atulyadav committed Feb 23, 2024
2 parents b408077 + b0bb7df commit eebfa3f
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions DataConnectors/PPInventory/createUIDef.json
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@
"constraints": {
"required": true,
"regex": "^https:\/\/[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}$",
"validationMessage": "Please enter a valid URL starting with https://."
"validationMessage": "Please enter a valid URL starting with 'https://' and no trailing '/'."
},
"visible": "[steps('inventory').noADSLv2Found]"
},
Expand Down Expand Up @@ -355,9 +355,14 @@
"roleAssignmentADLSv2": "[if(steps('inventory').noADSLv2Found, false, steps('inventory').inventoryStorageRoleAssignment.hasPermissions)]",
"storageAccountUrl": "[if(steps('inventory').noADSLv2Found, steps('inventory').existingADSLv2textbox, steps('inventory').existingInventoryStorageAccount.url)]",
"sentinelWorkspace": "[steps('basics').sentinelWorkspace]",
"inventoryStorageAccount": "[steps('inventory').existingInventoryStorageAccount]",
"inventoryStorageAccount": {
"url": "[coalesce(steps('inventory').existingInventoryStorageAccount.url, steps('inventory').existingADSLv2textbox, 'empty')]",
"resourceId": "[coalesce(steps('inventory').existingInventoryStorageAccount.resourceId, 'empty')]",
"subscriptionId": "[coalesce(steps('inventory').existingInventoryStorageAccount.subscriptionId, 'empty')]",
"resourceGroup": "[coalesce(steps('inventory').existingInventoryStorageAccount.resourceGroup, 'empty')]"
},
"tagsByResource": "[steps('tags').tagsByResource]"
}
}
}
}
}

0 comments on commit eebfa3f

Please sign in to comment.