Microsoft Defender for Office 365 Recommended Configuration Analyzer (ORCA) 2.2 released

Andres Bohren
Hi All, A few hours ago a new Version of the Microsoft Defender for Office 365 Recommended Configuration Analyzer (ORCA) Module has been released. ORCA 2.2 To check the installed Module and what’s available on PowerShell Gallery use the commands below Get-InstalledModule ORCA Find-Module ORCA Uninstall the old and install the new PowerShell Module Uninstall-Module ORCA Install-Module ORCA Get-InstalledModule ORCA The Module only contains two Commands Get-Command -Module ORCA Now let’s run the ORCA Report

MicrosoftTeams PowerShell Module 5.0.0 released as GA

Andres Bohren
Hi All, Just a few Hours ago, Microsoft has released the MicrosoftTeams PowerShell Module 5.0.0 to the PowerShell Gallery. MicrosoftTeams 5.0.0 Microsoft Teams PowerShell Release Notes Check installed Module and what’s available in the PowerShell Gallery Get-InstalledModule MicrosoftTeams -AllVersions Find-Module MicrosoftTeams Uninstall the old Module and install the newest Module Uninstall-Module MicrosoftTeams Install-Module MicrosoftTeams Get-InstalledModule MicrosoftTeams Testing Connect-MicrosoftTeams Get-CsOnlineUser -Identity a.bohren@icewolf.ch Some new Filering Get-CsOnlineUser -Filter {City -eq 'Bern'} | ft UserPrincipalName Get-CsOnlineUser -Filter {Company -like 'Ice\*'} | ft UserPrincipalName Get-CsOnlineUser -Filter {FeatureTypes -contains "PhoneSystem"} | ft UserPrincipalName Regards

PowerToys v0.68.0 released

Andres Bohren
Hi All, Yesterday the PowerToys v0.68.0 have been released. PowerToys Release v0.68.0 In Teams or Browsers you can use “CTRL + SHIFT + V” to paste as Plain Text. Now there is a General Shortcut to do that everywhere “CTRL + WIN + V” Regards Andres Bohren

PowerShell 7.3.3 released

Andres Bohren
Hi All, Today i realized that there is a new version of PowerShell 7. v7.3.3 Release of PowerShell I have downloaded the x64 *.msi and these are the Screenshots from the Installation. I always enable “Enable PowerShell remoting” wich is not enabled by default. Let’s start and see pwsh Get-Host Regards Andres Bohren

ExchangeOnlineManagement 3.2.0-Preview1 has been released

Andres Bohren
Hi All, Yesterday, Microsoft has released the ExchangeOnlineManagement 3.2.0-Preview1 PowerShell Module to the PowerShell Gallery. ExchangeOnlineManagement 3.2.0-Preview1 Whats new in v3.2.0-Preview1 : Preview Release of new cmdlets: Updating Briefing Email Settings of a tenant (Get-DefaultTenantBriefingConfig and Set-DefaultTenantBriefingConfig) Updating Viva Insights Feature Settings of a tenant (Get-DefaultTenantMyAnalyticsFeatureConfig and Set-DefaultTenantMyAnalyticsFeatureConfig) Bug fixes in Connect-ExchangeOnline. Let’s check what Version of the Module is installed and what is available from the PowerShell Gallery Get-InstalledModule ExchangeOnlineManagement Find-Module ExchangeOnlineManagement -AllowPrerelease I will install the Preview Side by Side with the Parameter Force

New M365 SelfServicePurchase Products popping up (February 2023)

Andres Bohren
Hi All, Microsoft has announced some new SelfService Purchase Services in Microsoft 365. Use AllowSelfServicePurchase for the MSCommerce PowerShell module During the last Week it was not possible tho review or change it. Apparently it works again since yesterday. Connect to M365 and view the Details. As you can see there are two more: One for Power Automate and one for Teams. Import-Module -Name MSCommerce Connect-MSCommerce Get-MSCommerceProductPolicies -PolicyId AllowSelfServicePurchase Now, let’s disable the new Services

PowerShell Module Microsoft.Online.SharePoint.PowerShell 16.0.23408.12000 released

Andres Bohren
Hi All, Yesterday, Microsoft has released the Microsoft.Online.SharePoint.PowerShell 16.0.23408.12000. PowerShell Module Microsoft.Online.SharePoint.PowerShell 16.0.23408.12000 Check the installed Version and what is available from the PowerShell Gallery Get-InstalledModule Microsoft.Online.SharePoint.PowerShell Find-Module Microsoft.Online.SharePoint.PowerShell Uninstall the old Version and install the new Version of the Module Uninstall-Module Microsoft.Online.SharePoint.PowerShell Install-Module Microsoft.Online.SharePoint.PowerShell Get-InstalledModule Microsoft.Online.SharePoint.PowerShell List the Commands of the Module Get-Command -Module Microsoft.Online.SharePoint.PowerShell Connect to Sharepoint Online Connect-SPOService -Url https://icewolfch-admin.sharepoint.com Get some Settings Get-SPOTenant | fl Regards

Conditional Access Templates (Preview)

Andres Bohren
Hi All, Did you notice that you can download Conditional Access Templates. The Templates are documented in the Conditional Access Doumentation below Conditional Access templates (Preview) In Conditional Access Management select “New policy from template” Now you have a diffrent range of Policys and can download the JSON Back in Conditional Access select “Upload policy file” Select your JSON File and choose between “Off”, “On”, “Report only” After that your Policy is created

MSIdentityTools PowerShell Module v2.0.42 released

Andres Bohren
Hi All, Just a few Hours ago, Microsoft has released a new version of the MSIdentityTools PowerShell Module. MSIdentityTools 2.0.42 Check what Version of the Module is installed and what’s available in the PowerShell Gallery Get-InstalledModule MSIdentityTools Find-Module MSIdentityTools Uninstall the old version of the PowerShell Module and install the newest one Uninstall-Module MSIdentityTools Install-Module MSIdentityTools Get-InstalledModule MSIdentityTools To see what commands are available use the following command Get-Command -Module MSIdentityTools To resolve an AppId to ObjectId you can use the Command below

How to check Exchange Active Directory Versions

Andres Bohren
Hi All, Sometimes you need to check the Exchange Active Directory Versions to see if a Schema Upgrade is needet. It is well documented on the Website from Microsoft Exchange Active Directory versions In this Case we use ADSIEdit.msc Or you simply run this Script ############################################################################### # Get Exchange AD Schema Version ############################################################################### #Needs ActiveDirectory PowerShell Module # Exchange Schema Version $sc = (Get-ADRootDSE).SchemaNamingContext $ob = "CN=ms-Exch-Schema-Version-Pt," + $sc Write-Output "RangeUpper: $((Get-ADObject $ob -pr rangeUpper).