Defender for Cloud CLI image scan fails with "Globl Router API call doesnt not indicate success ErrorCode: 404" since 2026-10-13

승록 이 65 Reputation points
2026-10-13T07:35:53.87+00:00

Summary

Since 2026-10-13 around 00:24 UTC, every container image scan with the Microsoft Defender for Cloud CLI

fails at the assessment step with HTTP 404. The same setup worked until 2026-10-12.

Error

[ assess ] Error: scanner error during unknown: failed start assessment: Globl Router API call doesnt not indicate success ErrorCode: 404

[ERROR] sdk/scanner : Scan step failed

GuardianErrorExitCodeException: mdvm completed with an Error exit code: 4. An error occurred when trying to scan the specified image.

Environment

  • Defender for Cloud CLI v2.0.3334.114 (downloaded from https://aka.ms/defender-cli_linux-x64)
  • container-scanner-cli (mdvm) 1.1.5
  • Authentication: token-based (DevOps Ingestion integration, client ID/secret via DEFENDER_* env vars)
  • Defender CSPM: On / Defender for Containers: On
  • Command: defender scan image <image>.tar --defender-output result.sarif --output-formats html

What I checked

  • Authentication succeeds ("MDC: Authenticated to Microsoft Defender for Cloud.") – the failure happens after indexing (75%, "Running assessment...").
  • Same CLI and scanner versions as the last successful run (2026-10-12). No configuration changes on our side.
  • The DevOps Ingestion integration is enabled and unchanged; the client secret is valid.
  • Reproduced on both a Microsoft-hosted Azure Pipelines agent and a local WSL2 machine on a different network.
  • Reproduced with a public image (nginx:1.28-alpine), so it is not image-specific.
  • --defender-debug does not print the request URL, response body or request ID.
  • Azure Service Health shows no related incident.

Questions

  1. Is anyone else seeing this error since 2026-10-13?
  2. Is there a known issue or a backend change affecting the "start assessment" (Global Router) call for token-based authentication?
  3. Is there a newer CLI version or a different endpoint we should use?

A support request has also been opened. I will update this thread if I get a resolution.


Environment

  • Defender for Cloud CLI v2.0.3334.114 (downloaded from https://aka.ms/defender-cli_linux-x64)
  • container-scanner-cli (mdvm) 1.1.5
  • Authentication: token-based (DevOps Ingestion integration, client ID/secret via DEFENDER_* env vars)
  • Defender CSPM: On / Defender for Containers: On
  • Command: defender scan image <image>.tar --defender-output result.sarif --output-formats html

What I checked

  • Authentication succeeds ("MDC: Authenticated to Microsoft Defender for Cloud.") – the failure happens after indexing (75%, "Running assessment...").
  • Same CLI and scanner versions as the last successful run (2026-10-12). No configuration changes on our side.
  • The DevOps Ingestion integration is enabled and unchanged; the client secret is valid.
  • Reproduced on both a Microsoft-hosted Azure Pipelines agent and a local WSL2 machine on a different network.
  • Reproduced with a public image (nginx:1.28-alpine), so it is not image-specific.
  • Azure Service Health shows no related incident.

Questions

  1. Is anyone else seeing this error since 2026-10-13?
  2. Is there a known issue or a backend change affecting the "start assessment" (Global Router) call for token-based authentication?
  3. Is there a newer CLI version or a different endpoint we should use?

요약

2026-10-13 00:24 UTC 무렵부터 Microsoft Defender for Cloud CLI로 하는 모든 컨테이너 이미지 스캔이

assessment(평가) 단계에서 HTTP 404로 실패합니다. 같은 구성으로 2026-10-12까지는 정상 동작했습니다.

오류

[ assess ] Error: scanner error during unknown: failed start assessment: Globl Router API call doesnt not indicate success ErrorCode: 404

[ERROR] sdk/scanner : Scan step failed

GuardianErrorExitCodeException: mdvm completed with an Error exit code: 4. An error occurred when trying to scan the specified image.

환경

  • Defender for Cloud CLI v2.0.3334.114 (https://aka.ms/defender-cli_linux-x64 에서 다운로드)
  • container-scanner-cli (mdvm) 1.1.5
  • 인증: 토큰 기반 (DevOps Ingestion 통합, DEFENDER_* 환경변수로 client ID/secret 전달)
  • Defender CSPM: 켜짐 / Defender for Containers: 켜짐
  • 명령: defender scan image <image>.tar --defender-output result.sarif --output-formats html

확인한 사항

  • 인증은 성공합니다("MDC: Authenticated to Microsoft Defender for Cloud."). 실패는 인덱싱이 끝난 뒤(75%, "Running assessment...")에 발생합니다.
  • 마지막으로 성공한 실행(2026-10-12)과 CLI·스캐너 버전이 같습니다. 우리 쪽 설정 변경은 없습니다.
  • DevOps Ingestion 통합은 활성 상태이고 변경 이력이 없으며, client secret도 유효합니다.
  • Microsoft 호스팅 Azure Pipelines 에이전트와, 다른 네트워크의 로컬 WSL2 환경 양쪽에서 재현됩니다.
  • 공개 이미지(nginx:1.28-alpine)로도 재현되므로 특정 이미지의 문제가 아닙니다.
  • Azure Service Health에 관련 장애 공지가 없습니다.

질문

  1. 2026-10-13 이후 같은 오류를 겪는 분이 또 있나요?
  2. 토큰 기반 인증에서 "start assessment"(Global Router) 호출에 영향을 주는 알려진 이슈나 백엔드 변경이 있나요?
  3. 대신 써야 하는 새 CLI 버전이나 다른 엔드포인트가 있나요?
Microsoft Security | Microsoft Defender | Microsoft Defender for Cloud

Answer accepted by question author
Konstantinos Lianos 920 Reputation points Student Ambassador
2026-11-15T18:54:30.75+00:00

Hello @승록 이

Thank you for providing the detailed troubleshooting information.

Based on your findings, this appears more likely to be an issue with the Defender for Cloud assessment service or its backend routing than a local configuration problem.

The most important observation is that authentication succeeds and image indexing completes, but the scan fails when the CLI attempts to start the vulnerability assessment.

  1. Is anyone else experiencing this issue?

Yes. Another community member reported the same error on October 14, 2026.

They also confirmed that the issue occurs with Defender CLI Preview version 3.0.0-rc.48, including scans against Alpine Linux and Windows container images.

This indicates that the issue is not necessarily limited to CLI version 2.0.3334.114 or a particular container image.

  1. What could cause the HTTP 404 error?

The error:

Globl Router API call doesnt not indicate success ErrorCode: 404

indicates that the scanner received an HTTP 404 response when attempting to initiate the assessment.

Potential causes include:

  1. A backend routing or endpoint registration issue affecting the assessment service.
  2. An issue with how the DevOps Ingestion integration is mapped to the appropriate tenant or subscription.
  3. A service compatibility issue between the CLI scanner and the assessment backend.
  4. A backend deployment or configuration change affecting assessment requests.

These are possible explanations rather than confirmed causes.

Since authentication succeeds and the issue reproduces across different networks, agents, and container images, a local network or image configuration issue appears less likely.

However, successful authentication alone does not guarantee that the backend accepts the assessment request for the configured subscription.

  1. Is there a newer CLI version or alternative endpoint?

Microsoft provides the Defender for Cloud CLI through the following official download endpoint:

https://aka.ms/defender-cli_linux-x64

I recommend downloading a fresh copy and verifying the version:

defender --version

However, another user has already reproduced the problem with Preview version 3.0.0-rc.48, so upgrading alone may not resolve the issue.

I could not identify a publicly documented alternative Global Router endpoint or an officially confirmed fix for this specific error.

I would not recommend manually changing backend endpoints or using undocumented URLs.

  1. Recommended troubleshooting

Since you have already completed the essential client troubleshooting, I recommend the following additional checks:

  1. Verify that the DevOps Ingestion integration remains enabled under Microsoft Defender for Cloud, Environment settings, Integrations.
  2. Confirm that the tenant ID, client ID, and subscription associated with the integration match the intended scanning environment.
  3. Download the latest officially published CLI binary and reproduce the issue using the same public container image.
  4. If an Azure DevOps connector is available, test the documented connector based authentication method to determine whether the issue affects both authentication methods.
  5. Record the exact UTC timestamp, CLI version, scanner version, and complete sanitized diagnostic output.

Avoid sharing client secrets or authentication tokens in public logs.

  1. Escalation to Microsoft

Since you already have a support request open, I recommend requesting escalation to the Microsoft Defender for Cloud engineering team responsible for CLI vulnerability assessment and backend routing.

Specifically, ask Microsoft to verify:

  1. Whether any backend deployment or routing change occurred around October 13, 2026.
  2. Whether the Global Router assessment endpoint is correctly configured for your tenant and subscription.
  3. Whether token based DevOps Ingestion authentication is affected by a known service issue.
  4. Whether an updated scanner version or service configuration change is required.
  5. Whether a supported workaround is available until the issue is resolved.

The fact that multiple users can reproduce the same HTTP 404 response is useful evidence for the support investigation.

In summary, your troubleshooting strongly suggests that the failure occurs during the backend assessment initiation process rather than during authentication or image indexing.

As the issue has also been reported with another CLI version, I recommend prioritizing Microsoft support escalation instead of repeatedly changing the local scanning configuration.

I hope this helps! If my answer is helpful and resolves your question, please consider marking it as "Accepted Answer" so other community members experiencing the same issue can benefit from it.

Was this answer helpful?

2 people found this answer helpful.
0 comments No comments

0 additional answers

Sort by: Most 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.