Cloud Environments
Microsoft 365 is available in multiple cloud environments to meet various compliance and sovereignty requirements. All scripts in this toolkit support connecting to different cloud environments using the -Cloud parameter.
Available Environments
| Cloud | Description |
|---|---|
Global |
Commercial Microsoft 365 (default) |
GCC |
Government Community Cloud - US federal, state, and local government |
GCCH |
Government Community Cloud High - DoD contractors handling CUI |
DoD |
Department of Defense - IL5 workloads |
Germany |
Microsoft Cloud Deutschland |
China |
Microsoft 365 operated by 21Vianet |
Environment Mapping
Each cloud environment maps to different endpoint values depending on the PowerShell module:
| Cloud | MS Graph | Exchange Online | PnP PowerShell |
|---|---|---|---|
Global |
Global | O365Default | Production |
GCC |
Global | O365Default | USGovernment |
GCCH |
USGov | O365USGovGCCHigh | USGovernmentHigh |
DoD |
USGovDoD | O365USGovDoD | USGovernmentDoD |
Germany |
Germany | O365GermanyCloud | Germany |
China |
China | O365China | China |
Note that GCC (moderate) uses commercial endpoints for Microsoft Graph and Exchange Online, but has a dedicated PnP PowerShell environment.