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

Tab autocomplete for Azure environment names should not be hard coded #22

Closed
SamErde opened this issue Jun 28, 2022 · 0 comments
Closed

Comments

@SamErde
Copy link
Contributor

SamErde commented Jun 28, 2022

The list of environment names used for tab autocomplete in Connect-AzureADExporter is currently "hard coded." It would be better to dynamically base it on Azure's current list.

https://github.com/microsoft/azureadexporter/blob/b3f888856ae92ca18fd5d505666428b50d5d559f/src/Connect-AzureADExporter.ps1#L20

Since this module uses the Graph API, Get-MgEnvironment is probably the best way to pull the reference list.

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

No branches or pull requests

1 participant