Can Azure Container Apps Jobs capture native SMB replies from a platform-managed Azure Files mount?

Arash Khalatabri 0 Reputation points
2026-11-21T20:29:52.4933333+00:00

Scope: a Linux Azure Container Apps Job in a Consumption environment using an Azure Files SMB volume mounted by the platform. The workload can confirm the mount is CIFS, but the relevant SMB trace event formats were not exposed under either /sys/kernel/tracing or /sys/kernel/debug/tracing inside the job. The target is the existing platform-managed SMB client, not a second client on a VM or a user-space SMB library.

For a bounded test with synthetic data, we need to observe the native responses received by that client for WRITE, FLUSH, and CLOSE before write access is revoked, and the actual NTSTATUS afterward for a write using the original held file handle and for an operation from a separately authenticated fresh session. The trace needs enough information to correlate the operation and result to the exact job execution, SMB message, session, tree, file handle (where applicable), and timestamp. Azure Files server logs can corroborate what the server processed, but do not establish client receipt.

Is there a supported way to capture this on the original managed client? If yes, please specify the exact Azure feature, portal path or API, required permissions, which of those fields it returns, and whether it supports Consumption Jobs. If there is no customer-accessible method, can the Azure Container Apps engineering team collect a scoped host-side trace during a fresh run, and through which support channel? A direct yes/no for both paths would help. Mount-connectivity checks, app stdout, and server-side logs alone do not answer this question.

Azure Container Apps
Azure Container Apps

An Azure service that provides a general-purpose, serverless container platform.

0 comments No comments

1 answer

Sort by: Oldest
  1. Walker Pollitt 480 Reputation points
    2026-11-22T11:19:56.0766667+00:00

    Arash, for the original SMB client on a Consumption Job, I couldn’t find a documented customer-accessible capture that returns the message ID, session, tree, file handle, and NTSTATUS you need. Container Apps manages the Azure Files mount and restricts privileged containers and host access. A successful application write() or a server-side Azure Files record doesn’t establish which SMB response that managed client received.

    For an engineering capture, the answer is unconfirmed. Before rerunning, open a Container Apps technical support case and ask whether engineering can capture client-side SMB responses on the worker hosting one identified job execution. Give them the environment resource ID privately, the proposed UTC window, and the exact fields you listed. Ask for confirmation that they can distinguish the held handle from the fresh session before scheduling the run.

    Storage mounts in Container Apps · Container capabilities

    Drafted with ChatGPT. Learning path · Deploy and manage apps on Azure Container Apps

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.