May 2022 Blog Posts
Hi All,
I was digging a little bit deeper into the Recipient Management without Exchange Server. I've already blogged about it how to install the Managment Tools only fo install the Recipient Management PowerShell
Install and use Exchange 2019 CU12 Recipient Management PowerShell
https://blog.icewolf.ch/archive/2022/04/27/install-and-use-exchange-2019-cu12-recipient-management-powershell.aspx
Add-PSSnapin *RecipientManagement
Get-PSSnapin
As you can see on the Server the Exchange Server 2019 CU12 is installed (Management Tools only)
I found the References of the PowerShell Snapins in the Registry here:
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\PowerShellSnapins
I had a look at the DLL "Microsoft.Exchange.PowerShell.Configuration.dll" with ILSpy.
As you can see there are many dependencys to other DLL's in the C:\Program Files\Microsoft\Exchange Server\V15\Bin Directory
Then i have installed the Security Update...
Hi All,
Azure Active Directory Sign-in Logs is really helpful, when analyzing Sign-in Problems.
But it also can be very helpful, when analyzing the overall Sign-ins or looking out for strange behavior.
One of the Tips would be th Filter for Location and use the CountryCode and Status of Sucess
I have set up Azure Active Directory Diagnostics to save the Sign-In Logs to a LogAnalytics Workspace.
Here you can Query the Logs with KQL. Let's search for Logins that come from Outside Switzerland.
SigninLogs
| where TimeGenerated > ago(30d)
| where LocationDetails.countryOrRegion <> "CH"
//| where Status.errorCode <> "0" //Not Sucessful Logins
| project UserPrincipalName, Status.errorCode, Status.failureReason,AppDisplayName, ResourceDisplayName, LocationDetails.countryOrRegion
It's...
Hi All,
A Month ago, Microsoft annouced in the Exchange Team Blog, the New Reply-all Storm Protection Report, Settings UI and new Mail flow Alert Policies.
New Reply-all Storm Protection Report, Settings UI, and Alert Policy
https://techcommunity.microsoft.com/t5/exchange-team-blog/new-reply-all-storm-protection-report-settings-ui-and-alert/ba-p/3292465
In the new Exchange Admin Center https://admin.exchange.microsoft.com you can find the Reply-all Storm Settings unter Settings > Mail flow
These Settings can also be configured by PowerShell.
Keep in Mind, that the Minimum Recipients must be between 1000 and 5000. A good Number for large Enterprises but not very suitable if you're a smaller Company with 100 up to 1000 Employees.
Get-TransportConfig | fl *storm*
Now there is also a Report...
Hi All,
Recently i had a customer who wanted to upload a File on SharePoint.
I've done something similar with PowerShell on Windows and Azure Automation.
Upload file to SharePoint Online with PnP.PowerShell
https://blog.icewolf.ch/archive/2022/01/23/upload-file-to-sharepoint-online-with-pnp-powershell.aspx
Install PowerShell on Linux
https://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-linux?view=powershell-7.2
As i have a CentOS8 available i did test that. There is a specific Docs from Microsoft that explains how to Install PowerShell on CentOS
Installing PowerShell on CentOS
https://docs.microsoft.com/en-us/powershell/scripting/install/install-centos?view=powershell-7.2
cat /etc/centos-release
rpm -i https://github.com/PowerShell/PowerShell/releases/download/v7.2.4/powershell-lts-7.2.4-1.rh.x86_64.rpm
pwsh -v
Great PowerShell 7 is installed. Now we need to install the PnP.PowerShell
pwsh
Find-Module PnP.PowerShell
Install-Module PnP.PowerShell
I've created the Script and only changed the Path from the CSV. Upload is sucessfull and the File on Sharepoint has really changed.
./test.ps1
Regards
Andres Bohren
Hi All,
VMware Released a Security Advisory regarding VMware Tools (CVE-2022-22977)
VMSA-2022-0015
https://www.vmware.com/security/advisories/VMSA-2022-0015.html
In order to fix it you have to install VMware Tools for Windows 12.0.5
After you have downloaded the new Version of the VMware Tools you can eighter upload the ISO to VMware ESX and assign it to the DVD Drive or open the ISO directly on the Windows Machine.
Regards
Andres Bohren
Hi All,
I've tried out the ExchangeOnlineManagement Preview6 PowerShell Module
ExchangeOnlineManagement 2.0.6-Preview6
https://www.powershellgallery.com/packages/ExchangeOnlineManagement/2.0.6-Preview6
Get-InstalledModule ExchangeOnlineManagement
Find-Module ExchangeOnlineManagement
Installing the Module Side by Side
Install-Module ExchangeOnlineManagement -AllowPrerelease -Force
Connect-ExchangeOnline
As you can see, there is no PS Session
Get-PSSession
Get-Mailbox -Identity a.bohren@icewolf.ch | fl Name
Get-EXOMailbox -Identity a.bohren@icewolf.ch | fl Name
If you check the Commands it seems pretty complete
Get-Module
Get-Command -Module ExchangeOnlineManagement | measure
Get-Command -Module tmpEXO* | measure
Or you still can connect with the Remote PowerShell Session
Connect-ExchangeOnline -UseRPSSession:$true
Get-PSSession
Get-PSSession | fl
Get-Module
Get-Command -Module tmp* | measure
I have also testet, if the Issue with the Tenant Allow / Block List also exists in the Preview 6 - and yes it does
https://blog.icewolf.ch/archive/2022/05/24/exchange-online-tenant-allowblock-list-does-not-work-when-connected.aspx
Connect-IPPSSession
Get-TenantAllowBlockListItems -ListType Url -Block
Get-TenantAllowBlockListItems -ListType Url -ListSubType...
Hi All,
Recently i stumbled over a funny Error.
When query the Get-TenantAllowBlockListItems all looks fine until you connect to Security and Compliance (Connect-IPPSession). You will then see even Watson Error Messages 😂
I am using ExchangeOnlineManagement PowerShell Module Version 2.0.5.
Had a Case open: 30305990 - The Engineering Team is now aware. And will hopefully fix it in a future Version of the PowerShell Module.
Manage the Tenant Allow/Block List
https://docs.microsoft.com/en-us/microsoft-365/security/office-365-security/tenant-allow-block-list?view=o365-worldwide
Connect-ExchangeOnline
Get-TenantAllowBlockListItems -ListType Url -Block
Get-TenantAllowBlockListItems -ListType Url -ListSubType AdvancedDelivery
Connect-IPPSSession
Get-TenantAllowBlockListItems -ListType Url -Block
Get-TenantAllowBlockListItems -ListType Url -ListSubType AdvancedDelivery
To fix it simply run:
Disconnect-ExchangeOnline
Connect-ExchangeOnline
Regards
Andres Bohren
Hi All,
I had almost forgotten, that on the Microsoft Patchday also a new Version of Azure FileSyncAgent was available.
When i look at the Azure Storage Sync Service i see that the Registered Server runs FileSyncAgent 14.1
Azure File Sync Agent v15.0
https://www.microsoft.com/en-us/download/details.aspx?id=57159
I've downloaded the MSI but was not able to install, without uninstalling the Software first
Instead i used the Windows Update Package
After a Reboot i can see the new Azure File Sync Agent Version in Azure Portal
Regards
Andres Bohren
Hi All,
Maybe you have noticed the new Mail flow Alert policies in Exchange Admin Center.
You can define new Alert policies, define the Severity, the Insight, the recipient, the Notification Limit and sometimes also the Threshold for the Alert.
For me it's a little bit odd to send an Email in case something does not work well with the Mailflow.
It could be that you get the Email very late or even when the issue is already resolved. As far as i know there is still no dedicated API to get to Informations like these... Let me know if i am wrong.
Alert policies...
Hi All,
A few Hours ago, Microsoft has released the Azure PowerShell Module AZ v8.0.0
Microsoft Azure PowerShell AZ 8.0.0
https://www.powershellgallery.com/packages/AZ/8.0.0
Release Notes not yet udated
https://docs.microsoft.com/en-us/powershell/azure/release-notes-azureps?view=azps-7.5.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,
As you probably know, i am a big Fan of Azure Automation to run some Automation Scripts for M365 in Azure.
When you try to install a new Microsoft Graph Module in Azure Automation from the Gallery it will fail, due its dependency for Microsoft.Graph.Authentication, because an older Version is installed.
I've tried to figure out, how to update the Modules with PowerShell (too much clicking for doing it manually).
By the way it's worth mentioning, that you only see the PowerShell 5.1 Modules. Anyone knows how to display the PowerShell 7 Modules?
Connect-AzAccount
$AutomationAccount = Get-AzAutomationAccount -Name icewolfautomation -ResourceGroup RG_DEV
$AutomationModules[0]
$AutomationModules | where {$_.Name...
Hi All,
A few Days ago, Microsoft has released PowerShell 7.2.4.
Changelog
https://github.com/PowerShell/PowerShell/blob/master/CHANGELOG/7.2.md
v7.2.4 Release of PowerShell
https://github.com/PowerShell/PowerShell/releases/tag/v7.2.4
Regards
Andres Bohren
Hi All,
Yesterday i've received an update for my OnePlus 9 Android Smartphone. It updates the Android Patchlevel to 2022.04.
Regards
Andres Bohren
Hi All,
A few Days ago, Citrix has released th Citrix Workspace App for Windows 2205.
Citrix Workspace app 2205 for Windows
https://www.citrix.com/de-de/downloads/workspace-app/windows/workspace-app-for-windows-latest.html
What’s new in 2205
https://docs.citrix.com/en-us/citrix-workspace-app-for-windows/about.html#whats-new-in-2205
Regards
Andres Bohren
Hi All,
Jabra has released the Mail 2022 Version of theyr Jabra Direct Software (Version 6.0.12901).
They moved from 5.x to 6.x - but i don't see any major diffrence.
Release Notes
https://www.jabraheadsets.ch/support/release-notes/release-note-jabra-direct
Regards
Andres Bohren
Hi All,
Microsoft works since a while at "One Outlook", a simplified Outlook Client based on OWA.
There has been a leak from an early Version and i've downloaded and installed it.
The Setup is very short and after a few seconds you are promted with a Login Dialog.
There is an Option for Import (but i skipped it)
That's how it looks like
If you want to block the Login with the new Client you can do that with the following Exchange Online cmdlet
Get-CASMailbox -Identity a.bohren@icewolf.ch | fl *enabled*, *disabled*
Set-CASMailbox -Identity a.bohren@icewolf.ch -OneWinNativeOutlookEnabled $False
After that OneOutlook can't be used.
One Outlook is based on OPX (OWA...
Hi All,
Yesterday Microsoft has released another Microsoft Teams PowerShell Module in Preview.
Seems to be mostly optimization and fixing some minor errors.
Couln't find yet documentation to the new commandlets s New-CsBatchTeamsDeployment & Get-CsBatchTeamsDeploymentStatus.
PowerShell Gallery Microsoft Teams 4.3.1-preview
https://www.powershellgallery.com/packages/MicrosoftTeams/4.3.1-preview
Find-Module MicrosoftTeams -AllowPrerelease
Install-Module MicrosoftTeams -AllowPrerelease -Force
Some of my usual Tesing
Connect-MicrosoftTeams
Get-Team
Get-CsOnlineUser -Identity a.bohren@icewolf.ch | fl *Ent*,*host*,*voice*, *line*
Regards
Andres Bohren
Hi All,
Yesterday at the Microsoft Patchday, the Exchange Server 2013/2016/2019 Security Updates May 2022 have been released.
Released: May 2022 Exchange Server Security Updates
https://techcommunity.microsoft.com/t5/exchange-team-blog/released-may-2022-exchange-server-security-updates/ba-p/3301831
Security Update For Exchange Server 2016 CU23 (KB5014261)
https://www.microsoft.com/en-us/download/details.aspx?id=104207
Microsoft Exchange Server Elevation of Privilege Vulnerability
https://msrc.microsoft.com/update-guide/vulnerability/CVE-2022-21978
There is also a new format of the Security Update. The .exe File is a self-extracting, auto-elevating installer (.exe), which works best for manual installations.
New Exchange Server Security Update and Hotfix Packaging
https://techcommunity.microsoft.com/t5/exchange-team-blog/new-exchange-server-security-update-and-hotfix-packaging/ba-p/3301819
After the Setup is installed on all Servers you have to run "PrepareAllDomains" as an Enterprise Admin.
cd C:\Program Files\Microsoft\Exchange Server\V15\Bin
Setup.exe /IAcceptExchangeServerLicenseTerms_DiagnosticDataON /PrepareAllDomains
Regards
Andres Bohren
Hi All,
A few days ago, Microsoft has released a new Version of the Microsoft.Graph PowerShell Module.
Find-Module Microsoft.Graph
Install-Module Microsoft.Graph
If you have already installed a Version of Microsoft.Graph i recommend to use my CleanupGraphModules.ps1 from my GitHub Repo
https://github.com/BohrenAn/GitHub_PowerShellScripts/blob/main/ExchangeOnline/GraphAPI/CleanupGraphModules.ps1
Microsoft.Graph 1.9.6
https://www.powershellgallery.com/packages/Microsoft.Graph/1.9.6
Release Notes
https://github.com/microsoftgraph/msgraph-sdk-powershell/releases
Regards
Andres Bohren
Hi All,
Finally Microsoft Lists is also available for Android.
Microsoft Lists - Google Play Store
https://play.google.com/store/apps/details?id=com.microsoft.lists.public
Â
Â
Regards
Andres Bohren
Hi All,
Yesterday Microsoft released Microsoft Teams PowerShell Module 4.3.0 GA in PowerShell Gallery.
Seems to be mostly fixes.
MicrosoftTeams 4.3.0
https://www.powershellgallery.com/packages/MicrosoftTeams/4.3.0
Find-Module MicrosoftTeams
Install-Module MicrosoftTeams -Force
Check if the newest Module has been imported
Import-Module
Get-Module
Testing
Connect-MicrosoftTeams
Get-Team
Get-CsOnlineUser -Identity a.bohren@icewolf.ch | fl *Ent*,*host*,*voice*, *line*
Regards
Andres Bohren
Hi All,
Did you know that you can install Putty from the Microsoft Store?
But watch out for some "fakes" or other 3rd Partys that try to use well known Programs or App Names.
Regards
Andres Bohren