blog.icewolf.ch

Let's talk about IT!
posts - 2053, comments - 295, trackbacks - 0

My Links

Archives

Post Categories

icewolf

Tuesday, May 24, 2022

Update Modules on Azure Automation with AZ PowerShell

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


posted @ Tuesday, May 24, 2022 9:11 AM | Filed Under [ PowerShell Azure ]

Saturday, May 21, 2022

Powershell v7.2.4 released

Hi All,

A few Days ago, Microsoft has released PowerShell 7.2.4.

Changelog

v7.2.4 Release of PowerShell











Regards
Andres Bohren


posted @ Saturday, May 21, 2022 6:59 AM | Filed Under [ PowerShell ]

OnePlus 9 Android security patch 2022.04

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


posted @ Saturday, May 21, 2022 6:31 AM | Filed Under [ UM/Mobile ]

Wednesday, May 18, 2022

Citrix Workspace App for Windows 2205

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


posted @ Wednesday, May 18, 2022 8:06 AM | Filed Under [ Citrix ]

Tuesday, May 17, 2022

Jabra Direct Update (Mai 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


posted @ Tuesday, May 17, 2022 6:49 PM | Filed Under [ UM/Mobile ]

One Outlook has been leaked

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


posted @ Tuesday, May 17, 2022 1:08 PM | Filed Under [ Exchange ]

MicrosoftTeams PowerShell Module 4.3.1-preview released

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


posted @ Tuesday, May 17, 2022 7:52 AM | Filed Under [ MicrosoftTeams ]

Wednesday, May 11, 2022

Exchange Server 2013/2016/2019 Security Updates May 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


posted @ Wednesday, May 11, 2022 8:38 AM | Filed Under [ Exchange ]

Monday, May 9, 2022

Microsoft.Graph PowerShell Modules 1.9.6 released

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


posted @ Monday, May 9, 2022 12:45 PM | Filed Under [ PowerShell ]

Friday, May 6, 2022

Microsoft Lists available for Android

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

posted @ Friday, May 6, 2022 10:08 AM | Filed Under [ UM/Mobile Microsoft365 ]

Powered by:
Powered By Subtext Powered By ASP.NET