Skip to content

Fix APIScan in the compliance pipeline#44

Merged
skylarnam merged 1 commit intomainfrom
dev/sknam/compliance-fix
Feb 25, 2026
Merged

Fix APIScan in the compliance pipeline#44
skylarnam merged 1 commit intomainfrom
dev/sknam/compliance-fix

Conversation

@skylarnam
Copy link
Contributor

What?

Update the APIScan authentication configuration in the compliance pipeline to match the current auth pattern.

Why?

The compliance pipeline was failing at the APIScan step because the old auth format (runAs=App;AppId=...) no longer works. The managed identity credential could not be acquired, resulting in "Identity not found" errors.

How?

Updated vsts-compliance.yml to align with the working Setup-Engine-Compliance pipeline:

  • Added azureSubscription: VSEng-APIScanSC service connection input
  • Extended AzureServicesAuthConnectionString with TenantId and ServiceConnectionId
  • Added SYSTEM_ACCESSTOKEN: $(System.AccessToken) environment variable

Testing?

  • Verified the compliance pipeline passes at the APIScan step

Screenshots (optional)

image

@skylarnam skylarnam changed the title Fix APIScan Fix APIScan in the compliance pipeline Feb 25, 2026
@skylarnam skylarnam merged commit df313fb into main Feb 25, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants