Skip to content

Devconatiner uses Host's Azure CLI Authentication in GitHub Actions#4869

Closed
tamirkamara wants to merge 3 commits into
mainfrom
tamirkamara/use-azurecli-auth
Closed

Devconatiner uses Host's Azure CLI Authentication in GitHub Actions#4869
tamirkamara wants to merge 3 commits into
mainfrom
tamirkamara/use-azurecli-auth

Conversation

@tamirkamara

Copy link
Copy Markdown
Collaborator

What is being addressed

Trying to exchange the GH OIDC token for a real Azure token inside the devcontainer created some issues when more than 5 minutes have passed since the initial token was produced and the exchange happened.

How is this addressed

  • Remove the OIDC exchange.
  • Rely on the host's AzureCLI login by mounting the .azure folder inside the devcontainer. This brings Github Actions to be identical to how a developer usually works.

@github-actions

github-actions Bot commented Feb 10, 2026

Copy link
Copy Markdown

Unit Test Results

0 tests   0 ✅  0s ⏱️
0 suites  0 💤
0 files    0 ❌

Results for commit 9a431cd.

♻️ This comment has been updated with latest results.

@tamirkamara

Copy link
Copy Markdown
Collaborator Author

/test-extended

@github-actions

Copy link
Copy Markdown

🤖 pr-bot 🤖

🏃 Running extended tests: https://github.com/microsoft/AzureTRE/actions/runs/21856414646 (with refid 7f9385ec)

(in response to this comment from @tamirkamara)

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.

1 participant