202302s

Microsoft.Graph PowerShell Module 1.22.0 released

Andres Bohren
Hi All, Just a few Hours ago, Microsoft has released Microsoft.Graph PowerShell Module 1.22.0. Microsoft.Graph 1.22.0 Release Notes Let’s check the installed Version and what’s available on the PowerShell Gallery Get-InstalledModule Microsoft.Graph Find-Module Microsoft.Graph To install the newest Version of the PowerShell Modules and also uninstalling the old Versions, you can use my GitHub Script. It takes a while until all Modules are installed. Wait until “Cleanup finished” is shown.

February 2023 Exchange Server Security Updates

Andres Bohren
Hi All, Last Night the February 2023 Exchange Server Security Updates have been released. Released: February 2023 Exchange Server Security Updates Description of the security update for Microsoft Exchange Server 2019, 2016, and 2013: February 14, 2023 (KB5023038) Security Update For Exchange Server 2016 CU23 SU6 (KB5023038) The downloaded exe File extracts then starts the Installation in a elevated Promt After the Security Update is installed, it is a good idea to restart the Server.

Directory Synchronization Features via Graph API

Andres Bohren
Hi All, Today i had an interesting case with AzureAD Connect Synchronization from Active Directory to Azure Active Directory. The Customer is in the middle of a reorganization and was changing the Domain. I’ve added the new UPN to the UPN Suffixes in Azure AD (domain.msc > Properties) We addet the new Domain to the M365 Tenant Then i’ve changed the UPN Suffix of a Testuser. But the UPN did not change in AzureAD after the AAD Connect Sync Cycle.

Azure PowerShell Module Az 9.4.0 released

Andres Bohren
Hi All, Yesterday the new Version of the AZ PowerShell Module 9.4.0 has been released to PowerShell Gallery. AZ 9.4.0 Azure PowerShell Release notes Show Installed AZ Module and what’s available in the PowerShell Gallery Get-InstalledModule AZ Find-Module AZ To uninstall all the old Modules and install the new Modules i have written a PowerShell Script that is published at my GitHub Repo. #Run Script directly from GitHub $ScriptFromGitHub = Invoke-WebRequest "https://raw.

Delete Stale Devices in AzureAD with Microsoft.Graph PowerShell

Andres Bohren
Hi All, While checking the Devices in my M365 Tenant i was stumbled over the Stale Devices. The List shows Devices that have an acivity more than 6 Months ago Let’s check if we can get that Information with Microsoft.Graph PowerShell Connect-MgGraph -Scopes Directory.ReadWrite.All, Directory.AccessAsUser.All Get-MgDevice Now we need to get the Devices that are older than six Months $Devices = Get-MgDevice $Devices | where {$_.ApproximateLastSignInDateTime -lt (Get-Date).AddMonths(-6)} We can format that a little better

New Microsoft 365 Defender RBAC (Preview)

Andres Bohren
Hi All, I’ve stumbled accross the new Microsoft 365 Defender Role-based access control (RBAC). It is still in Preview but i gave it a go.For now you can create the RBAC Roles only in the M365 Defender Portal. But Graph Integration is at least on the Roadmap. Centrally manage permissions with the Microsoft 365 Defender role-based access control (RBAC) model Microsoft 365 Defender role-based access control (RBAC) Let’s have a look.

PowerToys v0.67.0 released

Andres Bohren
Hi All, Just a few days ago Microsoft has released PowerToys v0.67.0. As always, there are a plenty of news. PowerToysRelease v0.67.0 Regards Andres Bohren

Document AzureAD Conditional Access Policies

Andres Bohren
Hi All, I had the “pleasure” again this week to Document the Azure AD Policies. Making several Screenshots in the Azure AD Portal seemed not the best way. MSGraph: List Conditional Access policies So tried to use the Microsoft Graph Explorer You need the Permission: Policy.Read.All https://graph.microsoft.com/v1.0/identity/conditionalAccess/policies While using the JSON could be one way. It’s not very good if you have to Document it in a Word Document right.

MicrosoftTeams PowerShell Module 4.9.3 released as GA

Andres Bohren
Hi All, Just a few Hours ago, Microsoft has released the MicrosoftTeams PowerShell Module 4.9.3 to the PowerShell Gallery. MicrosoftTeams 4.9.3 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 Uninstall-Module MicrosoftTeams Install-Module MicrosoftTeams I’ve already blogged how to set up Azure AD App and Certificate Authentication for Microsoft Teams

PowerShell 7.3.2 released

Andres Bohren
Hi All, When i started the PowerShell 7 yesterday, it told me that there is a new Version v7.3.2 available. v7.3.2 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. Get-Host ![](https://icewolffile.blob.core.windows.net/$web/202302/PowerShell_7.3.2_09.jpg) Regards\ Andres Bohren ![](https://icewolffile.blob.core.windows.net/$web/logos/powershell_logo.png)