POWERSHELL

Office 365 Management Activity API

Office 365 Management Activity API

Andres Bohren
Hi All, In my previous Article Query M365 Audit Log i have compared Search-UnifiedAuditLog with the Preview Microsoft.Graph API. I did not cover the Management Activity API - i will cover that now in this Article. More Information: Office 365 Management Activity API reference Microsoft 365 Compliance audit log activities via O365 Management API - Part 1 Microsoft 365 Compliance audit log activities via O365 Management API - Part 2 Entra App I’ve created an Entra Application.
Use Azure Storage Queue with PowerShell

Use Azure Storage Queue with PowerShell

Andres Bohren
Hi All, Last year i’ve created the Swiss Domain Security Report Q4 2023 where i ran a PowerShell 7 Script with up to 15 paralell Processes to analize the 2.5 Mio .ch Domains on a Virtual Machine on my Homelab. For this Year i am thinking about crating a more Cloud native approach with an Azure Function with a Queue storage trigger Storage Queue For that i needed to create an Azure Storage Queue
Query M365 Audit Log

Query M365 Audit Log

Andres Bohren
Hi All, Recently i was playing around with some M365 Audit Log Querys. There are many ways how you can query the M365 Audit Log: The Audit Log search Microsoft Purview compliance portal Search-UnifiedAuditLog Management Activity API Preview Microsoft.Graph API Note: Update on the Deprecation of Admin Audit Log Cmdlets The Admin Audit Log cmdlets will be deprecated on September 15, 2024. The Mailbox Audit Log cmdlets will have a separate deprecation date, which will be announced early next year.
MSIdentityTools PowerShell Module 2.0.66 released

MSIdentityTools PowerShell Module 2.0.66 released

Andres Bohren
Hi All, Just a few Hours ago, Microsoft has released a new Version of MSIdentityTools PowerShell Module PowerShell Gallery MSIdentityTools 2.0.66 Some insights via GitHub CommitLog - as you can see there is also a Pull Request from me that has been accepted I’ve used my M365PSProfile Module to update the Module - find the Documentation here: https://github.com/fabrisodotps1/M365PSProfile/ Install-PSResource -Name M365PSProfile Add-M365PSProfile Install-M365Module List the commands from the Module Get-Command -Module MSIdentityTools List users where the last sign-in was more than 30 days
ExchangeOnlineManagement 3.5.1 released

ExchangeOnlineManagement 3.5.1 released

Andres Bohren
Hi All, Yesterday, Microsoft has released the ExchangeOnlineManagement 3.5.0 PowerShell Module. PowerShell Gallery ExchangeOnlineManagement 3.5.1 v3.5.1 : Bug fixes in Get-EXOMailboxPermission and Get-EXOMailbox. The module has been upgraded to run on .NET 8, replacing the previous version based on .NET 6. Enhancements in Add-VivaModuleFeaturePolicy. I am using the new PSResourceGet here instead of the PowerShellGet commands. Show installed Versions and what’s available in PowerShell Gallery Get-InstalledPSResource ExchangeOnlineManagement -Scope CurrentUser Find-PSResource ExchangeOnlineManagement -Prerelease Uninstall old Module and install the new Module
Azure PowerShell Module AZ 12.1.0 released

Azure PowerShell Module AZ 12.1.0 released

Andres Bohren
Hi All, A few Hours ago, a new major Version of the AZ (Azure) PowerShell Module has been released to PowerShell Gallery. PowerShell Gallery Az 12.1.0 The Release Notes contains a lot of updates I am using the new PSResourceGet here instead of the PowerShellGet commands. Show installed Versions and what’s available in PowerShell Gallery Get-InstalledPSResource AZ -Scope CurrentUser Find-PSResource AZ Uninstall the old Modules and install the current Modules
PowerShell Module Microsoft.Online.SharePoint.PowerShell 16.0.25012.12000 released

PowerShell Module Microsoft.Online.SharePoint.PowerShell 16.0.25012.12000 released

Andres Bohren
Hi All, A few hours ago, Microsoft has released the Microsoft.Online.SharePoint.PowerShell 16.0.25012.12000 PowerShell Module. PowerShell Gallery Microsoft.Online.SharePoint.PowerShell I am using the new PSResourceGet here instead of the PowerShellGet commands. Show installed Versions and what’s available in PowerShell Gallery Get-InstalledPSResource Microsoft.Online.SharePoint.PowerShell -Scope CurrentUser Find-PSResource Microsoft.Online.SharePoint.PowerShell Uninstall the old Version and install the new Version of the Module Uninstall-PSResource Microsoft.Online.SharePoint.PowerShell -Scope CurrentUser Install-PSResource Microsoft.Online.SharePoint.PowerShell -Scope CurrentUser Get-InstalledPSResource Microsoft.Online.SharePoint.PowerShell -Scope CurrentUser List the Commands of the Module
Microsoft.Graph PowerShell Modules 2.20.0 released

Microsoft.Graph PowerShell Modules 2.20.0 released

Andres Bohren
Hi All, A few Hors ago, Microsoft has released the Version 2.20.0 of Microsoft.Graph and Microsoft.Graph.Beta Modules. PowerShell Gallery Microsoft.Graph 2.20.0 PowerShell Gallery Microsoft.Graph.Beta 2.20.0 Release Notes [v2] Weekly OpenApiDocs Refresh Metadata changes detection Bump Azure.Identity from 1.11.0 to 1.11.4 in /src/Authentication/Authentication.Core Fix Metadata breaking change detection workflow Fix bug when populating command alias value in command metadata JSON updates code of conduct to the latest standard update author feedback label Update language and project on issues and PRs Remove outdated auto-add-project workflow file chore!
Microsoft.Graph.Entra PowerShell Module in Preview

Microsoft.Graph.Entra PowerShell Module in Preview

Andres Bohren
Hi All, Recently there has been released the Microsoft.Graph.Entra PowerShell Module in Preview Introducing the Microsoft Entra PowerShell module Microsoft.Graph.Entra Release Notes I am using the new PSResourceGet here instead of the PowerShellGet commands. Check the Version from the PowerShell Gallery and install the Module Find-PSResource Microsoft.Graph.Entra -Prerelease Install-PSResource Microsoft.Graph.Entra -Prerelease -Scope CurrentUser Get-InstalledPSResource Microsoft.Graph.Entra -Scope CurrentUser List the Commands of the Module Get-Command -Module Microsoft.Graph.Entra It’s not yet Part of the Microsoft.
PnP.PowerShell 2.5 released

PnP.PowerShell 2.5 released

Andres Bohren
Hi All, Yesterday a new Version of PnP.PowerShell has been released to the PowerShell Gallery. PnP.PowerShell 2.5.0 What’s changed and fixed Release Notes I am using the new PSResourceGet here instead of the PowerShellGet commands. To check what version is installed and what’s available from the PowerShell Gallery use the following Commands Get-InstalledPSResource PnP.PowerShell -Scope CurrentUser Find-PSResource PnP.PowerShell Uninstall the old version of the PowerShell Module and install the new one