There is a command group 'az_acr_task_identity'. This group of commands could 'managed identities for task  please see https   aka ms acr tasks task create managed identity for more information'. The group of commands has global parameter '--debug' which means 'Increase logging verbosity to show all debug logs.'. The group of commands has global parameter '--help -h' which means 'Show this help message and exit.'. The group of commands has global parameter '--only-show-errors' which means 'Only show errors, suppressing warnings.'. The group of commands has global parameter '--output -o' which means 'Output format.'. The group of commands has global parameter '--query' which means 'JMESPath query string. See <a href="http://jmespath.org/">http://jmespath.org/</a> for more information and examples.'. The group of commands has global parameter '--subscription' which means 'Name or ID of subscription. You can configure the default subscription using `az account set -s NAME_OR_ID`.'. The group of commands has global parameter '--verbose' which means 'Increase logging verbosity. Use --debug for full debug logs.'. This group contains a child command 'az_acr_task_identity_assign'.The syntax is: az acr task identity assign --name
                            --registry
                            [--identities]
                            [--resource-group]. The 1th example of the child command would be to use it to 'enable the system assigned identity on an existing task  this will replace all existing user assigned identities for that task', the syntax is: az acr task identity assign -n MyTask -r myregistry. The 2th example of the child command would be to use it to 'assign user assigned managed identities to an existing task  this will remove the existing system assigned identity', the syntax is: az acr task identity assign -n MyTask -r myregistry \
    --identities "/subscriptions/<SUBSCRIPTON ID>/resourcegroups/<RESOURCE GROUP>/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myUserAssignedIdentitiy". The 3th example of the child command would be to use it to 'assign both system assigned and user assigned managed identities to an existing task', the syntax is: az acr task identity assign -n MyTask -r myregistry \
    --identities [system] "/subscriptions/<SUBSCRIPTON ID>/resourcegroups/<RESOURCE GROUP>/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myUserAssignedIdentitiy". The parameter '--name -n' is required. It is used to the name of the task.. The parameter '--registry -r' is required. It is used to the name of the container registry. it should be specified in lower case. you can configure the default registry name using `az configure --defaults acr=<registry name>`.. The parameter '--identities' is optional. assigns managed identities to the task. use '[system]' to refer to the system-assigned identity or a resource id to refer to a user-assigned identity.. The parameter '--resource-group -g' is optional. name of resource group. you can configure the default group using `az configure --defaults group=<name>`.. 