Skip to content

Commit 7722b72

Browse files
authored
Merge pull request #300772 from MicrosoftDocs/repo_sync_working_branch
Confirm merge from repo_sync_working_branch to main to sync with https://github.com/MicrosoftDocs/azure-docs (branch main)
2 parents 0caef69 + 5a4b70d commit 7722b72

File tree

2 files changed

+22
-3
lines changed

2 files changed

+22
-3
lines changed

articles/container-apps/managed-identity.md

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.custom:
88
- devx-track-azurecli
99
- build-2025
1010
ms.topic: how-to
11-
ms.date: 10/25/2023
11+
ms.date: 06/03/2025
1212
ms.author: cshoe
1313
---
1414

@@ -489,9 +489,28 @@ To remove all user-assigned identities:
489489

490490
```azurecli
491491
az containerapp identity remove --name <APP_NAME> --resource-group <GROUP_NAME> \
492-
--user-assigned <IDENTITY1_RESOURCE_ID> <IDENTITY2_RESOURCE_ID>
492+
--user-assigned $(az containerapp show \
493+
--name <APP_NAME> \
494+
--resource-group <GROUP_NAME> \
495+
--query "identity.userAssignedIdentities | keys(@)" \
496+
--output tsv)
493497
```
494498

499+
Replace the `<PLACEHOLDERS>` with your values.
500+
501+
The command to remove all user-assigned identities works as follows.
502+
503+
| Command or argument | Description |
504+
|---|---|
505+
| `--user-assigned $(...)` | Run the command enclosed by the parentheses. Send the output to `--user-assigned`. |
506+
| `az containerapp show...` | Get information about the specified container app. |
507+
| `--query "identity.userAssignedIdentities...` | Get the user-assigned identities for the specified container app. |
508+
| `\|` | The pipe operator sends the user-assigned identities to the `keys` command. |
509+
| `keys(@)` | The user-assigned identities are returned as a set of key/value pairs. Each key is the ID of a user-assigned identity. This command extracts each key. |
510+
| `--output tsv` | Output the results in tab-separated format. |
511+
512+
For more information see [How to query Azure CLI command output using a JMESPath query](/cli/azure/use-azure-cli-successfully-query).
513+
495514
# [ARM template](#tab/arm)
496515

497516
To remove all identities, set the `type` of the container app's identity to `None` in the ARM template:

articles/logic-apps/connectors/sap-create-example-scenario-workflows.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,7 @@ Z2XSK010003000000001017945375000110Z2XSK01000000108030 XR1 13.000 6795.00 CX
578578

579579
### Add a response action
580580

581-
Now, set up your workflow to return the results from your SAP server to the original requestor. For this task, follow these steps:
581+
Now, set up your workflow to return the results from your SAP server to the original requester. For this task, follow these steps:
582582

583583
### [Consumption](#tab/consumption)
584584

0 commit comments

Comments
 (0)