blog.icewolf.ch

Let's talk about IT!
posts - 2198, comments - 295, trackbacks - 0

My Links

Archives

Post Categories

icewolf

ExchangeOnlineManagement 3.0.1-Preview1 released

Hi All,

Today Microsoft has released the ExchangeOnlineManagement-Preview1 PowerShell Module.

ExchangeOnlineManagement 3.0.1-Preview1


Whats new in this release:

v3.0.1-Preview1 :
   1. Bug fixes in Connect-ExchangeOnline.
   2. Bug fix in Connect-IPPSSession for connecting to Security and Compliance PowerShell using Certificate Thumbprint.
   3. Mitigation for the known vulnerability in Newtonsoft.Json library. More details here: https://github.com/advisories/GHSA-5crp-9r3c-p9vr


Check what Version is installed and what's available from the PowerShell Gallery

Get-InstalledModule ExchangeOnlineManagement
Find-Module ExchangeOnlineManagement -AllowPrerelease


Uninstall the old Module and install the Preview Module

Uninstall-Module ExchangeOnlineManagement -Force
Install-Module ExchangeOnlineManagement -AllowPrerelease
Get-InstalledModule ExchangeOnlineManagement


Testing

Connect-ExchangeOnline
Get-Mailbox -Identity <Mailbox>


Here is the Code to Connect with a Certificate on the Local Cert Store.
What Permissions are needed can be found in the following Blog Post

Exchange Online PowerShell V2 Authentication with App in AzureAD (Update)

$AppID = "f38d26a7-740e-425f-aef5-2da3f3d595db"
$CertThumbprint = "07EFF3918F47995EB53B91848F69B5C0E78622FD"
$TenantID = "icewolfch.onmicrosoft.com"
Connect-ExchangeOnline -AppId $AppId -CertificateThumbprint $CertThumbprint -Organization $TenantID
Connect-IPPSSession -AppId $AppID -CertificateThumbprint $CertThumbprint -Organization $TenantID




Regards
Andres Bohren


Print | posted on Tuesday, November 15, 2022 9:51 PM | Filed Under [ Exchange PowerShell ]

Powered by:
Powered By Subtext Powered By ASP.NET