Hi Mihai,
You're not alone—step 2 getting stuck without the green check in Microsoft Defender for Cloud (DevOps Security) has tripped up a few setups. From what you've shared, it looks like your SARIF file is uploading correctly, but it's not being associated with any findings, which could explain why no results are showing in the dashboard.
A few things to check:
- File Association (0%) – This is key. Even though the file was uploaded, the "Associated files: 0" message suggests the SARIF output isn’t being linked properly. Make sure the SARIF format is valid and that the paths inside it match the repository structure (relative paths are especially important).
Ensure correct build pipeline association – Defender for DevOps needs to associate the SARIF findings with the correct repo and commit. Double-check that your build pipeline includes the correct codeql
or msdo
tasks and that the pipeline is connected to the monitored repository.
Enable policies in Defender for Cloud – Under Environment Settings > DevOps > Project, ensure policies are enabled to ingest and surface results.
As for your PoC and dashboard demo, Microsoft provides a Quickstart guide that walks through setting up DevOps integration step-by-step. You might also find this Microsoft Learn module on Defender for DevOps useful for demo purposes.