Hi All, Yesterday the new Version of the AZ PowerShell Module 9.4.0 has been released to PowerShell Gallery.
Az 9.4.0
https://www.powershellgallery.com/packages/AZ/9.4.0
Azure PowerShell release notes
https://learn.microsoft.com/en-us/powershell/azure/release-notes-azureps?view=azps-9.4.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
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 $Devices | where {$_.
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
https://techcommunity.microsoft.com/t5/microsoft-365-defender-blog/centrally-manage-permissions-with-the-microsoft-365-defender/bc-p/3717432 Microsoft 365 Defender role-based access control (RBAC)
https://learn.microsoft.com/en-us/microsoft-365/security/defender/manage-rbac?view=o365-worldwide
Let's have a look.
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 https://github.com/microsoft/PowerToys/releases
Regards 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
https://learn.microsoft.com/en-us/graph/api/conditionalaccessroot-list-policies?view=graph-rest-1.0&tabs=http So tried to use the Microsoft Graph Explorer https://aka.ms/ge 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.
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
https://www.powershellgallery.com/packages/MicrosoftTeams/4.9.3
Microsoft Teams PowerShell Release Notes
https://learn.microsoft.com/en-us/MicrosoftTeams/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
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
https://github.com/PowerShell/PowerShell/releases/tag/v7.3.2
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 Regards Andres Bohren
Hi All, Just a few Hours ago, Microsoft has released Microsoft.Graph PowerShell Module 1.21.0. Microsoft.Graph 1.21.0
https://www.powershellgallery.com/packages/Microsoft.Graph/1.21.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.
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
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