Skip to content

Using multiple Azure AD identities from a single linux login #3453

Discussion options

You must be logged in to vote

Right now we support only one account at the time, like you noticed. The good news is that theoretically, we could support logging in with multiple accounts and allowing you to switch between them without following the complete login flow. The way it would work, is that you'd login in with all accounts you want to use, and then, before running each command you would do something like m365 account set --account user@domain.com to select the account that you'd want to use. Would this work? If so, we can create an issue with a spec for it. It'll be a new feature that we'd need to add (meaning, it might take a few weeks for us to add it, especially now as many folks are on vacation).

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@oweiler
Comment options

@waldekmastykarz
Comment options

@arjunumenon
Comment options

@waldekmastykarz
Comment options

Answer selected by waldekmastykarz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants