ExchangeOnlineManagement 3.7.1 released

ExchangeOnlineManagement 3.7.1 released

Hi All,

Today Microsoft has released the ExchangeOnlineManagement 3.7.1 PowerShell Module.

v3.7.1:

  1. Introduced a new property named ExoExchangeSecurityDescriptor in Get-ExoMailbox response, that is similar to ExchangeSecurityDescriptor property in Get-Mailbox response.
  2. Added new cmdlets Add-VivaOrgInsightsDelegatedRole, Get-VivaOrgInsightsDelegatedRole, and Remove-VivaOrgInsightsDelegatedRole for supporting Viva Org Insights Delegation feature.

I am using the new PSResourceGet here instead of the PowerShellGet commands.

Show installed Versions and what’s available in PowerShell Gallery. You need to use the -Prerelease Parameter to show Preview Versions of a Module

Get-InstalledPSResource ExchangeOnlineManagement -Scope CurrentUser
Find-PSResource ExchangeOnlineManagement -Prerelease

Uninstall old Module

Uninstall-PSResource ExchangeOnlineManagement -Scope CurrentUser -SkipDependencyCheck

n the end, i had no other choice as to delete the Folder in Windows Explorer C:\Users\a.bohren\OneDrive - Icewolf\Dokumente\WindowsPowerShell\Modules

Get your PowerShell Modules Path with the following command

$env:PSModulePath.Split(";")

Installing the Module and show the installed Module

Install-PSResource -Name ExchangeOnlineManagement -Scope CurrentUser
Get-InstalledPSResource -Name ExchangeOnlineManagement -Scope CurrentUser

Connect to Exchange Online and get a Mailbox

Connect-ExchangeOnline -ShowBanner:$false
Get-Mailbox -Identity a.bohren@icewolf.ch

Show the ExchangeSecurityDescriptor with Get-Mailbox

$MBX = Get-Mailbox -Identity a.bohren@icewolf.ch
$MBX.ExchangeSecurityDescriptor

Show the ExoExchangeSecurityDescriptor with Get-EXOMailbox

$EXOMBX = Get-EXOMailbox -Identity a.bohren@icewolf.ch -Properties ExoExchangeSecurityDescriptor
$EXOMBX.ExoExchangeSecurityDescriptor

For the Get-/Add-/Remove-VivaOrgInsightsDelegatedRole you need the ObjecID’s of the User Objects

Connect-MgGraph -NoWelcome
Get-MgUser -UserId a.bohren@icewolf.ch
Get-MgUser -UserId m.muster@icewolf.ch

Tried to figure out how to use the Add-VivaOrgInsightsDelegatedRole Command.

But it failed with the Error Message:

The requested resource could not be found.

I am logged in as Global Admin. Anyone figured out how this works or if there are Viva Licenses needed?

Get-VivaOrgInsightsDelegatedRole -Delegator "6db8cdd5-8e93-462d-9907-994406c07f60"
Add-VivaOrgInsightsDelegatedRole -Delegator "6db8cdd5-8e93-462d-9907-994406c07f60" -Delegate "ff18c35d-8cd9-45ce-b4e3-7e7abe13ff4e"

Regards
Andres Bohren

Exchange Logo

PowerShell Logo