Managed Identities + RBAC: Web App invoking data plane operation on the Blob Storage fails with 403

Cezary Klus 1 Reputation point
2022-02-23T11:05:43.62+00:00

Hi, I have prepared a managed application definition based on the already exiting ARM template. It is an application that contains code being deployed to Web Apps on App Service. The security is organized based on the SystemAssigned managed identities and appropriate role assignments in data plane.
The solution works fine when deployed in a regular way. However with exactly the same role assignments we observe 403 errors on writes to Storage Account (Blob).

How to achieve Managed Identities (system assigned) + RBAC based security within Managed Resource Group for a scenario infrastructure + application code? Presumably there is a policy that forcefully blocks writes (data plane) for Managed Resource Group resources?

Should we convert to KeyVault based connection strings/shared access tokens?

Best regards

Azure Managed Applications
Azure Managed Applications
An Azure service that enables managed service providers, independent software vendors, and enterprise IT teams to deliver turnkey solutions through the Azure Marketplace or service catalog.
115 questions
0 comments No comments
{count} votes