Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Use Azure managed identities to connect to Exchange Online PowerShell
ms.author: chrisda
author: chrisda
manager: dansimp
ms.date:
ms.date: 5/10/2023
ms.audience: Admin
audience: Admin
ms.topic: article
Expand Down Expand Up @@ -261,17 +261,18 @@ For detailed syntax and parameter information, see [Get-AzADServicePrincipal](/p
To add the module to the Automation account in Azure PowerShell, use the following syntax:

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

- \<ResourceGroupName\> is the name of the resource group that's already assigned to the Automation account.
- \<AutomationAccountName\> is the name of the Automation account.
- \<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`.
- Currently, the PowerShell procedures don't give you a choice for the runtime version (it's 5.1).

For example:

```powershell
New-AzAutomationModule -ResourceGroupName "ContosoRG" -AutomationAccountName "ContosoAzAuto1" -Name ExchangeOnlineManagement -ContentLinkUri https://www.powershellgallery.com/packages/ExchangeOnlineManagement/3.0.0
New-AzAutomationModule -ResourceGroupName "ContosoRG" -AutomationAccountName "ContosoAzAuto1" -Name ExchangeOnlineManagement -ContentLinkUri https://www.powershellgallery.com/packages/ExchangeOnlineManagement/3.1.0
```

To verify that the module imported successfully, run the following command:
Expand Down
2 changes: 1 addition & 1 deletion exchange/exchange-ps/exchange/Delete-QuarantineMessage.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ Accept wildcard characters: False
The EntityType parameter filters the results by EntityType. Valid values are:

- Email
- SharePoint
- SharePointOnline
- Teams (currently in Preview)
- DataLossPrevention (currently in Preview)

Expand Down
2 changes: 1 addition & 1 deletion exchange/exchange-ps/exchange/Export-QuarantineMessage.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ Accept wildcard characters: False
The EntityType parameter filters the results by EntityType. Valid values are:

- Email
- SharePoint
- SharePointOnline
- Teams (currently in Preview)
- DataLossPrevention (currently in Preview)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ Accept wildcard characters: False
The EntityType parameter filters the results by EntityType. Valid values are:

- Email
- SharePoint
- SharePointOnline
- Teams (currently in Preview)
- DataLossPrevention (currently in Preview)

Expand Down
2 changes: 1 addition & 1 deletion exchange/exchange-ps/exchange/Preview-QuarantineMessage.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ Accept wildcard characters: False
The EntityType parameter filters the results by EntityType. Valid values are:

- Email
- SharePoint
- SharePointOnline
- Teams (currently in Preview)
- DataLossPrevention (currently in Preview)

Expand Down
2 changes: 1 addition & 1 deletion exchange/exchange-ps/exchange/Release-QuarantineMessage.md
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ Accept wildcard characters: False
The EntityType parameter filters the results by EntityType. Valid values are:

- Email
- SharePoint
- SharePointOnline
- Teams (currently in Preview)
- DataLossPrevention (currently in Preview)

Expand Down