AzureEnvironment Parameter (Connect-SharePoint Cmdlet)
The Azure Environment to use when establishing a connection.
Syntax
Connect-SharePoint -AzureEnvironment string
Possible Values
GLOBAL, CHINA, USGOVT, USGOVTDODData Type
cstr
Default Value
"GLOBAL"
Remarks
In most cases, leaving the environment set to global works. However, if you have added your Azure Account to a different environment, you can use AzureEnvironment to specify which environment. The available values are GLOBAL, CHINA, USGOVT, USGOVTDOD.
Use this property to resolve issues with the URL suffix (e.g., set it to USGOVT if your URL ends in .us), based on which cloud the you are using. More information about this setting can be found in Microsoft documentation about National clouds