Dear Erik,
If AdvancedSecurity/NewHighAndCritical remains Waiting and no PR status is published, the most common causes are:
- Microsoft Defender for DevOps / Advanced Security processing has not completed even though dependency scanning finished.
- The repository or project is not fully enabled for Advanced Security features.
- The policy expects a native Advanced Security status that isn't being generated due to a configuration or service-side issue.
- AdvancedSecurity-Publish@1 is mainly used for SARIF-based results; dependency scanning usually doesn't require SARIF files.
Recommendations:
- Verify Advanced Security is enabled at both the repository and project level.
- Confirm the scan results appear in the Security - Dependency vulnerabilities view.
- Check pipeline logs for any Advanced Security processing warnings/errors after the scan task completes.
- Remove and recreate the branch policy to refresh the status check.
- If scans complete and findings appear but the PR status is still never published after several hours/days, open a Microsoft Support ticket, as this may be a backend synchronization issue.