Open karpikpl opened 1 day ago
I've encountered a similar issue trying to set the identity with --scale-rule-identity, there it checks the box but doesn't select the identity. Perhaps that is a different issue? Or maybe it has the same root cause.
I use AZD for deployment and it seems first deployment "checks the checkbox" but identity is not selected. Next deployment (AZD does two - one for provision, one for deployment) removes the check.
This issue is a: (mark with an x)
Issue description
Creating container app with bicep does not set managed identity on the scale rule
bicep:
Microsoft.App/containerApps@2024-10-02-preview
Steps to reproduce
Expected behavior [What you expected to happen.] Scale rule is created with user assigned managed identity.
Actual behavior [What actually happened.] Managed identity is not set.
Screenshots
Additional context
Scale rule can be updated in the portal and produces exactly the same JSON as the one in the sample:
identity: userIdentity.id
. Verified in ARM deployments that correct JSON is sent.