Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run msgraph cli in separate security contexts in parallel #513

Open
cveld opened this issue Nov 21, 2024 · 0 comments
Open

Run msgraph cli in separate security contexts in parallel #513

cveld opened this issue Nov 21, 2024 · 0 comments
Labels
status:waiting-for-triage An issue that is yet to be reviewed or assigned ToTriage type:feature New experience request

Comments

@cveld
Copy link

cveld commented Nov 21, 2024

Is your feature request related to a problem? Please describe the problem.

I want to run the microsoft graph cli in separate security contexts in parallel, e.g.

  1. My admin user
  2. An app registration I am debugging.

Currently when I have two shells open, the latest msgraph cli login is applied to both shells.

Describe the solution you'd like.

The az cli has an environment variable that configures the config directory: AZURE_CONFIG_DIR
The microsoft graph cli could provide something comparable with e.g. MGC_CONFIG_DIR.

Additional context?

Files related:
https://github.com/microsoftgraph/msgraph-cli-core/blob/main/src/Microsoft.Graph.Cli.Core/utils/Constants.cs
https://github.com/microsoftgraph/msgraph-cli-core/blob/main/src/Microsoft.Graph.Cli.Core/IO/PathUtility.cs

@cveld cveld added status:waiting-for-triage An issue that is yet to be reviewed or assigned type:feature New experience request labels Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:waiting-for-triage An issue that is yet to be reviewed or assigned ToTriage type:feature New experience request
Projects
None yet
Development

No branches or pull requests

1 participant