Table of Contents

Enum Microsoft365Environment

Namespace
PnP.Core.Services
Assembly
PnP.Core.dll

Microsoft 365 environments

public enum Microsoft365Environment

Fields

China = 2

China environment, see https://docs.microsoft.com/en-us/office365/servicedescriptions/office-365-platform-service-description/office-365-operated-by-21vianet

Custom = 100

Custom cloud configuration, specify the endpoints manually

Germany = 3

German environment, see https://docs.microsoft.com/en-us/office365/servicedescriptions/office-365-platform-service-description/office-365-germany

PreProduction = 1

Pre-production environment

Production = 0

Production environment

USGovernment = 4

GCC US Government environment, see https://docs.microsoft.com/en-us/office365/servicedescriptions/office-365-platform-service-description/office-365-us-government/office-365-us-government

USGovernmentDoD = 6

DOD US Government environment, see https://docs.microsoft.com/en-us/office365/servicedescriptions/office-365-platform-service-description/office-365-us-government/gcc-high-and-dod

USGovernmentHigh = 5

GCC High US Government environment, see https://docs.microsoft.com/en-us/office365/servicedescriptions/office-365-platform-service-description/office-365-us-government/gcc-high-and-dod