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

Setup function does not correctly detect USGov environment #182

Open
mpoulson opened this issue Oct 15, 2024 · 0 comments
Open

Setup function does not correctly detect USGov environment #182

mpoulson opened this issue Oct 15, 2024 · 0 comments

Comments

@mpoulson
Copy link

Call to Get-CloudEnvironment returns the Cloud information from https://login.micosoftonline.com//v2.0/.well-known/openid-configuration.

Commercial tenant
"tenant_region_scope" == NA, "tenant_region_sub_scope" == NULL
GCC Tenant returns "tenant_region_scope" == NA, "tenant_region_sub_scope" == GCC
USGov tenant returns "tenant_region_scope" == USGov, "tenant_region_sub_scope" == NULL

So additional logic is needed to determine if the scope is more than just a subscope for USGov.

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