Skip to content

Add Entra auth using az cli#539

Open
gpcastro wants to merge 1 commit intomicrosoft:masterfrom
gpcastro:gpcastro/entra-auth
Open

Add Entra auth using az cli#539
gpcastro wants to merge 1 commit intomicrosoft:masterfrom
gpcastro:gpcastro/entra-auth

Conversation

@gpcastro
Copy link
Copy Markdown
Member

@gpcastro gpcastro commented May 9, 2026

Adding a new --auth-type entra option to the login command that uses the Azure CLI to retrieve ADO tokens, and thus make it easier and secure for developers to use tfx without PATs.

@gpcastro gpcastro requested review from a team as code owners May 9, 2026 00:14
@jessehouwing
Copy link
Copy Markdown
Contributor

For those that already want to use this, after retrieving a token from az you can just pass this to the --token parameter of TFX:

$accessToken = az account get-access-token --resource 499b84ac-1321-427f-aa17-267ca6975798 --query "accessToken" --output tsv

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