PowerShell

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 https://www.powershellgallery.com/packages/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 https://www.powershellgallery.com/packages/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 Get-Command -Module MSIdentityTools Get Exchange Online Endpoints

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 https://www.powershellgallery.com/packages/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

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 https://aad.portal.azure.com/#view/Microsoft_AAD_IAM/ActiveDirectoryMenuBlade/~/SignIns Next step was Graph Explorer where i found the needed Permissions ############################################################################### # Graph Explorer ############################################################################### #Go to 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

MSIdentityTools PowerShell Module v2.0.36 released

Andres Bohren
Hi All, Microsoft has released another Version of theyr MSIdentityTools PowerShell Module to the Powershell Gallery. MSIdentityTools 2.0.36 https://www.powershellgallery.com/packages/MSIdentityTools/2.0.36 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 Get-Command -Module MSIdentityTools To get the Signin URL you can use the following Command

Azure PowerShell Module Az 9.3.0 released

Andres Bohren
Hi All, Somehow i missed, that the AZ PowerShell Module 9.3.0 has already been released a Week ago. Az 9.3.0 https://www.powershellgallery.com/packages/AZ/9.3.0 Azure PowerShell release notes https://learn.microsoft.com/en-us/powershell/azure/release-notes-azureps?view=azps-9.3.0 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

Microsoft.Graph PowerShell Module 1.20.0 released

Andres Bohren
Hi All, Just a few Days ago, Microsoft has released Microsoft.Graph PowerShell Module 1.20.0. Microsoft.Graph 1.20.0 https://www.powershellgallery.com/packages/Microsoft.Graph/1.20.0 Release Notes https://github.com/microsoftgraph/msgraph-sdk-powershell/releases 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.

MSIdentityTools PowerShell Module v2.0.33 released

Andres Bohren
Hi All, Microsoft has released another Version of theyr MSIdentityTools PowerShell Module to the Powershell Gallery. MSIdentityTools 2.0.33 https://www.powershellgallery.com/packages/MSIdentityTools/2.0.33 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 Get-Command -Module MSIdentityTools Regards Andres Bohren

ExchangeOnlineManagement 3.1.0 released as GA

Andres Bohren
Hi All, Just a few hours ago, Microsoft has released the ExchangeOnlineManagement PowerShell Module 3.1.0 as GA. ExchangeOnlineManagement 3.1.0 https://www.powershellgallery.com/packages/ExchangeOnlineManagement/3.1.0 What is new in this release: v3.1.0 : 1. Support for providing an Access Token with Connect-ExchangeOnline. 2. Bug fixes in Connect-ExchangeOnline and Get-ConnectionInformation. 3. Bug fix in Connect-IPPSSession for connecting to Security and Compliance PowerShell using Certificate Thumbprint. Check what Version is installed and what's available from the PowerShell Gallery

DNS Certification Authority Authorization (CAA)

Andres Bohren
Hi All, Do you know the Certification Authority Authorization (CAA) DNS Records? With these Records you can control what CA can issue Certificates for your domain. DNS Certification Authority Authorization https://en.wikipedia.org/wiki/DNS_Certification_Authority_Authorization CAA implementation mandatory for all certificate authorities by September 2017. RFC 8659 DNS Certification Authority Authorization (CAA) Resource Record https://www.rfc-editor.org/rfc/rfc8659 That Record means no CA is allowed to issue Certificates and Wildcard Certifcates for that Domain domain.tld. IN CAA 0 issue "