Tuesday, May 24, 2022
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 -match "Microsoft.Graph"}
Uninstall the Modules
$AutomationModules = Get-AzAutomationModule -AutomationAccountName icewolfautomation -ResourceGroup RG_DEV
$GraphModules = $AutomationModules | where {$_.Name -match "Microsoft.Graph"}
Foreach ($GraphModule in $GraphModules)
{
$ModuleName = $GraphModule.Name
Write-Host "Uninstalling $ModuleName"
Remove-AzAutomationModule -AutomationAccountName icewolfautomation -ResourceGroup RG_DEV -Name $ModuleName -Confirm:$False -Force
}
Now the Microsoft.Graph Modules for PowerShell 5.1 are removed
Install the New Modules. I've still got the List in Memory, so i can install the Same modules but with a newer Verson.
$moduleVersion = "1.9.6"
Foreach ($GraphModule in $GraphModules)
{
$ModuleName = $GraphModule.Name
Write-Host "Installing $ModuleName"
New-AzAutomationModule -AutomationAccountName icewolfautomation -ResourceGroup RG_DEV -Name $moduleName -ContentLinkUri "https://www.powershellgallery.com/api/v2/package/$moduleName/$moduleVersion"
}
After a while, you can see in the Portal that the Modules are beeing installed
But Modules other than Microsoft.Graph.Authentication fail, because they are dependent on that Module and it is not installed at that point in time
I'll run the same Script again. Now it shows "Importing never Version" (it's the same version as already installed - but hey)
$moduleVersion = "1.9.6"
Foreach ($GraphModule in $GraphModules)
{
$ModuleName = $GraphModule.Name
Write-Host "Installing $ModuleName"
New-AzAutomationModule -AutomationAccountName icewolfautomation -ResourceGroup RG_DEV -Name $moduleName -ContentLinkUri "https://www.powershellgallery.com/api/v2/package/$moduleName/$moduleVersion"
}
Now it did work
Regards
Andres Bohren
Saturday, May 21, 2022
Hi All,
A few Days ago, Microsoft has released PowerShell 7.2.4.
Changelog
v7.2.4 Release of PowerShell
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
Wednesday, May 18, 2022
Hi All,
A few Days agi, Citrix has released th Citrix Workspace App for Windows 2205.
Citrix Workspace app 2205 for Windows
What’s new in 2205
Regards
Andres Bohren
Tuesday, May 17, 2022
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
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 Powered Experiences) which depend on Edge WebView2 and renders diffrent Parts of OWA in a new Window.
Project Monarch “One Outlook” Build Leaks
Regards
Andres Bohren
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
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
Wednesday, May 11, 2022
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
Security Update For Exchange Server 2016 CU23 (KB5014261)
Microsoft Exchange Server Elevation of Privilege Vulnerability
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
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
Monday, May 9, 2022
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
Microsoft.Graph 1.9.6
Release Notes
Regards
Andres Bohren
Friday, May 6, 2022
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