Skip to content

Commit 268a9f9

Browse files
Update app-only-auth-powershell-v2.md
Adding Information for Microsoft 265 China
1 parent 3be3ae5 commit 268a9f9

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

exchange/docs-conceptual/app-only-auth-powershell-v2.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,18 @@ The following examples show how to use the Exchange Online PowerShell module wit
6969
>
7070
> The following connection commands have many of the same options available as described in [Connect to Exchange Online PowerShell](connect-to-exchange-online-powershell.md) and [Connect to Security & Compliance PowerShell](connect-to-scc-powershell.md). For example:
7171
>
72-
> - Microsoft 365 GCC High or Microsoft 365 DoD environments require the following additional parameters and values:
73-
> - **Connect-ExchangeOnline in GCC High**: `-ExchangeEnvironmentName O365USGovGCCHigh`.
74-
> - **Connect-IPPSSession in GCC High**: `-ConnectionUri https://ps.compliance.protection.office365.us/powershell-liveid/ -AzureADAuthorizationEndpointUri https://login.microsoftonline.us/common`.
75-
> - **Connect-ExchangeOnline in DoD**: `-ExchangeEnvironmentName O365USGovDoD`.
76-
> - **Connect-IPPSSession in DoD**: `-ConnectionUri https://l5.ps.compliance.protection.office365.us/powershell-liveid/ -AzureADAuthorizationEndpointUri https://login.microsoftonline.us/common`.
72+
> - Microsoft 365 GCC High, Microsoft 365 DoD or Microsoft 365 China (operated by 21Vianet) environments require the following additional parameters and values:
73+
> - **Microsoft 365 GCC High**
74+
> - `Connect-ExchangeOnline -ExchangeEnvironmentName O365USGovGCCHigh`
75+
> - `Connect-IPPSSession -ConnectionUri https://compliance.usgcc.microsoft.com/powershell-liveid -AzureADAuthorizationEndpointUri https://login.microsoftonline.us`
76+
>
77+
> - **Microsoft 365 DoD**
78+
> - `Connect-ExchangeOnline -ExchangeEnvironmentName O365USGovDoD`
79+
> - `Connect-IPPSSession -ConnectionUri https://compliance.dod.microsoft.com/powershell-liveid -AzureADAuthorizationEndpointUri https://login.microsoftonline.us`
80+
>
81+
> - **Microsoft 365 China (operated by 21Vianet)**
82+
> - `Connect-ExchangeOnline -ExchangeEnvironmentName O365China`
83+
> - `Connect-IPPSSession -ConnectionUri https://ps.compliance.protection.partner.outlook.cn/powershell-liveid -AzureADAuthorizationEndpointUri https://login.chinacloudapi.cn/common`
7784
>
7885
> - If a **Connect-IPPSSession** command presents a login prompt, run the command: `$Global:IsWindows = $true` before the **Connect-IPPSSession** command.
7986

0 commit comments

Comments
 (0)