Skip to content

fix: add --source-acr-auth-id in az acr build for foundry agent deploy#1106

Merged
JasonYeMSFT merged 2 commits intomicrosoft:mainfrom
kuojianlu:kuojianlu/deploy-skill
Mar 3, 2026
Merged

fix: add --source-acr-auth-id in az acr build for foundry agent deploy#1106
JasonYeMSFT merged 2 commits intomicrosoft:mainfrom
kuojianlu:kuojianlu/deploy-skill

Conversation

@kuojianlu
Copy link
Contributor

@kuojianlu kuojianlu commented Mar 3, 2026

Why --source-acr-auth-id is needed: When the target ACR has ABAC enabled, ACR Tasks and Quick Builds lose default data plane access to the registry. You must explicitly tell the command which identity to use for authentication. Details: https://learn.microsoft.com/en-us/azure/container-registry/container-registry-tasks-authentication-managed-identity.

If not specifying --source-acr-auth-id, then there will be an error for ACR that has ABAC enabled: when specifying push, at least one credential is required.

Also bump version to 1.0.1 to pass PR checks.

Copilot AI review requested due to automatic review settings March 3, 2026 01:52
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Foundry hosted-agent deployment instructions to include ACR authentication when using az acr build, aligning the documented cloud build flow with the required ACR Tasks auth behavior.

Changes:

  • Add --source-acr-auth-id "[caller]" to the recommended az acr build command in the hosted agent deployment guide.

@JasonYeMSFT JasonYeMSFT merged commit baca73d into microsoft:main Mar 3, 2026
11 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.

3 participants