Azure Service Bus Triggered Container Apps Job Suddenly Showing "Unknown" Execution Status

Muhammad Zain Ul Haq 0 Reputation points
2026-11-27T19:09:40.9533333+00:00

Hi everyone,

We have an Azure Container Apps Job that is triggered by Azure Service Bus. Everything was working as expected until approximately 24 hours ago, when executions suddenly started reporting an "Unknown" status in the Azure Portal execution history.

The same status is also returned when querying the execution details through Azure Resource Manager (ARM) and Azure CLI.

What we're experiencing:

The Container Apps Job was functioning normally until approximately 24 hours ago.

Executions are now showing an "Unknown" status.

The execution details returned by ARM/CLI also report the same status.

The execution response does not contain endTime, reason, message, or detailedStatus.

  • No logs in ContainerAppSystemLogs_CL or ContainerAppConsoleLogs_CL.

No deployments, configuration changes, or code changes were made before the issue started.

Troubleshooting performed:

Checked the execution history in the Azure Portal.

Queried execution details directly through ARM and Azure CLI to rule out a Portal-only display issue.

  1. ContainerAppSystemLogs_CL and ContainerAppConsoleLogs_CL logs are empty

Verified that no deployments or application configuration changes had been made around the time the issue started.

Unfortunately, there is very little diagnostic information available because the execution metadata is incomplete and no corresponding system or console logs are being generated.

Questions:

Has anyone experienced Azure Container Apps Jobs suddenly reporting an "Unknown" execution status without any associated error details?

Could this indicate an issue with the Azure Container Apps platform, execution state tracking, or the underlying infrastructure responsible for scheduling and monitoring job executions?

Are there any additional diagnostic logs, ARM endpoints, or platform-level metrics we can use to investigate executions that end up in this state?

The main concern is that the same workload was working perfectly fine just 24 hours ago, with no changes on our side, and there is now no meaningful diagnostic information available to determine what has gone wrong.

Any suggestions or insights would be greatly appreciated.

Thanks!

Attaching screenshots below

User's image
User's image

No KEDA scaler events have been detected.
No events related to CPU quota exhaustion or max node pool has been detected.
No OCI runtime create failures have been detected.

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: Most helpful
  1. AI answer

    2026-11-27T19:11:28.4733333+00:00

    The recorded control-plane connectivity alerts, combined with Unknown ARM/CLI state, missing completion metadata, and no runtime logs, should be escalated to Azure Support with the affected execution names and UTC timestamps for backend correlation.

    You have already ruled out a Portal-only rendering problem. Unknown is a valid execution-state value, but the public execution model does not attach a specific cause to it; endTime, detailedStatus, reason, and message are optional execution properties.^1^

    Collect evidence and open the case

    1. Preserve the job definition and complete execution response:
    az containerapp job show \
      --resource-group <RESOURCE_GROUP> \
      --name <JOB_NAME> --output json > job.json
    
    az containerapp job execution list \
      --resource-group <RESOURCE_GROUP> \
      --name <JOB_NAME> --output json > executions.json
    

    The documented execution-list operation is the supported ARM/CLI diagnostic surface for job history.^2^ It does not expose the underlying pod or scheduler details needed to explain this condition.

    1. Record:
      • Subscription, region, Container Apps environment, and job resource ID.
      • Every affected execution name and exact UTC start time.
      • The first known-good and first affected execution times.
      • The diagnostic result showing Control-plane connectivity findings.
      • The Scaling & quota detector output showing 110 failures, even though no individual KEDA, quota, node-pool, or OCI event was exposed.
      • Service Bus queue/subscription backlog and whether messages were consumed or remain available.
      • Sanitized job.json and executions.json; remove secrets and connection strings.
    2. Check Azure portal → Service Health → Service issues and Health history, filtered to the subscription, region, and Azure Container Apps. Service Health contains subscription- and region-specific incidents that might not appear on the global status page.^3^
    3. If Resource Health is available for the managed-environment resource type, capture its current and historical state. An Unknown Resource Health state means Azure stopped receiving health information, but does not by itself prove the workload failed.^4^
    4. Open Help + support → Create a support request. Include the evidence above and allow advanced diagnostics if permitted by your organization. Microsoft recommends supplying the start time, reproduction details, and diagnostic files while excluding confidential data.^5^

    Ask Support to correlate the execution IDs against the managed-environment control plane, scheduler, and execution-state persistence path for the affected UTC interval.

    Separately validate why no logs were retained

    This does not explain or repair the existing Unknown records, but it determines whether future executions will produce evidence.

    Open Container Apps environment → Monitoring → Logging options and note the destination. Container Apps supports Log Analytics, Azure Monitor with diagnostic settings, or no retained logs.^6^

    If the destination is Azure Log Analytics

    Check whether shared-key ingestion is disabled:

    az monitor log-analytics workspace show \
      --resource-group <WORKSPACE_RESOURCE_GROUP> \
      --workspace-name <WORKSPACE_NAME> \
      --query "{disableLocalAuth:features.disableLocalAuth,publicNetworkAccessForIngestion:publicNetworkAccessForIngestion}"
    

    If disableLocalAuth is true, direct Container Apps ingestion cannot use the workspace shared key. After security review, either use Azure Monitor routing or re-enable local authentication:

    az resource update \
      --ids <WORKSPACE_RESOURCE_ID> \
      --api-version 2023-09-01 \
      --set properties.features.disableLocalAuth=false
    

    Also open Log Analytics workspace → Settings → Network Isolation. Direct delivery from Container Apps to Log Analytics through Private Link is unsupported; where Private Link is required, set the environment destination to Azure Monitor and configure diagnostic settings to route ContainerAppConsoleLogs and ContainerAppSystemLogs to the workspace.^6^

    If the destination is Azure Monitor

    Open Container Apps environment → Monitoring → Diagnostic settings and verify that the console and system log categories are enabled and sent to the intended workspace. Depending on the destination mode, table names can be ContainerAppConsoleLogs[_CL] and ContainerAppSystemLogs[_CL].^7^

    Correcting routing restores future ingestion only; it cannot recover logs that were never retained or independently change existing execution states.

    Interpretation

    A previously reported Container Apps defect affected execution-history pagination across Portal and API, but those cases still had executions visible in Log Analytics.^8^ That is not a close match for executions that ARM identifies as Unknown while both system and console logs are absent. The control-plane connectivity finding in your diagnostic report is therefore the strongest actionable signal, while the exact backend cause requires Microsoft’s platform telemetry.


    References

    1. JobExecutionProperties Class-Variables
    2. Jobs in Azure Container Apps | Microsoft Learn
    3. Azure Service Health FAQ
    4. Azure Resource Health FAQ
    5. Create an Azure support request
    6. Log storage and monitoring options in Azure Container Apps
    7. Monitor logs in Azure Container Apps with Log Analytics
    8. Azure Container App Job not showing recent execution history - Microsoft Q&A
    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

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.