Skip to content

Commit 37e7348

Browse files
authored
Merge branch 'master' into tenantsitepatch
2 parents dee9b5e + 1c6a268 commit 37e7348

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+157
-155
lines changed

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

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -29,20 +29,7 @@ To use the older Exchange Online Remote PowerShell Module to connect to Exchange
2929

3030
- The requirements for installing and using the EXO V2 module are described in [Install and maintain the EXO V2 module](exchange-online-powershell-v2.md#install-and-maintain-the-exo-v2-module).
3131

32-
- The required _ConnectionUri_ and _AzureADAuthorizationEndPointUri_ parameter values depend on the nature of your Microsoft 365 organization as described in the following table:
33-
34-
****
35-
36-
|Microsoft 365 offering|_ConnectionUri_ value|_AzureADAuthorizationEndPointUri_ value|
37-
|---|---|---|
38-
|Microsoft 365 or Microsoft 365 GCC|Not used|Not used|
39-
|Office 365 Germany|`https://outlook.office.de/PowerShell-LiveID`|`https://login.microsoftonline.de/common`|
40-
|Office 365 operated by 21Vianet|`https://partner.outlook.cn/PowerShell`|n/a|
41-
|Microsoft 365 GCC High|`https://outlook.office365.us/powershell-liveid`|`https://login.microsoftonline.us/common`|
42-
|Microsoft 365 DoD|`https://webmail.apps.mil/powershell-liveid`|`https://login.microsoftonline.us/common`|
43-
|
44-
45-
- The _DelegatedOrganization_ parameter specifies the customer organization that you want to manage as an authorized Microsoft Partner. For more information, see [Partners](https://docs.microsoft.com/office365/servicedescriptions/office-365-platform-service-description/partners).
32+
- If your organization is on-premises Exchange, and you have Exchange Enterprise CAL with Services licenses for EOP, your EOP PowerShell connection instructions are the same as Exchange Online PowerShell as described in this topic.
4633

4734
> [!TIP]
4835
> Having problems? Ask in the [Exchange Online](https://go.microsoft.com/fwlink/p/?linkId=267542) forum.
@@ -64,7 +51,8 @@ If you account uses multi-factor authentication, use the steps in this section.
6451
```
6552

6653
- _\<UPN\>_ is your account in user principal name format (for example, `[email protected]`).
67-
- The _ConnectionUri_ and _AzureADAuthorizationEndPointUrl_ values are described in the table in the [What do you need to know before you begin?](#what-do-you-need-to-know-before-you-begin) section.
54+
- The required _ConnectionUri_ and _AzureADAuthorizationEndPointUrl_ values depend on the nature of your Microsoft 365 organization. For more information, see the parameter descriptions in [Connect-ExchangeOnline](https://docs.microsoft.com/powershell/module/exchange/connect-exchangeonline).
55+
- The _DelegatedOrganization_ parameter specifies the customer organization that you want to manage as an authorized Microsoft Partner. For more information, see [Partners](https://docs.microsoft.com/office365/servicedescriptions/office-365-platform-service-description/partners).
6856

6957
**This example connects to Exchange Online PowerShell in a Microsoft 365 or Microsoft 365 GCC organization**:
7058

@@ -93,7 +81,7 @@ If you account uses multi-factor authentication, use the steps in this section.
9381
**This example connects to Exchange Online PowerShell to manage another tenant**:
9482

9583
```powershell
96-
Connect-ExchangeOnline -UserPrincipalName chris@contoso.com -DelegatedOrganization adatum.onmicrosoft.com
84+
Connect-ExchangeOnline -UserPrincipalName navin@contoso.com -DelegatedOrganization adatum.onmicrosoft.com
9785
```
9886

9987
For detailed syntax and parameter information, see [Connect-ExchangeOnline](https://docs.microsoft.com/powershell/module/exchange/connect-exchangeonline).
@@ -129,7 +117,8 @@ If your account doesn't use multi-factor authentication, use the steps in this s
129117
Connect-ExchangeOnline -Credential $UserCredential = Get-Credential -ShowProgress $true [-ConnectionUri <URL>] [-DelegatedOrganization <String>]
130118
```
131119

132-
The _ConnectionUri_ values are described in the table in the [What do you need to know before you begin?](#what-do-you-need-to-know-before-you-begin) section.
120+
- The required _ConnectionUri_ value depends on the nature of your Microsoft 365 organization. For more information, see the parameter description in [Connect-ExchangeOnline](https://docs.microsoft.com/powershell/module/exchange/connect-exchangeonline).
121+
- The _DelegatedOrganization_ parameter specifies the customer organization that you want to manage as an authorized Microsoft Partner. For more information, see [Partners](https://docs.microsoft.com/office365/servicedescriptions/office-365-platform-service-description/partners).
133122

134123
**Connect to Exchange Online PowerShell in a Microsoft 365 or Microsoft 365 GCC organization**:
135124

exchange/docs-conceptual/connect-to-exchange-online-protection-powershell.md

Lines changed: 15 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -25,20 +25,11 @@ To use the older, less secure remote PowerShell connection instructions that [wi
2525

2626
## What do you need to know before you begin?
2727

28-
- **The procedures in this topic are only for EOP organizations that don't have Exchange Online mailboxes** (for example, you have a standalone EOP subscription that protects your on-premises email environment). If you have a Microsoft 365 subscription includes Exchange Online mailboxes, you can't connect to Exchange Online Protection PowerShell. The same features are available in [Exchange Online PowerShell](exchange-online-powershell.md).
28+
- **The procedures in this topic are only for Microsoft 365 organizations that don't have Exchange Online mailboxes**. For example, you have a standalone EOP subscription that protects your on-premises email environment. If your Microsoft 365 subscription includes Exchange Online mailboxes, you can't connect to EOP PowerShell; instead, you [connect to Exchange Online PowerShell](connect-to-exchange-online-powershell.md).
2929

30-
- The requirements for installing and using the EXO V2 module are described in [Install and maintain the EXO V2 module](exchange-online-powershell-v2.md#install-and-maintain-the-exo-v2-module).
31-
32-
- The required cmdlet and _ConnectionUri_ and _AzureADAuthorizationEndPointUri_ parameter values depend on the nature of your Microsoft 365 organization as described in the following table:
33-
34-
****
30+
If your organization is on-premises Exchange, and you have Exchange Enterprise CAL with Services licenses for EOP, your EOP PowerShell connection instructions are the same as Exchange Online PowerShell. Use the Exchange Online PowerShell connection instructions in [Connect to Exchange Online PowerShell](connect-to-exchange-online-powershell.md) instead of the instructions in this topic.
3531

36-
|Microsoft 365 offering|Cmdlet|_ConnectionUri_ value|_AzureADAuthorizationEndPointUri_ value|
37-
|---|---|---|---|
38-
|Microsoft 365|**Connect-IPPSSession**|https://ps.protection.outlook.com/powershell-liveid/|Not used|
39-
|Office 365 Germany|**Connect-IPPSSession**|`https://outlook.office.de/PowerShell-LiveID`|`https://login.microsoftonline.de/common`|
40-
|Exchange Enterprise CAL with Services licenses (on-premises Exchange)|**Connect-ExchangeOnline**|Not used|Not used|
41-
|
32+
- The requirements for installing and using the EXO V2 module are described in [Install and maintain the EXO V2 module](exchange-online-powershell-v2.md#install-and-maintain-the-exo-v2-module).
4233

4334
> [!TIP]
4435
> Having problems? Ask for help in the [Exchange Online Protection](https://go.microsoft.com/fwlink/p/?linkId=285351) forum.
@@ -56,37 +47,31 @@ If you account uses multi-factor authentication, use the steps in this section.
5647
2. The command that you need to run uses the following syntax:
5748

5849
```powershell
59-
<Connect-IPPSSession | Connect-ExchangeOnline> -UserPrincipalName <UPN> -ShowProgress $true [-ConnectionUri <URL>] [-AzureADAuthorizationEndPointUri <URL>]
50+
Connect-IPPSSession -UserPrincipalName <UPN> [-ConnectionUri <URL>] [-AzureADAuthorizationEndPointUri <URL>]
6051
```
6152

6253
- _\<UPN\>_ is your account in user principal name format (for example, `[email protected]`).
63-
- The required cmdlet and _ConnectionUri_ and _AzureADAuthorizationEndPointUri_ parameter values are described in the table in the [What do you need to know before you begin?](#what-do-you-need-to-know-before-you-begin) section.
54+
- 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).
6455

6556
**This example connects to Exchange Online Protection PowerShell in a Microsoft 365 organization**:
6657

6758
```powershell
68-
Connect-IPPSSession -UserPrincipalName [email protected] -ShowProgress $true -ConnectionUri https://ps.protection.outlook.com/powershell-liveid/
59+
Connect-IPPSSession -UserPrincipalName [email protected] -ConnectionUri https://ps.protection.outlook.com/powershell-liveid/
6960
```
7061

7162
**This example connects to Exchange Online Protection PowerShell in an Office 365 Germany organization**:
7263

7364
```powershell
74-
Connect-IPPSSession -UserPrincipalName [email protected] -ShowProgress $true -ConnectionUri https://ps.protection.outlook.de/powershell-liveid/ -AzureADAuthorizationEndPointUri https://login.microsoftonline.de/common
75-
```
76-
77-
**This example connects to Exchange Online Protection PowerShell in an Exchange Enterprise CAL with Services organization**:
78-
79-
```powershell
80-
Connect-ExchangeOnline -UserPrincipalName [email protected]
65+
Connect-IPPSSession -UserPrincipalName [email protected] -ConnectionUri https://ps.protection.outlook.de/powershell-liveid/ -AzureADAuthorizationEndPointUri https://login.microsoftonline.de/common
8166
```
8267

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

8570
> [!NOTE]
8671
> Be sure to disconnect the remote PowerShell session when you're finished. If you close the Windows PowerShell window without disconnecting the session, you could use up all the remote PowerShell sessions available to you, and you'll need to wait for the sessions to expire. To disconnect the remote PowerShell session, run the following command.
8772
8873
```powershell
89-
Disconnect-ExchangeOnline
74+
Get-PSSession | Remove-PSSession
9075
```
9176

9277
## Connect to Exchange Online Protection PowerShell without using MFA
@@ -110,36 +95,30 @@ If your account doesn't use multi-factor authentication, use the steps in this s
11095
3. The command that you need to run uses the following syntax:
11196

11297
```powershell
113-
<Connect-IPPSSession | Connect-ExchangeOnline> -Credential $UserCredential -ShowProgress $true -ConnectionUri <URL>
98+
Connect-IPPSSession -Credential $UserCredential -ConnectionUri <URL>
11499
```
115100

116-
The required cmdlet and _ConnectionUri_ parameter values are described in the table in the [What do you need to know before you begin?](#what-do-you-need-to-know-before-you-begin) section.
101+
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).
117102

118103
**This example connects to Exchange Online Protection PowerShell in a Microsoft 365 organization**:
119104

120105
```powershell
121-
Connect-IPPSSession -Credential $UserCredential -ShowProgress $true -ConnectionUri https://ps.protection.outlook.com/powershell-liveid/
106+
Connect-IPPSSession -Credential $UserCredential -ConnectionUri https://ps.protection.outlook.com/powershell-liveid/
122107
```
123108

124109
**This example connects to Exchange Online Protection PowerShell in an Office 365 Germany organization**:
125110

126111
```powershell
127-
Connect-IPPSSession -Credential $UserCredential -ShowProgress $true -ConnectionUri https://ps.protection.outlook.de/powershell-liveid/
128-
```
129-
130-
**This example connects to Exchange Online Protection PowerShell in an Exchange Enterprise CAL with Services organization**:
131-
132-
```powershell
133-
Connect-ExchangeOnline -Credential $UserCredential
112+
Connect-IPPSSession -Credential $UserCredential -ConnectionUri https://ps.protection.outlook.de/powershell-liveid/
134113
```
135114

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

138117
> [!NOTE]
139118
> Be sure to disconnect the remote PowerShell session when you're finished. If you close the Windows PowerShell window without disconnecting the session, you could use up all the remote PowerShell sessions available to you, and you'll need to wait for the sessions to expire. To disconnect the remote PowerShell session, run the following command.
140119
141120
```powershell
142-
Disconnect-ExchangeOnline
121+
Get-PSSession | Remove-PSSession
143122
```
144123

145124
## How do you know this worked?

0 commit comments

Comments
 (0)