-
Notifications
You must be signed in to change notification settings - Fork 3.4k
az container app job create not assigning acrpull role for system identity when using ACR with DNL #31515
Copy link
Copy link
Open
Labels
Auto-AssignAuto assign by botAuto assign by botAuto-ResolveAuto resolve by botAuto resolve by botContainer Instancesaz containeraz containerContainerAppRBACaz roleaz roleService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.act-identity-squadact-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
Auto-AssignAuto assign by botAuto assign by botAuto-ResolveAuto resolve by botAuto resolve by botContainer Instancesaz containeraz containerContainerAppRBACaz roleaz roleService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.act-identity-squadact-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.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Describe the bug
When using an ACR with DNL, the command does not auto-assign the
acrpullrole to the system identity of the Container App Job.where
CONTAINER_REGISTRY_NAME="myacrresourcename-bkf0fma6fnaqhegn.azurecr.io"If I change to the non-DNL name (
myacrresourcename.azurecr.io) for--registry-server, it does create the role assignment, but it fails to authenticate:Related command
az containerapp job createErrors
see bug description
Issue script & Debug output
see bug description
Expected behavior
see bug description
Environment Summary
azure-cli 2.72.0 *
core 2.72.0 *
telemetry 1.1.0
Extensions:
containerapp 1.1.0b5
Dependencies:
msal 1.32.3
azure-mgmt-resource 23.1.1
Python location '/opt/az/bin/python3'
Config directory '/home/emerconn/.azure'
Extensions directory '/home/emerconn/.azure/cliextensions'
Python (Linux) 3.12.8 (main, Apr 28 2025, 09:24:33) [GCC 13.3.0]
Additional context
No response