CmdID / az / az synapse / az synapse kusto / az synapse kusto database-principal-assignment
az synapse kusto database-principal-assignment create
Creates a Kusto pool database principalAssignment. Azure CLI reference
1 example 9 options Its page in the Azure CLI reference
Examples
KustoPoolDatabasePrincipalAssignmentsCreateOrUpdate
az synapse kusto database-principal-assignment create --database-name "Kustodatabase8" --kusto-pool-name "kustoclusterrptest4" --principal-id "87654321-1234-1234-1234-123456789123" --principal-type "App" --role "Admin" --tenant-id "12345678-1234-1234-1234-123456789123" --principal-assignment-name "kustoprincipal1" --resource-group "kustorptest" --workspace-name "synapseWorkspaceName"Identify--database-nameThe name of the database in the Kusto pool.--kusto-pool-nameThe name of the Kusto pool.--principal-idThe principal ID assigned to the database principal.--principal-typePrincipal type.--roleDatabase principal role.--tenant-idThe tenant id of the principal--principal-assignment-nameThe name of the Kusto principalAssignment.--resource-groupName of resource group.--workspace-nameThe name of the workspaceOptions
--database-nameThe name of the database in the Kusto pool.--kusto-pool-nameThe name of the Kusto pool.--principal-assignment-nameThe name of the Kusto principalAssignment.--principal-idThe principal ID assigned to the database principal.--principal-typePrincipal type.--resource-group, -gName of resource group.--roleDatabase principal role.--tenant-idThe tenant id of the principal--workspace-nameThe name of the workspace