Hi All,
Yesterday, Microsoft has released a new Version of theyr MSIdentityTools PowerShell Module.
MSIdentityTools 2.0.17
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
List Commands of the Module
Get-Command -Module MSIdentityTools
Let's try out the following Command "Get-MsIdServicePrincipalIdByAppId"
Connect-MgGraph -Scopes Application.Read.All, Application.ReadWrite.All, Directory.Read.All, Directory.ReadWrite.All
Get-MsIdServicePrincipalIdByAppId -AppId 3bf0cf36-87bf-47a9-927b-0ef9df7cf146
The same command works in PowerShell 7
Connect-MgGraph -Scopes Application.Read.All, Application.ReadWrite.All, Directory.Read.All, Directory.ReadWrite.All
Get-MsIdServicePrincipalIdByAppId -AppId 3bf0cf36-87bf-47a9-927b-0ef9df7cf146
Had the same also with "Resolve-MsIdTenant". It worked only in PowerShell 7. Seems to be a good idea to test the Commands in PowerShell 7 if they don't work in PowerShell 5.
Regards
Andres Bohren
Hi All,
Yesterday Microsoft hast release the MicrosoftTeams PowerShell Module 4.6.0 as GA (Generally Available) in the PowerShell Gallery.
MicrosoftTeams 4.6.0
Release Notes
Find the PowerShell Module in the PowerShell Gallery and install it
Find-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