PowerShell

Microsoft.Graph PowerShell Module 1.12.2 released

Andres Bohren
Hi All, A few hours ago, Microsoft has released a new Version of the Microsoft.Graph PowerShell Module. Apparently it covers the latest API version and some minor fixes. Microsoft.Graph 1.12.2 https://www.powershellgallery.com/packages/Microsoft.Graph/1.12.2 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.

PowerShell Module Microsoft.Online.SharePoint.PowerShell 16.0.22921.12000 released

Andres Bohren
Hi All, A few hours ago, Microsoft has released a new Version of the SharePoint Online PowerShell Module. Microsoft.Online.SharePoint.PowerShell 16.0.22921.12000 https://www.powershellgallery.com/packages/Microsoft.Online.SharePoint.PowerShell/16.0.22921.12000 Check what Module Version is installed and what's available from the PowerShell Gallery Get-InstalledModule Microsoft.Online.SharePoint.PowerShell Find-Module Microsoft.Online.SharePoint.PowerShell Uninstall the old Module and install the new Version Uninstall-Module Microsoft.Online.SharePoint.PowerShell Install-Module Microsoft.Online.SharePoint.PowerShell Get-InstalledModule Microsoft.Online.SharePoint.PowerShell Regards Andres Bohren

MSIdentityTools PowerShell Module 2.0.21 released

Andres Bohren
Hi All, Microsoft has released another Version of theyr MSIdentityTools PowerShell Module to the Powershell Gallery. MSIdentityTools 2.0.21 https://www.powershellgallery.com/packages/MSIdentityTools/2.0.21 Uninstall the old version of the PowerShell Module and install the newest one Get-InstalledModule MSIdentityTools Find-Module MSIdentityTools Uninstall-Module MSIdentityTools Install-Module MSIdentityTools To see what commands are available use the following command Get-Command -Module MSIdentityTools It's best to use PowerShell 7 with that Module Get-MsIdAuthorityUri Regards Andres Bohren

Microsoft.Graph PowerShell Module 1.12.0 released

Andres Bohren
Hi All, Microsoft.Graph 1.12.0 https://www.powershellgallery.com/packages/Microsoft.Graph/1.12.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 #Run Script directly from GitHub $ScriptFromGitHub = Invoke-WebRequest "https://raw.githubusercontent.com/BohrenAn/GitHub_PowerShellScripts/main/ExchangeOnline/GraphAPI/Cleanup-GraphModules.ps1" Invoke-Expression $($ScriptFromGitHub.Content) It takes a while until all Modules are installed. Wait until "Cleanup finished" is shown

MSIdentityTools PowerShell Module v2.0.20 released

Andres Bohren
Hi All, Microsoft has released the Version 2.0.20 of the MSIdentityTools PowerShell Module. MSIdentityTools 2.0.20 https://www.powershellgallery.com/packages/MSIdentityTools/2.0.20 Check installed PowerShell Module Version and what is available in the PowerShell Gallery (Needs to run "As Administrator") Get-InstalledModule MSIdentityTools Find-Module MSIdentityTools Uninstall the old PowerShell Module and install the new one Uninstall-Module MSIdentityTools Install-Module MSIdentityTools I would recommend to use PowerShell 7 with this Module Get-Command -Module MSIdentityTools Let's use this command. Gives you the same Result as in my Blog where i explained how it's calculated

ExchangeOnlineManagement 2.0.6-Preview8 is available

Andres Bohren
Hi All, Microsoft has released a new Preview of theyr ExchangeOnlineManagemen PowerShell Module ExchangeOnlineManagement 2.0.6-Preview8 https://www.powershellgallery.com/packages/ExchangeOnlineManagement/2.0.6-Preview8 v2.0.6-Preview8 : 1. Support for system-assigned and user-assigned Managed Identity from Azure Functions. - The -ManagedIdentity switch parameter, and the -Organization parameters need to be provided to indicate that a managed identity should be used. This will by default attempt to use a system-assigned managed identity. - For specifying a user-assigned managed identity, in addition to the parameters specified above, the AppID of the service principal corresponding to the user-assigned identity needs to be passed to the -ManagedIdentityAccountId.

Azure PowerShell Module Az 8.3.0 released

Andres Bohren
Hi All, Yesterday Microsoft has released the Version 8.3.0 from the AZ PowerShell Module Az 8.3.0 https://www.powershellgallery.com/packages/AZ/8.3.0 Check your current installed Module and what is available on PowerShell Gallery Get-InstalledModule AZ Find-Module AZ I've published a Script in my GitHub Repo to uninstall the old Modules and install the new Modules https://github.com/BohrenAn/GitHub_PowerShellScripts/blob/main/AzureAD/Microsoft.Graph_HowToStart.ps1 Or you can run the Script below to directly execute that Script #Run Script directly from GitHub $ScriptFromGitHub = Invoke-WebRequest "

MSIdentityTools PowerShell Module v2.0.19 released

Andres Bohren
Hi All, Microsoft has released the Version 2.0.19 of the MSIdentityTools PowerShell Module. MSIdentityTools 2.0.19 https://www.powershellgallery.com/packages/MSIdentityTools/2.0.19 Check installed PowerShell Module Version and what is available in the PowerShell Gallery (Needs to run "As Administrator") Get-InstalledModule MSIdentityTools Find-Module MSIdentityTools Uninstall the old PowerShell Module and install the new one Uninstall-Module MSIdentityTools Install-Module MSIdentityTools Get-InstalledModule MSIdentityTools I would recommend to use PowerShell 7 with this Module Connect-MgGraph -Scopes Application.Read.All Get-MsIdApplicationIdByAppId -AppId b1fe3302-d057-4fe3-84ac-c507ecdb6d0d

MicrosoftTeams PowerShell Module 4.7.0 released as GA

Andres Bohren
Hi All, A few hours ago, Microsoft has released the MicrosoftTeams PowerShell Module 4.7.0 as GA (Generally Available) in the PowerShell Gallery. MicrosoftTeams 4.7.0 https://www.powershellgallery.com/packages/MicrosoftTeams/4.7.0 Release Notes https://docs.microsoft.com/en-us/MicrosoftTeams/teams-powershell-release-notes Find the PowerShell Module in the PowerShell Gallery and install it Find-Module MicrosoftTeams Install-Module MicrosoftTeams Get-InstalledModule MicrosoftTeams Uninstall the old Module and install the new Module Uninstall-Module MicrosoftTeams Install-Module MicrosoftTeams Get-InstalledModule MicrosoftTeams Testing Connect-MicrosoftTeams Get-Team Get-CsOnlineUser -Identity a.bohren@icewolf.ch | fl *Ent*,*host*,*voice*, *line* Regards Andres Bohren

PowerShell Module Microsoft.Online.SharePoint.PowerShell 16.0.22810.12000 released

Andres Bohren
Hi All, A few hours ago, Microsoft has released a new version of the Microsoft.Online.SharePoint.PowerShell Module. Microsoft.Online.SharePoint.PowerShell 16.0.22810.12000 https://www.powershellgallery.com/packages/Microsoft.Online.SharePoint.PowerShell/16.0.22810.12000 Check the installed Version and what is available on PowerShell Gallery Get-InstalledModule Microsoft.Online.SharePoint.PowerShell Find-Module Microsoft.Online.SharePoint.PowerShell Uninstall the old PowerShell Module and install the new one Uninstall-Module Microsoft.Online.SharePoint.PowerShell Install-Module Microsoft.Online.SharePoint.PowerShell Get-InstalledModule Microsoft.Online.SharePoint.PowerShell Connect to Sharepoint Online Connect-SPOService -Url https://icewolfch-admin.sharepoint.com List the SharePoint Online tenant settings Get-SPOTenant | fl Regards Andres Bohren