You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: exchange/docs-conceptual/app-only-auth-powershell-v2.md
+9-1Lines changed: 9 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ description: "Learn about using the Exchange Online V2 module in scripts and oth
20
20
# App-only authentication for unattended scripts in the EXO V2 module
21
21
22
22
> [!NOTE]
23
-
> This feature is currently in Public Preview, and is available in the `2.0.3-Preview` release of Exchange Online PowerShell V2 Module. For instructions on how to install or update to this version of the module, see [Install and maintain the EXO V2 module](exchange-online-powershell-v2.md#install-and-maintain-the-exo-v2-module).
23
+
> This feature and the required `2.0.3` version of the EXO V2 module are now Generally Available. For instructions on how to install or update to this version of the module, see [Install and maintain the EXO V2 module](exchange-online-powershell-v2.md#install-and-maintain-the-exo-v2-module).
24
24
25
25
Auditing and reporting scenarios in Exchange Online often involve scripts that run unattended. In most cases, these unattended scripts access Exchange Online PowerShell using Basic authentication (a username and password). Even when the connection to Exchange Online PowerShell uses modern authentication, the credentials are stored in a local file or a secret vault that's accessed at run-time.
26
26
@@ -41,6 +41,14 @@ The following examples show how to use the Exchange Online PowerShell V2 module
41
41
```
42
42
43
43
When you use the _CertificateThumbPrint_ parameter, the certificate needs to be installed on the computer where you are running the command. The certificate should be installed in the user certificate store.
When you use the _Certificate_ parameter, the certificate does not need to be installed on the computer where you are running the command. This parameter is applicable for scenarios where the certificate object is stored remotely and fetched at runtime during script execution.
Copy file name to clipboardExpand all lines: exchange/docs-conceptual/connect-to-exchange-online-powershell.md
+7-3Lines changed: 7 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ manager: dansimp
5
5
ms.date:
6
6
ms.audience: Admin
7
7
ms.topic: article
8
-
ms.service: exchange-online
8
+
ms.service: exchange-powershell
9
9
ms.reviewer: navgupta
10
10
localization_priority: Priority
11
11
ms.collection: Strat_EX_Admin
@@ -27,7 +27,7 @@ To use the older Exchange Online Remote PowerShell Module to connect to Exchange
27
27
28
28
## What do you need to know before you begin?
29
29
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).
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). The rest of the instructions in the topic assume that you've already installed the module.
31
31
32
32
- If your organization is on-premises Exchange, and you have Exchange Enterprise CAL with Services licenses for Exchange Online Protection (EOP), your EOP PowerShell connection instructions are the same as Exchange Online PowerShell as described in this topic.
33
33
@@ -36,14 +36,16 @@ To use the older Exchange Online Remote PowerShell Module to connect to Exchange
36
36
37
37
## Connect to Exchange Online PowerShell using MFA
38
38
39
-
If you account uses multi-factor authentication, use the steps in this section. Otherwise, skip to the [Connect to Exchange Online PowerShell without using MFA](#connect-to-exchange-online-powershell-without-using-mfa) section.
39
+
If your account uses multi-factor authentication, use the steps in this section. Otherwise, skip to the [Connect to Exchange Online PowerShell without using MFA](#connect-to-exchange-online-powershell-without-using-mfa) section.
40
40
41
41
1. In a Windows PowerShell window, load the EXO V2 module by running the following command:
42
42
43
43
```powershell
44
44
Import-Module ExchangeOnlineManagement
45
45
```
46
46
47
+
**Note**: If you've already [installed the EXO V2 module](exchange-online-powershell-v2.md#install-and-maintain-the-exo-v2-module), the previous command will work as written.
48
+
47
49
2. The command that you need to run uses the following syntax:
48
50
49
51
```powershell
@@ -103,6 +105,8 @@ If your account doesn't use multi-factor authentication, use the steps in this s
103
105
Import-Module ExchangeOnlineManagement
104
106
```
105
107
108
+
**Note**: If you've already [installed the EXO V2 module](exchange-online-powershell-v2.md#install-and-maintain-the-exo-v2-module), the previous command will work as written.
Copy file name to clipboardExpand all lines: exchange/docs-conceptual/connect-to-exchange-online-protection-powershell.md
+7-3Lines changed: 7 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ manager: dansimp
5
5
ms.date:
6
6
ms.audience: Admin
7
7
ms.topic: article
8
-
ms.service: exchange-online
8
+
ms.service: exchange-powershell
9
9
ms.reviewer: navgupta
10
10
localization_priority: Priority
11
11
ms.collection: Strat_EX_Admin
@@ -29,21 +29,23 @@ To use the older, less secure remote PowerShell connection instructions that [wi
29
29
30
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.
31
31
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).
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). The rest of the instructions in the topic assume that you've already installed the module.
33
33
34
34
> [!TIP]
35
35
> Having problems? Ask for help in the [Exchange Online Protection](https://go.microsoft.com/fwlink/p/?linkId=285351) forum.
36
36
37
37
## Connect to Exchange Online Protection PowerShell using MFA
38
38
39
-
If you account uses multi-factor authentication, use the steps in this section. Otherwise, skip to the [Connect to Exchange Online Protection PowerShell without using MFA](#connect-to-exchange-online-protection-powershell-without-using-mfa) section.
39
+
If your account uses multi-factor authentication, use the steps in this section. Otherwise, skip to the [Connect to Exchange Online Protection PowerShell without using MFA](#connect-to-exchange-online-protection-powershell-without-using-mfa) section.
40
40
41
41
1. In a Windows PowerShell window, load the EXO V2 module by running the following command:
42
42
43
43
```powershell
44
44
Import-Module ExchangeOnlineManagement
45
45
```
46
46
47
+
**Note**: If you've already [installed the EXO V2 module](exchange-online-powershell-v2.md#install-and-maintain-the-exo-v2-module), the previous command will work as written.
48
+
47
49
2. The command that you need to run uses the following syntax:
48
50
49
51
```powershell
@@ -84,6 +86,8 @@ If your account doesn't use multi-factor authentication, use the steps in this s
84
86
Import-Module ExchangeOnlineManagement
85
87
```
86
88
89
+
**Note**: If you've already [installed the EXO V2 module](exchange-online-powershell-v2.md#install-and-maintain-the-exo-v2-module), the previous command will work as written.
Copy file name to clipboardExpand all lines: exchange/docs-conceptual/connect-to-scc-powershell.md
+19-13Lines changed: 19 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ manager: dansimp
5
5
ms.date:
6
6
ms.audience: Admin
7
7
ms.topic: article
8
-
ms.service: exchange-online
8
+
ms.service: exchange-powershell
9
9
ms.reviewer: navgupta
10
10
localization_priority: Priority
11
11
ms.collection: Strat_EX_Admin
@@ -27,26 +27,29 @@ To use the older Exchange Online Remote PowerShell Module to connect to Security
27
27
28
28
## What do you need to know before you begin?
29
29
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).
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). The rest of the instructions in the topic assume that you've already installed the module.
31
31
32
32
## Connect to Security & Compliance PowerShell using MFA
33
33
34
-
If you account uses multi-factor authentication, use the steps in this section. Otherwise, skip to the [Connect to Security & Compliance Center PowerShell without using MFA](#connect-to-security--compliance-center-powershell-without-using-mfa) section.
34
+
If your account uses multi-factor authentication, use the steps in this section. Otherwise, skip to the [Connect to Security & Compliance Center PowerShell without using MFA](#connect-to-security--compliance-center-powershell-without-using-mfa) section.
35
35
36
36
1. In a Windows PowerShell window, load the EXO V2 module by running the following command:
37
37
38
38
```powershell
39
39
Import-Module ExchangeOnlineManagement
40
40
```
41
41
42
+
**Note**: If you've already [installed the EXO V2 module](exchange-online-powershell-v2.md#install-and-maintain-the-exo-v2-module), the previous command will work as written.
43
+
42
44
2. The command that you need to run uses the following syntax:
-_\<UPN\>_ is your account in user principal name format (for example, `[email protected]`).
49
-
- 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).
51
+
- 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
50
53
51
54
**This example connects to Security & Compliance Center PowerShell in a Microsoft 365 or Microsoft 365 GCC organization**.
52
55
@@ -57,19 +60,20 @@ If you account uses multi-factor authentication, use the steps in this section.
57
60
**This example connects to Security & Compliance Center PowerShell in an Office 365 Germany organization**.
For detailed syntax and parameter information, see [Connect-IPPSSession](https://docs.microsoft.com/powershell/module/exchange/connect-exchangeonline).
75
79
@@ -90,6 +94,8 @@ If your account doesn't use multi-factor authentication, use the steps in this s
90
94
Import-Module ExchangeOnlineManagement
91
95
```
92
96
97
+
**Note**: If you've already [installed the EXO V2 module](exchange-online-powershell-v2.md#install-and-maintain-the-exo-v2-module), the previous command will work as written.
98
+
93
99
2. Run the following command:
94
100
95
101
```powershell
@@ -101,10 +107,10 @@ If your account doesn't use multi-factor authentication, use the steps in this s
101
107
3. The command that you need to run uses the following syntax:
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).
108
114
109
115
**This example connects to Security & Compliance Center PowerShell in a Microsoft 365 or Microsoft 365 GCC organization**.
110
116
@@ -115,19 +121,19 @@ If your account doesn't use multi-factor authentication, use the steps in this s
115
121
**This example connects to Security & Compliance Center PowerShell in an Office 365 Germany organization**.
For detailed syntax and parameter information, see [Connect-IPPSSession](https://docs.microsoft.com/powershell/module/exchange/connect-exchangeonline).
Copy file name to clipboardExpand all lines: exchange/docs-conceptual/exchange-management-shell.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -2,11 +2,11 @@
2
2
title: "Exchange Server PowerShell (Exchange Management Shell)"
3
3
ms.author: chrisda
4
4
author: chrisda
5
-
manager: sansimp
5
+
manager: dansimp
6
6
ms.date:
7
7
ms.audience: ITPro
8
8
ms.topic: article
9
-
ms.prod: exchange-server-itpro
9
+
ms.prod: exchange-server-it-pro
10
10
localization_priority: Normal
11
11
ms.assetid: 925ad66f-2f05-4269-9923-c353d9c19312
12
12
description: "Learn about Exchange Server PowerShell, also known as the Exchange Management Shell. This topic describes how PowerShell works on Exchange servers, and provides links to other topics that can help you learn how to use the Exchange Management Shell."
0 commit comments