Giter VIP home page Giter VIP logo

Comments (6)

ThoughtContagion avatar ThoughtContagion commented on August 29, 2024

If you run Get-Module -ListAvailable do you see those modules listed as installed in PS 7?

from 365inspect.

clifpi avatar clifpi commented on August 29, 2024

It looks like they are all loading except Microsoft Teams
et-Module -ListAvailable -Name MicrosoftTeams

Directory: C:\Users\Documents\PowerShell\Modules

ModuleType Version PreRelease Name PSEdition ExportedCommands


Script 4.4.1 MicrosoftTeams Core,Desk {Add-TeamChannelUser, Add-TeamUser, Con…

PS C:\temp\365Inspect> Update-Module MicrosoftTeams
Write-Error: Module 'MicrosoftTeams' was not updated because no valid module was found in the module directory. Verify that the module is located in the folder specified by $env:PSModulePath.

from 365inspect.

clifpi avatar clifpi commented on August 29, 2024

he module may be installed by running "Install-Module -Name MicrosoftTeams -AllowPrerelease -AllowClobber -Force -MinimumVersion System.Collections.Hashtable" in an elevated PowerShell window.
Would you like to attempt installation now? (Y|N): Y
Install-Module: Cannot process argument transformation on parameter 'MinimumVersion'. Cannot create object of type "System.Version". The MinimumVersion property was not found for the System.Version object. The available property is: [Major <System.Int32>] , [Minor <System.Int32>] , [Build <System.Int32>] , [Revision <System.Int32>] , [MajorRevision <System.Int16>] , [MinorRevision <System.Int16>]
Connecting to Microsoft Graph
Welcome To Microsoft Graph!
Get-MgOrganization_List: C:\365Inspect.ps1:71
Line |
71 | $global:orgInfo = ((Get-MgOrganization).VerifiedDomains | …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Method not found: 'System.Net.Http.HttpClient
| Microsoft.Graph.PowerShell.Authentication.Helpers.HttpHelpers.GetGraphHttpClient(System.Management.Automation.InvocationInfo, Microsoft.Graph.PowerShell.Authentication.IAuthContext)'.
Connecting to Microsoft Graph Failed.
Write-Error: C:\365Inspect.ps1:292
Line |
292 | Connect-Services
| ~~~~~~~~~~~~~~~~
| Cannot index into a null array.
PS C:\365Inspect-main>

from 365inspect.

clifpi avatar clifpi commented on August 29, 2024

Teams is listed in the module, the script doesn't see it
Script 4.4.1 MicrosoftTeams Core,Desk {Add-TeamChannelUser, Add-TeamUser, Con…

from 365inspect.

ThoughtContagion avatar ThoughtContagion commented on August 29, 2024

We are unable to replicate this issue.
Could you run the following commands and paste the results so we may configure a test environment to see if we can reproduce your experience?
(Get-ComputerInfo).OsName
$PSVersionTable
$modules = ("ExchangeOnlineManagement","Microsoft.Graph","Microsoft.Online.SharePoint.PowerShell","MicrosoftTeams")
Foreach ($module in $modules){ Get-InstalledModule -Name $module | Select Name, Version }

from 365inspect.

ThoughtContagion avatar ThoughtContagion commented on August 29, 2024

Closing as inactive.
Feel free to re-open if you continue to experience this issue and can provide additional information.

from 365inspect.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.