Teams Code connect #4402
Labels
Area-Extension Terminal
Issue-Bug
A bug to squash.
Needs: Author Feedback
Please give us the requested feedback!
Prerequisites
Summary
microsoft/vscode#173211
Looks to me it doesn't like the path as when i change path the issue is not there.
PS C:\Users\ivanja\OneDrive - Microsoft\Desktop\SFBTEAMSScripts> Connect-MicrosoftTeams
RuntimeException: Unable to find type [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IGetGroupsResponse].
at System.Management.Automation.TypeOps.ResolveTypeName(ITypeName typeName, IScriptExtent errorPos)
at System.Management.Automation.Language.Compiler.NewOutputTypeAttribute(AttributeAst ast)
at System.Management.Automation.Language.Compiler.GetAttribute(AttributeAst attributeAst)
at System.Management.Automation.Language.ScriptBlockAst.d__68.MoveNext()
at System.Linq.Buffer1..ctor(IEnumerable1 source)
at System.Linq.Enumerable.ToArray[TSource](IEnumerable1 source) at System.Management.Automation.CompiledScriptBlockData.InitializeMetadata() at System.Management.Automation.ScriptBlock.get_Attributes() at Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.PowerShell.GetScriptCmdlet.b__16_0(FunctionInfo fi) at System.Linq.Enumerable.WhereEnumerableIterator1.MoveNext()
at System.Linq.Buffer1..ctor(IEnumerable1 source)
at System.Linq.Enumerable.ToArray[TSource](IEnumerable1 source) at Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.PowerShell.GetScriptCmdlet.ProcessRecord() RuntimeException: Unable to find type [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IGetGroupsResponse]. at System.Management.Automation.TypeOps.ResolveTypeName(ITypeName typeName, IScriptExtent errorPos) at System.Management.Automation.Language.Compiler.NewOutputTypeAttribute(AttributeAst ast) at System.Management.Automation.Language.Compiler.GetAttribute(AttributeAst attributeAst) at System.Management.Automation.Language.ScriptBlockAst.d__68.MoveNext() at System.Linq.Buffer1..ctor(IEnumerable1 source) at System.Linq.Enumerable.ToArray[TSource](IEnumerable1 source)
at System.Management.Automation.CompiledScriptBlockData.InitializeMetadata()
at System.Management.Automation.ScriptBlock.get_Attributes()
at Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.PowerShell.GetScriptCmdlet.b__16_0(FunctionInfo fi)
at System.Linq.Enumerable.WhereEnumerableIterator1.MoveNext() at System.Linq.Buffer1..ctor(IEnumerable1 source) at System.Linq.Enumerable.ToArray[TSource](IEnumerable1 source)
at Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.PowerShell.GetScriptCmdlet.ProcessRecord()
RuntimeException: Unable to find type [Microsoft.Teams.ConfigAPI.Cmdlets.Models.AccountType].
at System.Management.Automation.TypeOps.ResolveTypeName(ITypeName typeName, IScriptExtent errorPos)
at System.Management.Automation.Language.Compiler.GetAttribute(TypeConstraintAst typeConstraintAst)
at System.Management.Automation.Language.Compiler.GetRuntimeDefinedParameter(ParameterAst parameterAst, Boolean& customParameterSet, Boolean& usesCmdletBinding)
at System.Management.Automation.Language.Compiler.GetParameterMetaData(ReadOnlyCollection1 parameters, Boolean automaticPositions, Boolean& usesCmdletBinding) at System.Management.Automation.CompiledScriptBlockData.InitializeMetadata() at System.Management.Automation.ScriptBlock.get_Attributes() at Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.PowerShell.GetScriptCmdlet.b__16_0(FunctionInfo fi) at System.Linq.Enumerable.WhereEnumerableIterator1.MoveNext()
at System.Linq.Buffer1..ctor(IEnumerable1 source)
at System.Linq.Enumerable.ToArray[TSource](IEnumerable1 source) at Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.PowerShell.GetScriptCmdlet.ProcessRecord() RuntimeException: Unable to find type [Microsoft.Teams.ConfigApi.Cmdlets.FlightingUtils+OverrideFlightMode]. at System.Management.Automation.TypeOps.ResolveTypeName(ITypeName typeName, IScriptExtent errorPos) at System.Management.Automation.Language.Compiler.GetAttribute(TypeConstraintAst typeConstraintAst) at System.Management.Automation.Language.Compiler.GetRuntimeDefinedParameter(ParameterAst parameterAst, Boolean& customParameterSet, Boolean& usesCmdletBinding) at System.Management.Automation.Language.Compiler.GetParameterMetaData(ReadOnlyCollection1 parameters, Boolean automaticPositions, Boolean& usesCmdletBinding)
at System.Management.Automation.CompiledScriptBlockData.InitializeMetadata()
at System.Management.Automation.ScriptBlock.get_Attributes()
at Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.PowerShell.GetScriptCmdlet.b__16_0(FunctionInfo fi)
at System.Linq.Enumerable.WhereEnumerableIterator1.MoveNext() at System.Linq.Buffer1..ctor(IEnumerable1 source) at System.Linq.Enumerable.ToArray[TSource](IEnumerable1 source)
at Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.PowerShell.GetScriptCmdlet.ProcessRecord()
PowerShell Version
Visual Studio Code Version
Extension Version
Steps to Reproduce
connect-microsoftteams in code
Visuals
No response
Logs
No response
The text was updated successfully, but these errors were encountered: