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)

Microsoft.Graph PowerShell Module 1.21.0 released

Andres Bohren
Hi All, Just a few Hours ago, Microsoft has released Microsoft.Graph PowerShell Module 1.21.0. Microsoft.Graph 1.21.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.

Exchange Online PowerShell V1 Module depreciation

Andres Bohren
Hi All, If you still use “Exchange Online PowerShell with MFA” aka “ExchangeOnline_V1” PowerShell Module - it is time to Upgrade. Instead of using the ExchangeOnlineManagement V2 i recommend to use the V3 Module wich is GA since a few Months. ExchangeOnlineManagement 3.1.0 The old PowerShell Module still can be downloaded in the “Classic Exchange Admin Center” That’s the Link on the Desktop Here’s the Info Message you receive when using this PowerShell

MSIdentityTools PowerShell Module v2.0.37 released

Andres Bohren
Hi All, Just a few days after its last release, Microsoft has released another Version of the MSIdentityTools PowerShell Module to the Powershell Gallery. MSIdentityTools 2.0.37 Check what Version of the Module is installed and what’s available in the PowerShell Gallery Get-InstalledModule MSIdentityTools Find-Module MSIdentityTools Uninstall the old version of the PowerShell Module and install the newest one Uninstall-Module MSIdentityTools Install-Module MSIdentityTools Get-InstalledModule MSIdentityTools To see what commands are available use the following command

PowerShell Module Microsoft.Online.SharePoint.PowerShell 16.0.23311.12000 released

Andres Bohren
Hi All, A few hours ago, Microsoft has released the Microsoft.Online.SharePoint.PowerShell 16.0.22615.12000 PowerShell Module Microsoft.Online.SharePoint.PowerShell 16.0.23311.12000 Check the installed Version and what is available from the PowerShell Gallery Get-InstalledModule Microsoft.Online.SharePoint.PowerShell Find-Module Microsoft.Online.SharePoint.PowerShell Uninstall the old Version and install the new Version of the Module Uninstall-Module Microsoft.Online.SharePoint.PowerShell Install-Module Microsoft.Online.SharePoint.PowerShell Get-InstalledModule Microsoft.Online.SharePoint.PowerShell List the Commands of the Module Get-Command -Module Microsoft.Online.SharePoint.PowerShell Connect to Sharepoint Online Connect-SPOService -Url https://icewolfch-admin.sharepoint.com Get some Settings Get-SPOTenant | fl Regards

Analyze AzureAD SignIn Logs with PowerShell

Andres Bohren
Hi All, I recently had a case where i needed to access the AzureAD Signin Logs with PowerShell. I’ve started at the Azure AD Signin Logs and filtered by UPN Next step was Graph Explorer where i found the needed Permissions ############################################################################### # Graph Explorer ############################################################################### #Go to [https://aka.ms/ge](https://aka.ms/ge) https://graph.microsoft.com/v1.0/auditLogs/signIns https://graph.microsoft.com/v1.0/auditLogs/signIns?&$filter=startsWith(userPrincipalName,'a.bohren@icewolf.ch') Let’s connect with these Permissions (they need Admin Consent and i already have that) #Import-Module and Connect to Microsoft Graph Import-Module Microsoft.

Exchange Online: Use Test-Message to verify your Transport- and DLP Rules

Andres Bohren
Hi All, In the Microsoft 365 Message Center there is an Announcement about Test-Message where you can test the Transport Rules and DLPRules. FIX: Exchange Transport rule (ETR) or Data Loss Prevention (DLP) rule is not working as expected Test-Message https://learn.microsoft.com/en-us/powershell/module/exchange/test-message?view=exchange-ps Test-Message -Sender m.muster@icewolf.ch -Recipients postmaster@icewolf.ch -SendReportTo a.bohren@icewolf.ch -TransportRules -UnifiedDLPRules Let’s have a look at my Transport Rules Get-TransportRule Now i get two Reports: “Transport Rule Tracing Report” and a “DLP Rules Tracing Report”