ExchangeOnlineManagement 3.7.1-Preview1 released
Hi All,
A few days ago, Microsoft has released the ExchangeOnlineManagement 3.7.1-Preview1 PowerShell Module.
- PowerShell Gallery ExchangeOnlineManagement 3.7.1-Preview1
v3.7.1-Preview1:
- Introduced a new property named ExoExchangeSecurityDescriptor in Get-ExoMailbox response, that is similar to ExchangeSecurityDescriptor property in Get-Mailbox response.
v3.7.0-Preview1 :
- Integrated WAM (Web Account Manager) in Authentication flows to enhance security.
- Starting with EXO V3.7, use the LoadCmdletHelp parameter alongside Connect-ExchangeOnline to access the Get-Help cmdlet, as it will not be loaded by default.
- Fixed connection issues with app only authentication in Security & Compliance PowerShell.
- 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 and install the new Module
Uninstall-PSResource ExchangeOnlineManagement -Scope CurrentUser -SkipDependencyCheck
Install-PSResource ExchangeOnlineManagement -Scope CurrentUser -Prerelease
Get-InstalledPSResource ExchangeOnlineManagement -Scope CurrentUser
Connect to Exchange Online and get a Mailbox. The Popup to authenticate seems to be the Integrated WAM (Web Account Manager)
Connect-ExchangeOnline -ShowBanner:$false
Using the parameter -LoadCmdletHelp the Help is more detailed
Connect-ExchangeOnline -ShowBanner:$false -LoadCmdletHelp
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:
You must be Global Admin (Company Admin) or Insight Admin to be able to run the command and this command must be enabled in your company’s settings.
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