Azure / Azure/azure-cli

Unclear how to manage the trustedServiceBypassEnabled with azure cli

Abierto
#28,362 1 comentario 0 reacciones 0 asignados Ver en GitHub
act-codegen-extensibility-squad Auto-Assign customer-reported Service Attention Synapse
Lenguaje dominante
Python
Estrellas
4.6k
Forks
3.5k
Merge medio
3 d 2 h
PR fusionados (30 d)
60

Descripción

**Related command**
isTrustedServiceBypassEnabled=$(az synapse workspace show --resource-group $resourceGroupName --name $synapseWorkspaceName --query "trustedServiceBypassEnabled" -o tsv)
echo $isTrustedServiceBypassEnabled
if [ $isTrustedServiceBypassEnabled != 'true' ]; then
echo "isTrustedServiceBypassEnabled is NOT ENABLED. Enabling..."
az synapse workspace update --resource-group $resourceGroupName --name $synapseWorkspaceName --allow-azure-services-access true
else
echo "isTrustedServiceBypassEnabled is ENABLED."
fi

**Is your feature request related to a problem? Please describe.**
The command --allow-azure-services-access true suggested by copilot does not work.

**Describe the solution you'd like**
enable and disable --allow-azure-services-access

**Describe alternatives you've considered**
manually setup.

**Additional context**

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.