Skip to content

Please include the ability to optionally specify which azure environment to connect/authenticate to #311

Closed

Description

@mercuryjlt

We are trying to explore the use of Microsoft.Graph in one of the other sovereign regions and have not been able to find a way to do this. The trigger consent in Connect-Graph seems to be hard-coded to https://graph.microsoft.com/v1.0/me and does not allow for other graph endpoints detailed here: https://docs.microsoft.com/en-us/graph/deployments

Having an -EnvironmentName input would be awesome!

Examples from other PowerShell modules

Connect-AzureAD -AzureEnvironmentName

-AzureEnvironmentName
Specifies the name of the Azure environment. The acceptable values for this parameter are:

AzureCloud
AzureChinaCloud
AzureUSGovernment
AzureGermanyCloud


Connect-AzAccount -Environment
-Environment
Environment containing the Azure account. (Accepts the same values as Connect-AzureAD)


Connect-ExchangeOnline -ExchangeEnvironmentName O365USGovGCCHigh

-ExchangeEnvironmentName
The ExchangeEnvironmentName specifies the Exchange Online environment. Valid values are:

O365China
O365Default (this is the default value)
O365GermanyCloud
O365USGovDoD
O365USGovGCCHigh

Activity

  1. ghost removed on Aug 4, 2020
  2. peombwa commented on Aug 6, 2020

    @peombwa
    Member

    This scenario is currently not supported. We plan to add support for sovereign clouds after our GA release for the public cloud.

    Duplicate of #93

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

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