Skip to content

Commit 9d05a20

Browse files
committed
AzureADAuthorizationEndpointUri is not required if you use UPN param
By inference, it is required if you don't use it
1 parent 8c541e7 commit 9d05a20

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

exchange/docs-conceptual/connect-to-scc-powershell.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ If your account uses multi-factor authentication, use the steps in this section.
4949

5050
- _\<UPN\>_ is your account in user principal name format (for example, `[email protected]`).
5151
- The required _ConnectionUri_ value depends on the nature of your Microsoft 365 organization. For more information, see the parameter description in [Connect-IPPSSession](https://docs.microsoft.com/powershell/module/exchange/connect-ippssession).
52+
- When you use the _UserPrincipalName_ parameter, you don't need to use the
5253

5354
**This example connects to Security & Compliance Center PowerShell in a Microsoft 365 or Microsoft 365 GCC organization**.
5455

@@ -106,10 +107,10 @@ If your account doesn't use multi-factor authentication, use the steps in this s
106107
3. The command that you need to run uses the following syntax:
107108

108109
```powershell
109-
Connect-IPPSSession -Credential $UserCredential -ConnectionUri <URL>
110+
Connect-IPPSSession -Credential $UserCredential [-ConnectionUri <URL>] [-AzureADAuthorizationEndpointUri <URL>]
110111
```
111112

112-
The required _ConnectionUri_ value depends on the nature of your Microsoft 365 organization. For more information, see the parameter description in [Connect-IPPSSession](https://docs.microsoft.com/powershell/module/exchange/connect-ippssession).
113+
The required _ConnectionUri_ and _AzureADAuthorizationEndPointUrl_ values depend on the nature of your Microsoft 365 organization. For more information, see the parameter descriptions in [Connect-IPPSSession](https://docs.microsoft.com/powershell/module/exchange/connect-ippssession).
113114

114115
**This example connects to Security & Compliance Center PowerShell in a Microsoft 365 or Microsoft 365 GCC organization**.
115116

@@ -120,19 +121,19 @@ If your account doesn't use multi-factor authentication, use the steps in this s
120121
**This example connects to Security & Compliance Center PowerShell in an Office 365 Germany organization**.
121122

122123
```powershell
123-
Connect-IPPSSession -Credential $UserCredential -ConnectionUri https://ps.compliance.protection.outlook.de/
124+
Connect-IPPSSession -Credential $UserCredential -ConnectionUri https://ps.compliance.protection.outlook.de/ -AzureADAuthorizationEndpointUri https://login.microsoftonline.de/common
124125
```
125126

126127
**This example connects to Security & Compliance Center PowerShell in a Microsoft GCC High organization**.
127128

128129
```powershell
129-
Connect-IPPSSession -Credential $UserCredential -ConnectionUri https://ps.compliance.protection.office365.us/powershell-liveid/
130+
Connect-IPPSSession -Credential $UserCredential -ConnectionUri https://ps.compliance.protection.office365.us/powershell-liveid/ -AzureADAuthorizationEndpointUri https://login.microsoftonline.us/common
130131
```
131132

132133
**This example connects to Security & Compliance Center PowerShell in a Microsoft 365 DoD organization**.
133134

134135
```powershell
135-
Connect-IPPSSession -Credential $UserCredential -ConnectionUri https://l5.ps.compliance.protection.office365.us/powershell-liveid/
136+
Connect-IPPSSession -Credential $UserCredential -ConnectionUri https://l5.ps.compliance.protection.office365.us/powershell-liveid/ -AzureADAuthorizationEndpointUri https://login.microsoftonline.us/common
136137
```
137138

138139
For detailed syntax and parameter information, see [Connect-IPPSSession](https://docs.microsoft.com/powershell/module/exchange/connect-exchangeonline).

exchange/exchange-ps/exchange/Connect-IPPSSession.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ The AzureADAuthorizationEndpointUri parameter specifies the Azure AD Authorizati
6969
- Security & Compliance Center PowerShell in Office 365 Germany: `https://login.microsoftonline.de/common`
7070
- Security & Compliance Center PowerShell in Microsoft 365 GCC High or Microsoft 365 DoD: `https://login.microsoftonline.us/common`
7171

72+
This parameter is required in Office 365 Germany, Microsoft 365 GCC High, or Microsoft 365 DoD organizations when you don't use the UserPrincipalName parameter.
73+
7274
```yaml
7375
Type: String
7476
Parameter Sets: (All)

0 commit comments

Comments
 (0)