You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
+
495
514
# [ARM template](#tab/arm)
496
515
497
516
To remove all identities, set the `type` of the container app's identity to `None` in the ARM template:
0 commit comments