July 2022 Blog Posts
Hi All,
Yesterday, Microsoft has released a new Version of theyr MSIdentityTools PowerShell Module.
MSIdentityTools 2.0.17
https://www.powershellgallery.com/packages/MSIdentityTools/2.0.17
Check installed PowerShell Module Version and what is available in the PowerShell Gallery (Needs to run "As Administrator")
Get-InstalledModule MSIdentityTools
Find-Module MSIdentityTools
Uninstall the old PowerShell Module and install the new one
Uninstall-Module MSIdentityTools
Install-Module MSIdentityTools
Get-InstalledModule MSIdentityTools
List Commands of the Module
Get-Command -Module MSIdentityTools
Let's try out the following Command "Get-MsIdServicePrincipalIdByAppId"
Connect-MgGraph -Scopes Application.Read.All, Application.ReadWrite.All, Directory.Read.All, Directory.ReadWrite.All
Get-MsIdServicePrincipalIdByAppId -AppId 3bf0cf36-87bf-47a9-927b-0ef9df7cf146
The same command works in PowerShell 7
Connect-MgGraph -Scopes Application.Read.All, Application.ReadWrite.All, Directory.Read.All, Directory.ReadWrite.All
Get-MsIdServicePrincipalIdByAppId -AppId 3bf0cf36-87bf-47a9-927b-0ef9df7cf146
Had the same also with "Resolve-MsIdTenant". It worked only in PowerShell 7. Seems to be a good idea to test the Commands in PowerShell...
Hi All,
Yesterday Microsoft hast release the MicrosoftTeams PowerShell Module 4.6.0 as GA (Generally Available) in the PowerShell Gallery.
MicrosoftTeams 4.6.0
https://www.powershellgallery.com/packages/MicrosoftTeams/4.6.0
Release Notes
https://docs.microsoft.com/en-us/MicrosoftTeams/teams-powershell-release-notes
Find the PowerShell Module in the PowerShell Gallery and install it
Find-Module MicrosoftTeams
Install-Module MicrosoftTeams
Get-InstalledModule MicrosoftTeams
Testing
Connect-MicrosoftTeams
Get-Team
Get-CsOnlineUser -Identity a.bohren@icewolf.ch | fl *Ent*,*host*,*voice*, *line*
Regards
Andres Bohren
Hi All,
I've seen that there are some new SelfServicePurchase Services are published. In the following Blog Article i show you how to disable them.
Import-Module -Name MSCommerce
Connect-MSCommerce
Get-MSCommerceProductPolicies -PolicyId AllowSelfServicePurchase
Let's disable the two SelfServicePurchases
Update-MSCommerceProductPolicy -PolicyId AllowSelfServicePurchase -ProductId CFQ7TTC0LHVK -Enabled $False
Update-MSCommerceProductPolicy -PolicyId AllowSelfServicePurchase -ProductId CFQ7TTC0LHWM -Enabled $False
When we check now, all the SelfServicePurchases are disabled
Get-MSCommerceProductPolicies -PolicyId AllowSelfServicePurchase
Regards
Andres Bohren
Hi All,
Last Week i've received an update for my OnePlus 9 Android Smartphone. It updates the Android Patchlevel to 2022.05.
Regards
Andres Bohren
Hi All,
Yesterday Microsoft has released a new Version of the MSIdentityTools PowerShell Module.
MSIdentityTools 2.0.15
https://www.powershellgallery.com/packages/msidentityTools/2.0.15
Check the Installed Version and what is available in the PowerShell Gallery
Get-InstalledModule MSIdentityTools
Find-Module MSIdentityTools
Uninstall the old Version of the Module and install the new Version of the Module
Uninstall-Module MSIdentityTools
Install-Module MSIdentityTools
Get-InstalledModule MSIdentityTools
List the Commands of the Module
Get-Command -Module MSIdentityTools
Seeing this i experimented with the Get-MsIdO365Endpoints Command to get the List of the Exchange Online IPs
Get-MsIdO365Endpoints -ServiceAreas Exchange | where {$_.tcpports -match "25"}
Get-MsIdO365Endpoints -ServiceAreas Exchange | where {$_.tcpports -match "25"} | select -ExpandProperty ips
Regards
Andres Bohren
Hi All,
There is a Preview for M365 Tenant to Tenant Migration of Exchange Mailboxes. I've tested this in my Lab. Took me several Days to complete the Migration or until i understand everything correctly and had everything fixed.
Cross-tenant mailbox migration (preview)
https://docs.microsoft.com/en-us/microsoft-365/enterprise/cross-tenant-mailbox-migration?view=o365-worldwide
I've created this Overview to explain it a bit more. Here are all prerequisits to create a Tenant to Tenant (aka Cross-tenant) Mailbox Migration.
Target Tenant
Azure AD Application
Create a new Azure AD App registration
Give it a Name, select Multitenant and Redirect URL is "Web" "https://office.com"
Add a ClientSecret
Add Permissions from "APIs my organization uses" and search for "Office 365 Exchange"
Select Application Permission...
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.1
https://www.powershellgallery.com/packages/ORCA/2.1
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
I connect to Exchange Online (with -UseRPSSession Parameter, because i have already installed the Preview of the Module)
Connect-ExchangeOnline -UseRPSSession
Now let's run the ORCA Report
Get-ORCAReport
Does look nice and the Problem with the Quarantine Notifications in 2.0 have been fixed.
SafeLinks and SafeAttachements are not applyied to all Domains (in my Environement due...
Hi All,
An Update for ESXi 6.70 has been released by VMware
VMware ESXi 6.7, Patch Release ESXi670-202207001
https://docs.vmware.com/en/VMware-vSphere/6.7/rn/esxi670-202207001.html
Product Patches
https://customerconnect.vmware.com/patch
I have uploaded the ZIP File to the ESXi Datastore
I have only a Single ESXi Server. So i stop all VM's.
Now the Patch can be installed
esxcli software vib install -d /vmfs/volumes/datastore3/ISO/ESXi670-202207001.zip
After the Reboot you can see the new Version Number ESXi 6.7.0 19997733
No VMware Tools update reqired
Regards
Andres Bohren
Hi All,
NodeJs Security Releases
https://nodejs.org/en/blog/vulnerability/july-2022-security-releases/
I've checked what version i have installed
npm version
Tried to update via npm. Update npm first
npm install -g npm stable
now install node
npm install -g node
Doesn't seem to update to a newer version.
I am not very familiar with node.js
I ended up downlaoding the MSI from the download site
https://nodejs.org/en/download/
I've installed the MSI
Test again. I can see a never version of node
npm version
To simply display the node Version type the command below in cmd
node --version
Regards
Andres Bohren
Hi All,
Jabra has released the June 2022 Version of theyr Jabra Direct Software (Version 6.2.18901).
Release Notes
https://www.jabraheadsets.ch/support/release-notes/release-note-jabra-direct
Regards
Andres Bohren
Hi All,
PowerToys v0.60.0 has been released a few days ago.
Check out the Release notes - so much changes
https://github.com/microsoft/PowerToys/releases/tag/v0.60.0
Regards
Andres Bohren
Hi All,
The M365 Defender for Office Safe Links Block list have been moved to Tenant Allow Block List (TABL)
If you click on "Global Settings"
https://security.microsoft.com/safelinksv2
you can see that the Block List have been Migrated
Let's check the Tenant Allow/Block List
https://security.microsoft.com/tenantAllowBlockList
You can view the TenantAllowBlockList Items with the following Exchange command
Get-TenantAllowBlockListItems
https://docs.microsoft.com/en-us/powershell/module/exchange/get-tenantallowblocklistitems?view=exchange-ps
Get-TenantAllowBlockListItems -ListType URL
Get-TenantAllowBlockListItems -ListType URL | where {$_.Notes -match "Migrated"}
I came across the "Other Features".
Here is the List of features that will be migrated from Microsoft from the Classic Exchange Admin Center to the new Exchange Admin Center or a diffrent Location. Now you know what features will show up in the...
Hi All,
A Teams Channel does not have an Emailaddress until you click on "Get Emailaddress"
Note that this Emailaddress is the following Format <ID>.<tenant>.onmicrosoft.com@>region>.teams.ms
You can also delete the Emailaddress from here.
Note: If you remove and add a new Address it will get another ID
You have to confirm the removal of the Teams Channel Emailaddress
Can you read out the same with the MicrosoftTeams PowerShell.
You can get the Channels but not the Emailaddress
Connect-MicrosoftTeams
Get-Team -DisplayName "IcewolfDemo"
Get-TeamChannel -GroupID bc8b2580-47ac-46c9-92cb-01db782d1eec
You need to use the Microsoft Graph - in my case the Microsoft.Graph PowerShell Modules
Connect-MgGraph -Scopes Channel.ReadBasic.All, ChannelSettings.Read.All, ChannelSettings.ReadWrite.All
$Channels = Get-MgTeamChannel -TeamId $GroupId
$Channels[0] | fl
A Channel without...
Hi All,
Just a few Hours ago, Microsoft has released a new Version of Azure Active Directory Connect with a lot of Butfixes and some Functional changes.
Azure AD Connect: Version release history
https://docs.microsoft.com/en-us/azure/active-directory/hybrid/reference-connect-version-history
Microsoft Azure Active Directory Connect Download
https://www.microsoft.com/en-us/download/details.aspx?id=47594
On the M365 Admin Center in the Health > Directory Sync Status you can find the new Version Number
https://admin.microsoft.com/#/dirsyncmanagement
Regards
Andres Bohren
Hi All,
A few Days ago, Citrix has released th Citrix Workspace App for Windows 2206.
Citrix Workspace app 2206 for Windows
https://www.citrix.com/de-de/downloads/workspace-app/windows/workspace-app-for-windows-latest.html
What’s new
https://docs.citrix.com/en-us/citrix-workspace-app-for-windows/about.html
Regards
Andres Bohren
Hi All,
A few Hours ago, Microsoft has released the Azure PowerShell Module AZ v8.1.0
Az 8.1.0
https://www.powershellgallery.com/packages/Az/8.1.0
Azure PowerShell release notes
https://docs.microsoft.com/en-us/powershell/azure/release-notes-azureps?view=azps-8.1.0
Check your current installed Module and what is available on PowerShell Gallery
Get-InstalledModule AZ
Find-Module AZ
I've published a Script in my GitHub Repo to uninstall the old Modules and install the new Modules
https://github.com/BohrenAn/GitHub_PowerShellScripts/blob/main/AzureAD/Microsoft.Graph_HowToStart.ps1
Or you can run the Script below to directly execute that Script
#Run Script directly from GitHub
$ScriptFromGitHub = Invoke-WebRequest "https://raw.githubusercontent.com/BohrenAn/GitHub_PowerShellScripts/main/Azure/Cleanup-AZModules.ps1"
Invoke-Expression $($ScriptFromGitHub.Content)
Check the Modules
Get-InstalledModule AZ
Get-InstalledModule AZ.*
Regards
Andres Bohren
Hi All,
It's been a while since i blogged about Group Writeback.
Now there are some new Scenarios in the Preview: AAD Connect GroupWritebackV2.
Group writeback in the Azure Active Directory admin center (preview)
https://docs.microsoft.com/en-us/azure/active-directory/enterprise-users/groups-write-back-portal
Azure AD Connect group writeback
https://docs.microsoft.com/en-us/azure/active-directory/hybrid/how-to-connect-group-writeback-v2
I have GroupWriteback enabled and it looks like this
Let's check the current Settings
Import-Module 'C:\Program Files\Microsoft Azure AD Sync\Bin\ADSync\ADSync.psd1'
Get-ADSyncAADCompanyFeature
Let's enable GroupWritebackV2
Set-ADSyncAADCompanyFeature -GroupWritebackV2 $true
In Azure AD Admin Center you have to add the Columns
I've also added a Filter with "Source: Cloud"
Started the AAD Connect Configuration
Group Writeback was already enabled.
I could not select "Writeback Group Distinguished Name with Cloud Display Name"
After the next SyncCycle i can see the...
Hi All,
There has been a change in the Defender for Office 365 Anti-Malware Policy notifications.
Summary: internal and external Notifications are gone and Action is changed only to "Quarantine" or "Reject" (with NDR).
Not much to see on the M365 Roadmap
But there are more Details in the M365 Admin Portal in Message Center
In the M365 Defender Portal you can review the Settings
https://security.microsoft.com/antimalwarev2
Internal- and ExternalSendernotifcations are gone. Only two Settings are available
Microsoft Defender for Office 365: Anti-malware policy notifications
https://www.microsoft.com/en-us/microsoft-365/roadmap?filters=In%20development%2CRolling%20out&searchterms=93212
The Parameters "Action", "EnableInternalSenderNotifications", "EnableExternalSenderNotifications" are gone.
Notifications can only be sent to the Admin if you want.
The Parameter "Action" has been replaced with "FileTypeAction"...
Hi All,
I've blogged about how an Agent can make Calls to the Outside with a CallQueue / Autoattendant Calling Id
https://blog.icewolf.ch/archive/2021/10/08/microsoft-teams-call-queue-calling-id.aspx
Now the User can make a call dorect from the Calls App in Teams
Until now, the user had to go to the Teams and make the call from there to use the Calling Id of the Callqueue or Autoattendant.
Now you can use directly the Teams Calls app and select the CallerId from the Dropdown.
Regards
Andres Bohren
Hi All,
A few hours ago, Microsoft has released the V1.11.0 of the PnP.PowerShell Module to PowerShell Gallery
PnP.PowerShell 1.11.0
https://www.powershellgallery.com/packages/PnP.PowerShell/1.11.0
PnP.PowerShell Changelog
https://github.com/pnp/powershell/blob/dev/CHANGELOG.md
Check the installed Version and the Version in PowerShell Gallery
Get-InstalledModule PnP.PowerShell
Find-InstalledModule PnP.PowerShell
Uninstall the old Module and install the new Version of the Module
Uininstall-Module PnP.PowerShell
Install-Module PnP.PowerShell
Now you can use the PowerShell Module.
Some example code below.
Connect-PnPOnline -Url "https://icewolfch.sharepoint.com/sites/DemoTemplate/" -Interactive
Get-PnPContext
Get-PnPFolder -Url "Freigegebene Dokumente/Project/Script"
Get-PnPFileVersion -Url "Freigegebene Dokumente/Project/Script/AADUsers.csv"
Documentation can be found here https://pnp.github.io/powershell/articles/index.html
Regards
Andres Bohren
Hi All,
Yesterday Microsoft hast release the MicrosoftTeams PowerShell Module 4.5.0 as GA (Generally Available) in the PowerShell Gallery.
MicrosoftTeams 4.5.0
https://www.powershellgallery.com/packages/MicrosoftTeams/4.5.0
Release Notes
https://docs.microsoft.com/en-us/MicrosoftTeams/teams-powershell-release-notes
Find the PowerShell Module in the PowerShell Gallery and install it (force is only needed as i have multiple Modules in paralell installed)
Find-Module MicrosoftTeams
Install-Module MicrosoftTeams -Force
When you import the Module you can see the Version
Import-Module MicrosoftTeams
Get-Module
Testing
Connect-MicrosoftTeams
Get-Team
Get-CsOnlineUser -Identity a.bohren@icewolf.ch | fl *Ent*,*host*,*voice*, *line*
Regards
Andres Bohren