Skip to content

Setup function does not correctly detect USGov environment #182

@mpoulson

Description

@mpoulson

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions