Skip to content

Commit 9f345c2

Browse files
committed
Minor fix.
1 parent 168ec35 commit 9f345c2

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

articles/container-apps/tutorial-code-to-cloud.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -195,13 +195,13 @@ cd code-to-cloud/src
195195
196196
# [Azure PowerShell](#tab/azure-powershell)
197197
198-
```powershell
199-
Write-Output $acr.AzureAdAuthenticationAsArmPolicyStatus
198+
```azurepowershell
199+
$acr.AzureAdAuthenticationAsArmPolicyStatus
200200
```
201201
202202
If the command returns `disabled`, allow ARM tokens with the following command.
203203
204-
```powershell
204+
```azurepowershell
205205
Update-AzContainerRegistry `
206206
-ResourceGroupName $acr.ResourceGroupName `
207207
-Name $acr.Name `
@@ -242,7 +242,7 @@ IDENTITY_ID=$(az identity show \
242242

243243
1. Create a user-assigned managed identity. Before you run the following commands, choose a name for your managed identity and replace the `\<PLACEHOLDER\>` with the name.
244244

245-
```powershell
245+
```azurepowershell
246246
$IdentityName="<YOUR_IDENTITY_NAME>"
247247
$Identity = New-AzUserAssignedIdentity -ResourceGroupName $ResourceGroup -Name $IdentityName
248248
```
@@ -288,7 +288,7 @@ az acr build --registry $ACR_NAME --image $API_NAME .
288288

289289
The `az acr build` command does not have a PowerShell equivalent, but can be run in PowerShell.
290290

291-
```azurepowershell
291+
```powershell
292292
az acr build --registry $AcrName --image $APIName .
293293
```
294294

@@ -334,7 +334,7 @@ az acr login --name $ACR_NAME
334334

335335
# [Azure PowerShell](#tab/azure-powershell)
336336

337-
```powershell
337+
```azurepowershell
338338
Connect-AzContainerRegistry -Name $ACRName
339339
```
340340

0 commit comments

Comments
 (0)