-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Error create containerapp job with user managed identity #26560
Copy link
Copy link
Open
Labels
ContainerAppService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.act-observability-squadbugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.
Metadata
Metadata
Assignees
Labels
ContainerAppService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.act-observability-squadbugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.
Describe the bug
I am using the latest version of the containerapp extension 0.3.32
When I try to create a containerapp job (preview) with a managed identity I get errors. It seems the extension is splitting the resourceid of the managed identity in multiple strings.
I give the following paratemer switch:
--user-assigned '/subscriptions/XXXXXX/resourceGroups/rg-test/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-mi-user'
Related command
see description
Errors
Issue script & Debug output
https://app.screencast.com/3YmGWT7PwERkr
Expected behavior
no error
Environment Summary
azure-cli 2.49.0
core 2.49.0
telemetry 1.0.8
Extensions:
containerapp 0.3.32
Dependencies:
msal 1.20.0
azure-mgmt-resource 22.0.0
Python location '/opt/az/bin/python3'
Extensions directory '/home/olandese/.azure/cliextensions'
Python (Linux) 3.10.10 (main, May 19 2023, 08:20:31) [GCC 11.3.0]
Additional context
No response