Skip to content

Conversation

@rayluo
Copy link
Contributor

@rayluo rayluo commented Apr 13, 2021

This way, the caller of get_accounts(...) (which is typically downstream application's account picker) would no longer need to choose among multiple equivalent accounts. This change is functionally equivalent in terms of the subsequent acquire_token_silent(..., account=account) call.

CC: @jiasli @chlowell

@rayluo rayluo changed the title Group accounts by home_account_id, and keep same return format get_accounts() will group equivalent accounts and return the merged result Apr 13, 2021
@rayluo rayluo force-pushed the return-grouped-accounts branch from 229e8b8 to e65731e Compare April 14, 2021 05:48
@jiasli
Copy link
Contributor

jiasli commented Apr 14, 2021

Tested with latest Azure CLI. Works like a charm!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants