Remove legacy GitHub auth args from ELM migrations create (device flow only) - #1512
Merged
mishrarish merged 4 commits intoAug 12, 2026
Merged
Conversation
added 4 commits
August 10, 2026 13:27
…reate (device flow only) The server now supports third-party app auth (Git.EnterpriseLiveMigration.EnableThirdPartyAppAuth), so GitHub authentication for 'az devops migrations create' is handled entirely via interactive device flow. - Remove --service-endpoint-id and --github-token args (and ELM_GITHUB_TOKEN env var) - Device flow is now the only GitHub auth path; token is resolved from device flow and sent as gitHubUserToken - Update help text, examples, and unit tests accordingly
Remove --github-token / ELM_GITHUB_TOKEN / --service-endpoint-id references from ELM docs; document interactive device flow as the sole GitHub auth path.
…docs" This reverts commit 74475fc.
bhuvanshahMSFT
requested review from
UnyieldingAvocado,
Bhavesh Bhati (bhaveshbhati),
mishrarish and
v-anvashist
as code owners
August 10, 2026 22:58
Bhavesh Bhati (bhaveshbhati)
approved these changes
Aug 12, 2026
Bhavesh Bhati (bhaveshbhati)
left a comment
Collaborator
There was a problem hiding this comment.
LGTM
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Makes interactive GitHub device flow the only auth path for
az devops migrations create.Changes:
--service-endpoint-idand--github-token/ELM_GITHUB_TOKENargs. The server now supports third-party app auth, so the CLI resolves the GitHub user token via interactive device flow only.--pipeline-service-connection-id(unchanged).Testing: