Hi @Demougin, Matthew W , based on your statement, I understand that your Azure Functions:
- Uses Azure Blob Storage with HNS enabled.
- Deploys website files to Azure Files.
#1 use case: HNS-enabled Azure Blob Storage supports authentication based on managed identity.
#2 use case: Azure Files doesn't support using managed identity when accessing the file share. It needs to use storage account connection string, which is based on storage account keys.
Because of #2, you need to configure an exception in MDFC (Microsoft Defender for Cloud) that all storage accounts related to Azure Functions that uses Azure Files, need to allow access to storage account keys. That's a requirement for Azure Files to work.