Skip to content

Commit e9422dc

Browse files
authored
Merge pull request #12976 from paisvivekanand/patch-15
Update app-only-auth-powershell-v2.md
2 parents 3c564c2 + 45c778f commit e9422dc

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

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

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: App-only authentication in Exchange Online PowerShell and Security & Comp
33
ms.author: chrisda
44
author: chrisda
55
manager: deniseb
6-
ms.date: 12/12/2023
6+
ms.date: 08/11/2025
77
ms.audience: Admin
88
audience: Admin
99
ms.topic: article
@@ -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 operated by 21Vianet (China)**
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)