Skip to content

Commit 225b66e

Browse files
committed
changes
1 parent 4b78e01 commit 225b66e

File tree

2 files changed

+181
-0
lines changed

2 files changed

+181
-0
lines changed
Lines changed: 161 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,161 @@
1+
---
2+
title: FAQS on Exchange Online PowerShell V3 module
3+
ms.author: v-mathavale
4+
author: v-mathavale
5+
manager: serdars
6+
ms.date: 09/09/2022
7+
ms.audience: Admin
8+
audience: Admin
9+
ms.topic: article
10+
ms.service: exchange-powershell
11+
ms.reviewer: abhishekku
12+
ms.localizationpriority: high
13+
ms.collection: Strat_EX_Admin
14+
ms.custom:
15+
ms.assetid:
16+
search.appverid: MET150
17+
description: "Admins can learn about the FAQs on Exchange Online PowerShell V3 module."
18+
---
19+
20+
# FAQs on Exchange Online PowerShell V3 module
21+
22+
The following are FAQs on the Exchange Online PowerShell V3 module.
23+
24+
## Which are the supported operating systems for EXO V3 module?
25+
26+
All the operating system versions listed in [Supported Operating Systems for EXO V2 module](exchange-online-powershell-v2.md#supported-operating-systems-for-the-exo-v2-module) are supported for EXO V3 Module as well.
27+
28+
## What are the prerequisites for EXO V3 module?
29+
30+
The pre-requisites for EXO V2 module are applicable to the V3 module as well. Refer to [Prerequisites for the EXO V2 module](exchange-online-powershell-v2.md#prerequisites-for-the-exo-v2-module) for V3 module prerequisites.
31+
32+
## How to install the EXO V3 module?
33+
34+
You can download the EXO V3 module from the [PowerShell gallery](https://www.powershellgallery.com/packages/ExchangeOnlineManagement/)
35+
36+
To install the EXO V3 module for the first time, complete the following steps:
37+
38+
1. Install or update the PowerShellGet module as described in [Installing PowerShellGet](/powershell/scripting/gallery/installing-psget).
39+
40+
2. Close and re-open the Windows PowerShell window.
41+
42+
3. Now you can use the **Install-Module** cmdlet to install the EXO V3 module from the PowerShell Gallery. Typically, you'll want the latest public version of the module, but you can also install a Preview version if one is available.
43+
44+
- To install **the latest public version** of the module, run **one** of the the following commands:
45+
46+
- In an elevated PowerShell window (all users), run:
47+
48+
```powershell
49+
Install-Module -Name ExchangeOnlineManagement
50+
```
51+
52+
- Only for the current user account:
53+
54+
```powershell
55+
Install-Module -Name ExchangeOnlineManagement -Scope CurrentUser
56+
```
57+
58+
For detailed syntax and parameter information, see [Install-Module](/powershell/module/powershellget/install-module).
59+
60+
## How to connect to the Exchange Online PowerShell using V3 Module?
61+
62+
Once you have downloaded and installed the EXO V3 module, refer to the following relevant scenarios to connect to the Exchange Online PowerShell:
63+
64+
### Scenario 1: Connections to Exchange Online PowerShell
65+
66+
Your existing PowerShell module connection is similar to the following:
67+
68+
```powershell
69+
$Session = $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection
70+
```
71+
Using the EXO V3 module, you can connect using:
72+
73+
```powershell
74+
Connect-ExchangeOnline -ConnectionUri https://outlook.office365.com/powershell-liveid/ -UserPrincipalName [email protected]
75+
```
76+
You may have to use one of the following URI depending on your service endpoint:
77+
78+
|Service endpoint |URI to use |
79+
|---------|---------|
80+
|Office 365 operated by 21Vianet | [https://partner.outlook.cn/PowerShell](https://partner.outlook.cn/PowerShell) |
81+
|Office 365 Germany |[https://outlook.office.de/powershell-liveid/ ](https://outlook.office.de/powershell-liveid/ ) |
82+
|Microsoft 365 GCC High | [https://outlook.office365.us/powershell-liveid/ ](https://outlook.office365.us/powershell-liveid/ ) |
83+
|Microsoft 365 DoD | [https://webmail.apps.mil/powershell-liveid ](https://webmail.apps.mil/powershell-liveid ) |
84+
85+
### Scenario 2: Connections to Security and Compliance Center PowerShell
86+
87+
Your existing PowerShell connection is similar to the following:
88+
89+
```powershell
90+
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.compliance.protection.outlook.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection
91+
```
92+
93+
Using the Exchange V3 module, you can connect using:
94+
95+
```powershell
96+
Connect-IPPSSession -Credential (Get-Credential) -ConnectionUri https://ps.compliance.protection.outlook.com/powershell-liveid/
97+
```
98+
This scenario still uses RPS cmdlets, so it requires client machine basic authentication on WinRM.
99+
100+
You may have to use one of the following URI depending on your service endpoint:
101+
102+
|Service endpoint |URI to use |
103+
|---------|---------|
104+
|Microsoft 365 GCC High | [https://ps.compliance.protection.office365.us/powershell-liveid/ ](https://ps.compliance.protection.office365.us/powershell-liveid/ ) |
105+
|Microsoft 365 DoD | [https://l5.ps.compliance.protection.office365.us/powershell-liveid/ ](https://l5.ps.compliance.protection.office365.us/powershell-liveid/ ) |
106+
107+
### Scenario 3: Connections to Exchange Online Protection PowerShell
108+
109+
Your existing PowerShell connection is similar to the following:
110+
111+
```powershell
112+
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.protection.outlook.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection
113+
```
114+
115+
Using the Exchange V3 module, you can connect using:
116+
117+
```powershell
118+
Connect-IPPSSession -Credential (Get-Credential) -ConnectionUri https://ps.protection.outlook.com/powershell-liveid/
119+
```
120+
This scenario still uses RPS cmdlets, so it requires client machine basic authentication on WinRM.
121+
122+
You may have to use one of the following URI depending on your service endpoint:
123+
124+
|Service endpoint |URI to use |
125+
|---------|---------|
126+
|Office 365 Germany | [https://ps.protection.outlook.de/powershell-liveid/ ](https://ps.protection.outlook.de/powershell-liveid/ ) |
127+
|For Exchange Server organizations with Exchange Enterprise CAL with Services licenses |[https://outlook.office365.com/powershell-liveid ](https://outlook.office365.com/powershell-liveid ) |
128+
129+
## How to move from Exchange PowerShell V1 to EXO V3 module?
130+
131+
Refer to [this blog](https://techcommunity.microsoft.com/t5/exchange-team-blog/moving-from-the-exchange-powershell-v1-module-to-the-v2-preview/ba-p/3450679)for more details on moving from the Exchange PowerShell v1 to EXO V3 or V2 preview module.
132+
133+
## How to update the EXO V3 module?
134+
135+
Refer [this document](exchange-online-powershell-v2.md#update-the-exo-v2-module) to update the EXO V3 module. It is similar to the EXO V2 module.
136+
137+
## How to uninstall the EXO V3 module?
138+
139+
To uninstall the module, run one of the following commands based on how you originally installed the module (in an elevated PowerShell window vs. Scope CurrentUser):
140+
141+
- In an elevated PowerShell window (all users), run:
142+
143+
```powershell
144+
Uninstall-Module -Name ExchangeOnlineManagement
145+
```
146+
147+
- Only for the current user account, run:
148+
149+
```powershell
150+
Uninstall-Module -Name ExchangeOnlineManagement
151+
```
152+
For details about syntax and parameter information, see [Uninstall-Module.](/powershell/module/powershellget/uninstall-module)
153+
154+
## Are Security and Compliance PowerShell and Exchange Online Protection PowerShell cmdlets REST Based?
155+
156+
No, currently both are available only in their RPS versions.<br>
157+
If you use the EOP or SCC cmdlets, you need to keep WinRM Basic Authentication turned on, on the client machines.
158+
159+
## How to troubleshoot Exchange Online PowerShell V3 module?
160+
161+
Refer [troubleshooting EXO-V3](troubleshoot-exo-v3.md) to identify and fix errors that you may run into when you use this product.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
title: Troubleshooting Exchange Online PowerShell V3 module
3+
ms.author: v-mathavale
4+
author: v-mathavale
5+
manager: serdars
6+
ms.date: 09/09/2022
7+
ms.audience: Admin
8+
audience: Admin
9+
ms.topic: troubleshooting
10+
ms.service: exchange-powershell
11+
ms.reviewer: abhishekku
12+
ms.localizationpriority: high
13+
ms.collection: Strat_EX_Admin
14+
ms.custom:
15+
ms.assetid:
16+
search.appverid: MET150
17+
description: "Learn how to troubleshoot Exchange Online PowerShell V3 module."
18+
---
19+
# Troubleshooting Exchange Online PowerShell V3 module
20+

0 commit comments

Comments
 (0)