Skip to content

Commit 0023744

Browse files
committed
Update connect-exo-powershell-managed-identity.md
Generalized EXO module version
1 parent 86ded3d commit 0023744

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

exchange/docs-conceptual/connect-exo-powershell-managed-identity.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Use Azure managed identities to connect to Exchange Online PowerShell
33
ms.author: chrisda
44
author: chrisda
55
manager: dansimp
6-
ms.date:
6+
ms.date: 5/10/2023
77
ms.audience: Admin
88
audience: Admin
99
ms.topic: article
@@ -261,17 +261,18 @@ For detailed syntax and parameter information, see [Get-AzADServicePrincipal](/p
261261
To add the module to the Automation account in Azure PowerShell, use the following syntax:
262262

263263
```powershell
264-
New-AzAutomationModule -ResourceGroupName "<ResourceGroupName>" -AutomationAccountName "<AutomationAccountName>" -Name ExchangeOnlineManagement -ContentLinkUri https://www.powershellgallery.com/packages/ExchangeOnlineManagement/3.0.0
264+
New-AzAutomationModule -ResourceGroupName "<ResourceGroupName>" -AutomationAccountName "<AutomationAccountName>" -Name ExchangeOnlineManagement -ContentLinkUri https://www.powershellgallery.com/packages/ExchangeOnlineManagement/<LatestModuleVersion>
265265
```
266266

267267
- \<ResourceGroupName\> is the name of the resource group that's already assigned to the Automation account.
268268
- \<AutomationAccountName\> is the name of the Automation account.
269+
- \<LatestModuleVersion\> is the current version of the ExchangeOnlineManagement module. To see the latest GA (non-Preview) version of the module, run the following command in Windows PowerShell: `Find-Module ExchangeOnlineManagement`. To see the latest Preview release, run the following command: `Find-Module ExchangeOnlineManagement -AllowPrerelease`.
269270
- Currently, the PowerShell procedures don't give you a choice for the runtime version (it's 5.1).
270271

271272
For example:
272273

273274
```powershell
274-
New-AzAutomationModule -ResourceGroupName "ContosoRG" -AutomationAccountName "ContosoAzAuto1" -Name ExchangeOnlineManagement -ContentLinkUri https://www.powershellgallery.com/packages/ExchangeOnlineManagement/3.0.0
275+
New-AzAutomationModule -ResourceGroupName "ContosoRG" -AutomationAccountName "ContosoAzAuto1" -Name ExchangeOnlineManagement -ContentLinkUri https://www.powershellgallery.com/packages/ExchangeOnlineManagement/3.1.0
275276
```
276277

277278
To verify that the module imported successfully, run the following command:

0 commit comments

Comments
 (0)